From 1f881c662554855b9dcbd04bc5f59245f51c56f4 Mon Sep 17 00:00:00 2001 From: Arsalan Sufi Date: Mon, 29 Jan 2024 14:16:36 -0500 Subject: [PATCH 1/2] Fix Heroku builds by locking python-poetry-buildpack version --- app.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 68c19e82c..050bda1dc 100644 --- a/app.json +++ b/app.json @@ -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" } ], From aa76581c0940f65769dcb9f11081ac2844e6cd52 Mon Sep 17 00:00:00 2001 From: Arsalan Sufi Date: Tue, 30 Jan 2024 10:54:27 -0500 Subject: [PATCH 2/2] Keep local dev POETRY_VERSION in sync with Heroku config var --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d3d94e5ef..611fadab1 100644 --- a/Makefile +++ b/Makefile @@ -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