mozilla-services / python-dockerflow

A Python package to implement tools and helpers for Mozilla Dockerflow
https://python-dockerflow.readthedocs.io
Mozilla Public License 2.0
38 stars 21 forks source link

Update supported versions of Python, Django, Flask and Sanic #68

Closed jwhitlock closed 2 years ago

jwhitlock commented 2 years ago

The supported and tested versions should be updated to be limited to currently supported releases.

Python

The current Python list:

https://github.com/mozilla-services/python-dockerflow/blob/5e30d692664f1831289ba52158a19fc38ed3a22f/tox.ini#L13-L17

Supported versions are at: https://www.python.org/downloads/

We should:

Django:

The current Django list:

https://github.com/mozilla-services/python-dockerflow/blob/5e30d692664f1831289ba52158a19fc38ed3a22f/tox.ini#L30-L33

Supported versions are at: https://www.djangoproject.com/download/

We should:

Flask

The current Flask list:

https://github.com/mozilla-services/python-dockerflow/blob/5e30d692664f1831289ba52158a19fc38ed3a22f/tox.ini#L34-L36

Flask doesn't appear to have a supported release policy, but a v0.12.5 release was made in 2020-02-10 to fix an issue, almost 2 years after 1.0 was released, and a long-running v0.12 branch still exists. At the same time, this repo didn't keep up with version 1.1.0. Flask developers should speak up!

Possible next steps:

Sanic

The current Sanic list:

https://github.com/mozilla-services/python-dockerflow/blob/5e30d692664f1831289ba52158a19fc38ed3a22f/tox.ini#L37-L38

Sanic versioning is calendar based, so this represents 2019 and 2020. The final release of the year (like 21.12) is the LTS release, supported for 24 months: https://sanic.dev/en/org/policies.html#versioning

Next steps:

jwhitlock commented 2 years ago

Supporting Sanic 21 was harder than expected, and I have no experience with the framework, so I moved that to a new issue #70.

jwhitlock commented 2 years ago

Fixed in PR #69, with Sanic upgrades tracked in issue #70