mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ceb774c63 | |||
| f43caaadc3 | |||
| bb31a012fd | |||
| 9ab6a56cba | |||
| ab89e49235 | |||
| 5293169aa8 | |||
| 3698cb5715 |
+6
-1
@@ -2,9 +2,14 @@
|
|||||||
|
|
||||||
# Master
|
# Master
|
||||||
|
|
||||||
- Python 2.7.17 now available on Heroku 18 and 16.
|
- Bugfix: Pipenv no longer installs twice in CI
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# 159 (2019-10-22)
|
||||||
|
|
||||||
|
- Python 2.7.17 now available on Heroku 18 and 16.
|
||||||
|
|
||||||
# 158 (2019-10-21)
|
# 158 (2019-10-21)
|
||||||
|
|
||||||
- Python 3.7.5 and 3.8.0 now available on Heroku 18 and 16.
|
- Python 3.7.5 and 3.8.0 now available on Heroku 18 and 16.
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ Supported runtime options include:
|
|||||||
|
|
||||||
- `python-3.7.4`
|
- `python-3.7.4`
|
||||||
- `python-3.6.9`
|
- `python-3.6.9`
|
||||||
- `python-2.7.16`
|
- `python-2.7.17`
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|||||||
+7
-7
@@ -60,10 +60,16 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
|
|||||||
# avoid this eager behavior.
|
# avoid this eager behavior.
|
||||||
/app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
|
/app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
|
||||||
|
|
||||||
|
# Install the test dependencies, for CI.
|
||||||
|
if [ "$INSTALL_TEST" ]; then
|
||||||
|
puts-step "Installing test dependencies…"
|
||||||
|
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
|
||||||
|
|
||||||
# Install the dependencies.
|
# Install the dependencies.
|
||||||
if [[ ! -f Pipfile.lock ]]; then
|
elif [[ ! -f Pipfile.lock ]]; then
|
||||||
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…"
|
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…"
|
||||||
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
|
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
|
||||||
|
|
||||||
else
|
else
|
||||||
pipenv-to-pip Pipfile.lock > requirements.txt
|
pipenv-to-pip Pipfile.lock > requirements.txt
|
||||||
"$BIN_DIR/steps/pip-uninstall"
|
"$BIN_DIR/steps/pip-uninstall"
|
||||||
@@ -73,12 +79,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
|
|||||||
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…"
|
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…"
|
||||||
/app/.heroku/python/bin/pipenv install --system --deploy 2>&1 | indent
|
/app/.heroku/python/bin/pipenv install --system --deploy 2>&1 | indent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the test dependencies, for CI.
|
|
||||||
if [ "$INSTALL_TEST" ]; then
|
|
||||||
puts-step "Installing test dependencies…"
|
|
||||||
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
export SKIP_PIP_INSTALL=1
|
export SKIP_PIP_INSTALL=1
|
||||||
|
|||||||
Reference in New Issue
Block a user