From 244651dcba4fa73c70488707e023d5493a807497 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 24 May 2021 00:38:27 -0400 Subject: [PATCH 1/2] fix: actually use the null buildpack for the sample python app --- tests/apps/python/requirements.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tests/apps/python/requirements.txt diff --git a/tests/apps/python/requirements.txt b/tests/apps/python/requirements.txt deleted file mode 100644 index 7e1060246..000000000 --- a/tests/apps/python/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -flask From 634c8b48d16cdd577d4e666b16a209f22b863488 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 31 May 2021 16:02:09 -0400 Subject: [PATCH 2/2] fix: ensure the python app has a requirements.txt file Without this, detection will fail on the heroku/python buildpack. --- tests/unit/buildpacks.bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/buildpacks.bats b/tests/unit/buildpacks.bats index cb34cdb25..898032608 100644 --- a/tests/unit/buildpacks.bats +++ b/tests/unit/buildpacks.bats @@ -314,4 +314,7 @@ EOF cat <"$APP_REPO_DIR/Aptfile" hello EOF + + echo "injecting requirements.txt -> $APP_REPO_DIR/requirements.txt" + touch "$APP_REPO_DIR/requirements.txt" }