Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Changed the default Python version for new apps from 3.12 to 3.13. ([#1715](https://github.com/heroku/heroku-buildpack-python/pull/1715))
- Changed Python version pinning behaviour for apps that do not specify a Python version. Repeat builds are now pinned to the major Python version only (`3.X`) instead of the full Python version (`3.X.Y`), so that they always use the latest patch version. ([#1714](https://github.com/heroku/heroku-buildpack-python/pull/1714))
- Updated Poetry from 1.8.4 to 1.8.5. ([#1716](https://github.com/heroku/heroku-buildpack-python/pull/1716))

## [v269] - 2024-12-04

Expand Down
2 changes: 1 addition & 1 deletion requirements/poetry.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
poetry==1.8.4
poetry==1.8.5
3 changes: 1 addition & 2 deletions spec/hatchet/poetry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
end
end

# TODO: Make this also test the Poetry version changing, the next (first) time we update Poetry,
# by using an older buildpack version for the initial build.
context 'when the requested Python version has changed since the last build' do
let(:buildpacks) { ['https://github.com/heroku/heroku-buildpack-python#v268'] }
let(:app) { Hatchet::Runner.new('spec/fixtures/poetry_basic', buildpacks:) }
Expand All @@ -77,6 +75,7 @@
remote: -----> Using Python 3.13 specified in .python-version
remote: -----> Discarding cache since:
remote: - The Python version has changed from 3.13.0 to #{LATEST_PYTHON_3_13}
remote: - The Poetry version has changed from 1.8.4 to #{POETRY_VERSION}
remote: -----> Installing Python #{LATEST_PYTHON_3_13}
remote: -----> Installing Poetry #{POETRY_VERSION}
remote: -----> Installing dependencies using 'poetry install --sync --only main'
Expand Down