Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Heroku-24 and Python 3.12 #489

Open
simonw opened this issue Sep 20, 2024 · 3 comments
Open

Upgrade to Heroku-24 and Python 3.12 #489

simonw opened this issue Sep 20, 2024 · 3 comments

Comments

@simonw
Copy link
Owner

simonw commented Sep 20, 2024

Spotted in the deploy logs:

This app is using the Heroku-22 stack, however a newer stack is available.
To upgrade to Heroku-24, see:
https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack

https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack

simonw added a commit that referenced this issue Sep 20, 2024
Just ran heroku stack:set heroku-24 -a simonwillisonblog

Refs #489
@simonw
Copy link
Owner Author

simonw commented Sep 20, 2024

From those upgrade logs:

-----> Building on the Heroku-24 stack
-----> Using buildpack: https://github.com/heroku/heroku-buildpack-python.git
-----> Python app detected
-----> Using Python version specified in runtime.txt
 !     
 !     A Python security update is available! Upgrade as soon as possible to: python-3.11.10
 !     See: https://devcenter.heroku.com/articles/python-runtimes
 !     
-----> Stack has changed from heroku-22 to heroku-24, clearing cache

@simonw
Copy link
Owner Author

simonw commented Sep 20, 2024

https://devcenter.heroku.com/articles/python-support#supported-runtimes

I'm going to upgrade to:

python-3.12.6

simonw added a commit that referenced this issue Sep 20, 2024
@simonw simonw changed the title Upgrade to Heroku-24 Upgrade to Heroku-24 and Python 3.12 Sep 20, 2024
@simonw
Copy link
Owner Author

simonw commented Sep 20, 2024

Tests failed:

ModuleNotFoundError: No module named 'pkg_resources'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant