Skip to content

Commit eb124fa

Browse files
authored
Merge pull request #869 from mendix/DEPS-436_use_pep517_option
DEPS-436 transition to the standardized build interface by using the use-pep517 option
2 parents fd6cd93 + 6b9f20f commit eb124fa

39 files changed

Lines changed: 9 additions & 2147 deletions

bin/bootstrap-python

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ then
5151
if [[ -n "${PIP_WHL_PATH}" ]]
5252
then
5353
# Bootstrap wheels are bundled in the buildpack
54-
python3 ${PIP_WHL_PATH}/pip install $PIP_VERBOSITY_FLAGS --user --no-warn-script-location --no-index --find-links=$PIP_WHEELDIR pip setuptools wheel
54+
python3 ${PIP_WHL_PATH}/pip install $PIP_VERBOSITY_FLAGS --user --no-warn-script-location --no-index --no-build-isolation --find-links=$PIP_WHEELDIR --use-pep517 pip setuptools wheel
5555
else
5656
# Bootstrap wheels are not bundled in the buildpack
5757
curl -sS https://bootstrap.pypa.io/pip/get-pip.py -o get-pip.py
@@ -63,7 +63,7 @@ else
6363
if [ "$CF_STACK" == "cflinuxfs4" ]; then
6464
PIP_CMD="python3 $(dirname "$(command -v python3)")/pip3"
6565
fi
66-
$PIP_CMD install --upgrade --user --no-warn-script-location pip setuptools wheel
66+
$PIP_CMD install --upgrade --user --no-warn-script-location --use-pep517 pip setuptools wheel
6767
fi
6868

6969
# Only download Python dependencies if they are not bundled
@@ -72,9 +72,9 @@ then
7272
echo " ---> Using bundled Python dependencies"
7373
else
7474
echo " ---> Downloading Python dependencies..."
75-
$PIP_CMD download $PIP_VERBOSITY_FLAGS -r $REQUIREMENTS_PATH --prefer-binary -d $PIP_WHEELDIR
75+
$PIP_CMD download $PIP_VERBOSITY_FLAGS --use-pep517 -r $REQUIREMENTS_PATH --prefer-binary -d $PIP_WHEELDIR
7676
fi
7777

7878
echo " ---> Installing Python dependencies to ${SITE_PACKAGES_PATH}..."
79-
$PIP_CMD install $PIP_VERBOSITY_FLAGS --target $SITE_PACKAGES_PATH --prefer-binary --no-warn-script-location --no-index --find-links=$PIP_WHEELDIR -r $REQUIREMENTS_PATH
79+
$PIP_CMD install $PIP_VERBOSITY_FLAGS --target $SITE_PACKAGES_PATH --prefer-binary --no-warn-script-location --no-index --no-build-isolation --find-links=$PIP_WHEELDIR --use-pep517 -r $REQUIREMENTS_PATH
8080
echo " ---> Finished installing Python dependencies"

buildpack/databroker/__init__.py

Lines changed: 0 additions & 203 deletions
This file was deleted.

buildpack/databroker/config_generator/scripts/__init__.py

Whitespace-only changes.

buildpack/databroker/config_generator/scripts/config_env_whitelist.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

buildpack/databroker/config_generator/scripts/configloader/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)