From 19f5e20b85ab7397f72d26afa9f086f22532c53c Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Wed, 4 Mar 2026 09:16:24 +0000 Subject: [PATCH] Update test fixture after change in S3 bucket permissions S3 directory listing permissions were removed from the buildpack's S3 bucket, which means non-existent files now return 403 rather than 404. The implementation for error handling works with both: https://github.com/heroku/heroku-buildpack-python/blob/855d7e66d99357f814f74a1e0920f6c0f377f64f/lib/python.sh#L74-L75 The test assertion has been loosened to make it less sensitive to the exact curl output. GUS-W-21443369. --- spec/hatchet/python_version_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/hatchet/python_version_spec.rb b/spec/hatchet/python_version_spec.rb index 2b70356ab..0f4a13350 100644 --- a/spec/hatchet/python_version_spec.rb +++ b/spec/hatchet/python_version_spec.rb @@ -527,7 +527,7 @@ remote: -----> Python app detected remote: -----> Using Python 3.12.999 specified in .python-version remote: -----> Installing Python 3.12.999 - remote: curl: \\(22\\) The requested URL returned error: 404.* + remote: curl: \\(22\\) The requested URL returned error: .+ remote: zstd: /\\*stdin\\*\\\\: unexpected end of file remote: tar: Child returned status 1 remote: tar: Error is not recoverable: exiting now