-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn that the buildpack is deprecated + no longer required
This buildpack is no longer required now that the Heroku Python buildpack supports Poetry natively: - https://devcenter.heroku.com/changelog-items/3050 - heroku/heroku-buildpack-python#1682 As such, a deprecation warning has been added to both the build log and the README. The warning borrows from the implementation here (which uses colour, and also makes sure to ANSI wrap each line individually to prevent issues with streaming logs from `git push` etc): https://github.com/heroku/heroku-buildpack-python/blob/ca99c39f9e3627fff727788206f7fcc4ff064b7f/lib/output.sh#L50-L66 Closes #75.
- Loading branch information
Showing
16 changed files
with
437 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
||
-----> ^3.8 is not valid, please specify an exact Python version (e.g. 3.8.1 or ==3.8.1) in your pyproject.toml (and thus poetry.lock) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
[1;33m ! Warning: This buildpack is no longer required![0m | ||
[1;33m ! [0m | ||
[1;33m ! The Heroku Python buildpack now supports Poetry itself,[0m | ||
[1;33m ! and so an additional Poetry buildpack is no longer[0m | ||
[1;33m ! required to deploy an app that uses Poetry to Heroku.[0m | ||
[1;33m ! [0m | ||
[1;33m ! We recommend migrating away from this buildpack, since:[0m | ||
[1;33m ! - It is deprecated and no longer being maintained.[0m | ||
[1;33m ! - The native Poetry support installs dependencies using[0m | ||
[1;33m ! Poetry directly, rather than by exporting them to a[0m | ||
[1;33m ! requirements.txt file for use with pip. It also caches[0m | ||
[1;33m ! the Poetry install for faster rebuilds.[0m | ||
[1;33m ! [0m | ||
[1;33m ! To migrate:[0m | ||
[1;33m ! 1. Run 'heroku buildpacks' to find the exact URL/alias[0m | ||
[1;33m ! configured on your app for the Poetry buildpack.[0m | ||
[1;33m ! 2. Remove the Poetry buildpack using:[0m | ||
[1;33m ! 'heroku buildpacks:remove <BUILDPACK_URL>'[0m | ||
[1;33m ! For example:[0m | ||
[1;33m ! 'heroku buildpacks:remove https://github.com/moneymeets/python-poetry-buildpack.git'[0m | ||
[1;33m ! 3. Create a '.python-version' file in the root of your[0m | ||
[1;33m ! repository containing a Python version that matches[0m | ||
[1;33m ! the version listed in your 'poetry.lock' under[0m | ||
[1;33m ! 'metadata.python-versions'. For syntax, see:[0m | ||
[1;33m ! https://devcenter.heroku.com/articles/python-runtimes[0m | ||
[1;33m ! 4. Commit all changes and deploy your app as normal.[0m | ||
[1;33m ! [0m | ||
[1;33m ! For more information, see:[0m | ||
[1;33m ! https://github.com/moneymeets/python-poetry-buildpack/issues/75[0m | ||
[1;33m ! https://github.com/heroku/heroku-buildpack-python/pull/1682[0m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../bin/compile: line 13: $1: unbound variable | ||
../bin/compile: line 5: $1: unbound variable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../bin/compile: line 14: $3: unbound variable | ||
../bin/compile: line 6: $3: unbound variable |
Oops, something went wrong.