buildpacks-python
buildpacks-python copied to clipboard
Heroku's Cloud Native Buildpack for Python applications.
If you use the buildpack task in tekton to specify heroku/builder:22 to build a python project, you'll run into problems finding the entry. But using gcr.io/buildpacks/builder: v1 and paketobuildpacks/builder: base...
Just tested out `v0.1.0` and noticed this was missing. It looks like you have some other issues to get it to parity with the legacy buildpack, so just dropping this...
We have a Django application running with `uwsgi` and using [`--static-map`](https://uwsgi-docs.readthedocs.io/en/latest/StaticFiles.html#mode-3-using-static-file-mount-points) to serve the static files. When upgrading to the CNB buildpack, this functionality broke. We're seeing this error in...
The classic Python buildpack supports installing NLTK corpora via an `nltk.txt` file: https://devcenter.heroku.com/articles/python-nltk https://github.com/heroku/heroku-buildpack-python/blob/main/bin/steps/nltk https://www.nltk.org/data.html This is a someone infrequently used feature, and it seems it could be replaced by...
Automatic Django static asset generation (running the `manage.py collectstatic` command) was added in #108. At the moment there is no way to force disable the feature (beyond removing `django.contrib.staticfiles` from...
Whilst the Python CNB already has pretty comprehensive user-facing build log output and error messages, plus lots of developer-facing code comments, we also need: - User-facing usage instructions in the...
Currently the binaries are not validated during download from S3. We should track the SHA256 in the manifest and validate using the streaming download/validation approach. [Internal tracking epic](https://gus.lightning.force.com/lightning/r/ADM_Epic__c/a3QEE000000V4vN2AS/view)
Currently the Python CNB makes a single download attempt for the Python runtime archive on S3. We should add retries/timeouts to improve reliability in case there are network/S3 issues, similar...
We should support the Poetry package manager: https://python-poetry.org/ See also: - https://github.com/heroku/heroku-buildpack-python/issues/796 - [Internal tracking epic](https://gus.lightning.force.com/lightning/r/ADM_Epic__c/a3QAH0000000JkO2AU/view)
The classic Python buildpack currently supports the package manager Pipenv: https://pipenv.pypa.io https://github.com/heroku/heroku-buildpack-python/blob/main/bin/steps/pipenv-python-version https://github.com/heroku/heroku-buildpack-python/blob/main/bin/steps/pipenv We should decide whether we want to still support it in the CNB, or whether Pipenv's declining...