nickjj / docker-flask-example

A production ready example Flask app that's using Docker and Docker Compose.
MIT License
618 stars 102 forks source link

Flask / Werkzeug 3.0 and Python 3.12 updates #17

Closed nickjj closed 10 months ago

nickjj commented 11 months ago

These are updates I'd like to perform but there's currently a few blockers from 3rd party dependencies:

If anyone is using other popular 3rd party libraries that aren't working with either Flask 3.0 or Python 3.12 please post them here.

nickjj commented 11 months ago

Flask-Login shipped v0.6.3 which has Flask 3.0 compatibility. I adjusted this original issue to turn each bullet into a todo item.

nickjj commented 10 months ago

Flask-Debugtoolbar shipped v0.14.1 which has Flask 3.0 compatibility.

This gives us the green light to use Flask 3.0 which has now been pushed to the main branch.

nickjj commented 10 months ago

While that Kombu issue didn't get fixed, you can adjust how Celery is initialized to make it work with Python 3.12. That's been pushed here: https://github.com/nickjj/docker-flask-example/commit/21189acea4983015a5b79bc8fa57fda14233d3c6

That completes all of the tasks here, we're back to being fully up to date!