Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Heroku builds by locking python-poetry-buildpack version #1871

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ deps:
# Install node: https://github.com/nodesource/distributions/blob/master/README.md#deb
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install poetry: https://python-poetry.org/docs/master/#osx--linux--bashonwindows-install-instructions
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.1.13 python3.8 -
# Install poetry: https://python-poetry.org/docs/master/#osx--linux--bashonwindows-install-instructions
# Keep the local dev POETRY_VERSION in sync with the Heroku config var
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.1.15 python3.8 -
sudo npm install -g yarn
sudo apt install -y postgresql
sudo systemctl start postgresql
Expand Down
4 changes: 3 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"addons": ["heroku-postgresql:hobby-free"],
"buildpacks": [
{ "url": "heroku/nodejs" },
{ "url": "https://github.com/moneymeets/python-poetry-buildpack.git" },
{
"url": "https://github.com/moneymeets/python-poetry-buildpack.git#0bbaf48423f0caac527e185b1517abac1610dc46"
},
{ "url": "heroku/python" },
{ "url": "heroku-community/cli" }
],
Expand Down