Comply with our Python maintenance policy
unflxw opened this issue · 2 comments
As per https://github.com/appsignal/appsignal-docs/pull/1294, we should be supporting Python 3.7 and above. Currently we're only really running tests on Python 3.9 to 3.11. I recall the tests didn't run in earlier versions, but I don't think I took a close look at why: https://github.com/appsignal/appsignal-python/blob/main/.semaphore/semaphore.yml
We may have to not use some cool typing features to support Python 3.7. TypedDict
is a Python 3.8 feature. Unpack
is a Python 3.11 feature. (Which makes me wonder how the tests are passing on 3.9 🤔) I can live with that.
The packages we publish already claim to work with those versions.
To do
- Figure out what changes need to be done to support Python 3.8
- Add those versions to the Semaphore test matrix
✔️ All good!
We can choose to not support Python 3.7. It's being dropped next month anyway.
We can also choose to only support the most recent ones since it's a new release on our part.