Skip to content

Commit b0d0cb5

Browse files

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
- Added support for Python 3.12.7. ([#1650](https://github.com/heroku/heroku-buildpack-python/pull/1650))
6+
- Changed the default Python version for new apps from 3.12.6 to 3.12.7. ([#1650](https://github.com/heroku/heroku-buildpack-python/pull/1650))
57
- Fixed Django collectstatic debug output being shown if `DEBUG_COLLECTSTATIC` was set to `0` or the empty string. ([#1646](https://github.com/heroku/heroku-buildpack-python/pull/1646))
68
- Stopped adding a trailing `:` to `C_INCLUDE_PATH`, `CPLUS_INCLUDE_PATH`, `LIBRARY_PATH`, `LD_LIBRARY_PATH` and `PKG_CONFIG_PATH`. ([#1645](https://github.com/heroku/heroku-buildpack-python/pull/1645))
79
- Removed remnants of the unused `.heroku/vendor/` directory. ([#1644](https://github.com/heroku/heroku-buildpack-python/pull/1644))

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A `requirements.txt` must be present at the root of your application's repositor
4242

4343
To specify your python version, you also need a `runtime.txt` file - unless you are using the default Python runtime version.
4444

45-
Current default Python Runtime: Python 3.12.6
45+
Current default Python Runtime: Python 3.12.7
4646

4747
Alternatively, you can provide a `setup.py` file, or a `Pipfile`.
4848
Using `pipenv` will generate `runtime.txt` at build time if one of the field `python_version` or `python_full_version` is specified in the `requires` section of your `Pipfile`.
@@ -60,7 +60,7 @@ Specify a Python Runtime
6060

6161
Supported runtime options include:
6262

63-
- `python-3.12.6` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
63+
- `python-3.12.7` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
6464
- `python-3.11.10` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
6565
- `python-3.10.15` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
6666
- `python-3.9.20` on Heroku-20 and Heroku-22 only

bin/default_pythons

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# the env vars to subprocesses.
66
# shellcheck disable=2034
77

8-
LATEST_312="python-3.12.6"
8+
LATEST_312="python-3.12.7"
99
LATEST_311="python-3.11.10"
1010
LATEST_310="python-3.10.15"
1111
LATEST_39="python-3.9.20"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.12.6
1+
python-3.12.7

spec/fixtures/python_3.12/runtime.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.12.6
1+
python-3.12.7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.12.6
1+
python-3.12.7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
python-3.12.6
2+
python-3.12.7
33

spec/hatchet/python_version_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
include_examples 'builds with the requested Python version', LATEST_PYTHON_3_11
207207
end
208208

209-
context 'when runtime.txt contains python-3.12.6' do
209+
context 'when runtime.txt contains python-3.12.7' do
210210
let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.12') }
211211

212212
include_examples 'builds with the requested Python version', LATEST_PYTHON_3_12

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
LATEST_PYTHON_3_9 = '3.9.20'
1414
LATEST_PYTHON_3_10 = '3.10.15'
1515
LATEST_PYTHON_3_11 = '3.11.10'
16-
LATEST_PYTHON_3_12 = '3.12.6'
16+
LATEST_PYTHON_3_12 = '3.12.7'
1717
DEFAULT_PYTHON_VERSION = LATEST_PYTHON_3_12
1818

1919
# The requirement versions are effectively buildpack constants, however, we want

0 commit comments

Comments
 (0)