- Python 3.6.14, 3.7.11, 3.8.11 and 3.9.6 are now available (CPython) (#1219).
- The default Python version for new apps is now 3.9.6 (previously 3.9.5) (#1219).
- Remove testing & binary generation support for Heroku-16 (#1214).
- Django collectstatic is no longer skipped if
DISABLE_COLLECTSTATIC
is set to0
or the empty string (#1208). - If Django collectstatic is skipped, output the reason why (#1208).
- Output a deprecation warning when collectstatic is skipped via the
.heroku/collectstatic_disabled
file (#1208). - Remove redundant "Cedar-14 is unsupported" error (#1212).
- Python 3.8.10 and 3.9.5 are now available (CPython) (#1204).
- Always output the Python version used and reason why (#1196).
- Update pip from 20.1.1 to 20.2.4 for Python 2.7 and Python 3.5+ (#1192).
- Update wheel from 0.34.2 to 0.36.2 for Python 2.7 and Python 3.5+ (#1191).
- Support build environments where
$BUILD_DIR
is set to a symlink of/app
(#992).
- Python 3.8.9 and 3.9.4 are now available (CPython) (#1188).
- Use Python 3.9 as the default Python version for new apps (previously Python 3.6) (#1187).
- Remove Airflow
SLUGIFY_USES_TEXT_UNIDECODE
workaround (#1186). - Fix grammar in the Python 2 EOL message (#1182).
- Python 3.8.8 and 3.9.2 are now available (CPython) (#1178).
- Python 3.6.13 and 3.7.10 are now available (CPython) (#1174).
- The default Python version for new apps is now 3.6.13 (previously 3.6.12) (#1174).
- Update pipenv from
2018.5.18
to2020.11.15
(#1169). - Remove pinning of pip to
9.0.2
when using pipenv (#1169).
- Python 3.8.7 is now available (CPython) (#1125).
- Python 3.9.1 is now available (CPython) (#1127).
- Update the
BUILD_WITH_GEO_LIBRARIES
error message (#1121). - Switch NLTK feature detection away from
sp-grep
(#1119). - Switch Django collectstatic feature detection away from
sp-grep
(#1119). - Remove vendored
sp-grep
script (#1119). - Remove vendored
pip-diff
script (#1118). - Remove vendored
pip-grep
script (#1116).
- Error if the unsupported
BUILD_WITH_GEO_LIBRARIES
env var is set (#1115). - Remove deprecated GDAL/GEOS/PROJ support (#1113).
- Remove vendored
jq
binary (#1112). - Remove redundant Mercurial install step (#1111).
- Remove support for the Cedar-14 stack (#1110).
- Vendor buildpack-stdlib instead of fetching from S3 (#1100).
- Fix metric names for metrics emitted within
sub_env
(#1099).
- Add support for Heroku-20 (#968).
- Python 3.9.0 is now available (CPython) (#1090).
- Migrate from the
lang-python
S3 bucket toheroku-buildpack-python
(#1089). - Remove
vendor/shunit2
(#1086). - Replace
BUILDPACK_VENDOR_URL
andUSE_STAGING_BINARIES
withBUILDPACK_S3_BASE_URL
(#1085).
- PyPy 2.7 and 3.6, version 7.3.2 are now available (Note: PyPy support is in beta) (#1081).
- Python 3.8.6 is now available (CPython) (#1072).
- Remove duplicate pipenv metric event (#1070).
- Emit metrics for how the Python version was chosen for an app (#1069).
- Emit Python version metric events for all builds, not just clean installs (#1066).
- Python 3.5.10 is now available (CPython) (#1062).
- Python 3.6.12 and 3.7.9 are now available (CPython) (#1054).
- The default Python version for new apps is now 3.6.12 (previously 3.6.11) (#1054).
- Rebuild the Python 3.4.10 archives with the correct version of Python (#1048).
- Fix the security update version check message for apps using PyPy (#1040).
- Remove
vendor/test-utils
(#1043).
- Update pip from 20.0.2 to 20.1.1 for Python 2.7 and Python 3.5+ (#1030).
- Update setuptools from 39.0.1 to: (#1024)
- 44.1.1 for Python 2.7
- 43.0.0 for Python 3.4
- 47.1.1 for Python 3.5+
- Switch the
heroku-buildpack-python
repository default branch frommaster
tomain
(#1029).
- For repeat builds, also manage the installed versions of setuptools/wheel, rather than just that of pip (#1007).
- Install an explicit version of wheel rather than the latest release at the time (#1007).
- Output the installed version of pip, setuptools and wheel in the build log (#1007).
- Errors installing pip/setuptools/wheel are now displayed in the build output and fail the build early (#1007).
- Install pip using itself rather than
get-pip.py
(#1007). - Disable pip's version check + cache when installing pip/setuptools/wheel (#1007).
- Install setuptools from PyPI rather than a vendored copy (#1007).
- Reduce the number of environment variables exposed to
bin/{pre,post}_compile
and other subprocesses (#1011).
- Python 3.8.5 is now available (CPython).
- Python 3.8.4 is now available (CPython).
- Python 3.6.11 and 3.7.8 are now available (CPython).
- Python 2.7.18, 3.5.9, 3.7.7 and 3.8.3 are now available (CPython).
- PyPy 2.7 and 3.6, version 7.3.1 are now available (Note: PyPy support is in beta).
- Docs: Fix explanation of runtime.txt generation when using pipenv.
- Bugfix: Correctly detect Python version when using a
python_version
of3.8
inPipfile.lock
.
- Add a Hatchet test for python 3.8.2
- Set Code Owners to @heroku/langauges
- Bugfix: Caching on subsequent redeploys
- Update tests to support latest version of Python
- Doc: Update Readme with version numbers
- update Code Owners to include the Heroku Buildpack Maintainers team
- Deprecation warning:
BUILD_WITH_GEO_LIBRARIES
is now deprecated. See warning for details. - Clean up build log output
- Update Python versions in README to match docs
- Django version detection fixed, link updated
- Add failcase for cache busting
- Bugfix: Clearing pip dependencies
- Correct ftp to https in vendored file
- Warn for Django 1.11 approaching EOL, provide link to roadmap
- Python 3.8.2 now available.
- Update requirements.txt builds to use Pip 20.0.2
- Download get-pip.py to tmpdir instead of root dir
- New pythons released: Python 3.8.1, 3.7.6, 3.6.10 (CPython) Beta Release: Pypy 2.7 and 3.6, version 7.2.0
- Bug fix: fragile sqlite3 install
- Bug fix: Sqlite3 version bump
- Bugfix: Pipenv no longer installs twice in CI
- Python 2.7.17 now available on Heroku 18 and 16.
- Python 3.7.5 and 3.8.0 now available on Heroku 18 and 16.
- Add support for Python 3.8 branch
- Sqlite3 Update:
- Test Improvements
- Add support for staging binary testing
- Typo fixes
-
Python 3.6.9 and 3.7.4 now available.
-
Move get-pip utility to S3
-
Build utility and documentation updates
-
Bump Hatchet tests to point at new default python version.
add docs and make target for heroku-18 bob builds
Fix python 3.5.7 formula actually building 3.7.2
Hotfix for broken heroku-16 deploys
Python 3.7.3 now available.
Python 3.5.7 and 3.4.10 now available on all Heroku stacks.
Python 2.7.16 now available on all Heroku stacks.
Hotfix for broken Cedar 14 deploys
No user facing changes, improving internal metrics
Python 3.7.2 and 3.6.8 now available on all Heroku stacks.
Python 3.7.1, 3.6.7, 3.5.6 and 3.4.9 now available on all Heroku stacks.
Testing and tooling expanded to better support new runtimes
Switch to cautious upgrade for Pipenv install to ensure the pinned pip version is used with Pipenv
Add support for detecting SLUGIFY_USES_TEXT_UNIDECODE
, which is required to
install Apache Airflow version 1.10 or higher.
Improvements to Python install messaging
No user-facing changes, documenting for version clarity
Use stack image SQLite3 instead of vendoring
Prevent 3.7.0 from appearing as unsupported in buildpack messaging.
Upgrade to 3.6.6 and support 3.7.0 on all runtimes.
Upgrade Pipenv to v2018.5.18.
Default to 3.6.5, bugfixes.
Fixes for Pip 10 release.
Improve pip installation, with the release of v9.0.2.
Fix bug with pip.
Better upgrade strategy for pip.
Don't upgrade pip (from v128).
Upgrade pip, pin to Pipenv v11.8.2.
Pin to Pipenv v11.7.1.
Bugfixes.
Bugfixes.
Update buildpack to automatically install [dev-packages]
during Heroku CI Pipenv builds.
- Skip installs if Pipfile.lock hasn't changed, and uninstall stale dependencies with Pipenv.
- Set
PYTHONPATH
during collectstatic runs. - No longer warn if there is no
Procfile
. - Update Pipenv's "3.6" runtime specifier to point to "3.6.4".
Update gunicorn init.d
script to allow overrides.
Update default Python to v3.6.4.
Update default Python to v3.6.3.
Use $ pipenv --deploy
.
Improvements to Pipenv support, warning on unsupported Python versions.
- We now warn when a user is not using latest 2.x or 3.x Python.
- Heroku now supports
[requires]
python_full_version
in addition topython_version
.
Improvements to Pipenv support.
Bug fix.
Vendoring improvements.
- Geos libraries should work on Heroku-16 now.
- The libffi/libmemcached vendoring step is now skipped on Heroku-16 (since they are installed in the base image).
Revert a pull request.
- No longer using
sub_env
forpip install
step.
- Bugfixes.
Blacklisting PYTHONHOME
and PYTHONPATH
for older apps. Upgrades to nltk support.
Updates to Pipenv support.
Bugfix.
- Fixed grep output bug.
Linting, bugfixes.
Update default Python to 3.6.2.
Update Default Python to 3.6.1, bugfixes.
- Fixed automatic pip uninstall of dependencies removed from requirements.txt.
Fix output for collectstatic step.
Bugfix for C dependency installation.
Don't install packages that could mess up packaging.
- The Python buildpack will automatically remove
six
,pyparsing
,appdirs
,setuptools
, anddistribute
from arequirements.txt
file now, as these packages are provided by the Python buildpack.
Improvements to output messaging.
General improvements.
- Fix for Heroku CI.
- Use
pkg_resources
to check if a distribution is installed instead of parsingrequirements.txt
. (#395)
Bug fixes and improvements.
- Fix for Pipenv.
- Fix for Heroku CI.
- Improve handling of
WEB_CONCURRENCY
when using multiple buildpacks. - Adjust environment variables set during the build to more closely match those in the dyno environment (
DYNO
is now available,STACK
is not). - Restore the build cache prior to running bin/pre_compile.
Buildpack code cleanup.
- Improved messaging around NLTK.
Updated setuptools installation method.
- Improved pipenv support.
Preliminary pipenv support.
Cleanup.
Official NLTK support and other improvements.
- Support for
nltk.txt
file for declaring corpora to be downloaded. - Leading zeros for auto-set
WEB_CONCURRENCY
.
Improved egg-link functionality.
Bugfix.
Improved output support.
Improved support for PyPy.
Improved support for PyPy.
Improved cache functionality and fix egg-links regression.
Bugfix, rolled back to v88.
Bugfix.
Improved cache functionality and fix egg-links regression.
Fixed bug with editable pip installations.
Updated default Python 2.7.13.
- Python 2.7.13 uses UCS-4 build, more compatible with linux wheels.
- Updated setuptools to v32.1.0.
Refactor and multi-buildpack compatibility.
Packaging fix.
Updated pip and setuptools.
- Updated pip to v9.0.1.
- Updated setuptools to v28.8.0.
Support for Heroku CI.
- Cffi support for argon2
Update to library detection mechanisms (pip-pop).
- Updated setuptools to v25.5.0
Updated default Python to 2.7.11.
- Updated pip to v8.1.2.
- Updated setuptools to v23.1.0.
Improved pip-pop compatibility with latest pip releases.
Compatibility improvements with heroku-apt-buildpack.
Added automatic configuration of Gunicorn's FORWARDED_ALLOW_IPS
setting.
Improved detection of libffi dependency when using bcrypt via Django[bcrypt]
.
Improved GDAL support.
- GDAL dependency detection now checks for pygdal and is case-insensitive.
- The vendored GDAL library has been updated to 1.11.1.
- GDAL bootstrapping now also installs the GEOS and Proj.4 libraries.
Updated pip to 8.1.1 and setuptools to 20.3.
Improvements to warnings and minor bugfix.
Improved Django collectstatic support.
$ python manage.py collectstatic
will only be run ifDjango
is present inrequirements.txt
.- If collectstatic fails, the build fails. Full traceback is provided.
$DISABLE_COLLECTSTATIC
: skip collectstatic step completely (not new).$DEBUG_COLLECTSTATIC
: echo environment variables upon collectstatic failure.- Updated build output style.
- New warning for outdated Python (via pip
InsecurePlatform
warning).
Updated pip and Setuptools.
Added warnings for lack of Procfile.
Updated default Python to 2.7.11.
Added friendly warnings for common build failures.
Improved compatibility with multi and node.js buildpacks.
Revert to v66.
Fixed .heroku/venv
error with modern apps.
Further improved cache compatibility with multi and node.js buildpacks.
Improved compatibility with multi and node.js buildpacks.
Reverted v64.
Improved compatibility with multi and node.js buildpacks.
Updated Pip and Setuptools.
- Setuptools updated to v18.3.2
- Pip updated to v7.1.2
Updated Pip and Setuptools.
- Setuptools updated to v18.1
- Pip updated to v7.1.0
Updated Pip and Setuptools.
- Setuptools updated to v18.0.1
- Pip updated to v7.0.3
Default Python is now latest 2.7.10. Updated Pip and Distribute.
- Default Python version is v2.7.10
- Setuptools updated to v16.0
- Pip updated to v7.0.1