glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
591 stars 65 forks source link

add requires-python metadata #158

Closed altendky closed 2 months ago

altendky commented 2 months ago

Document the lack of support for Python 2 (and Python <3.8 in general) in a way that tools such as pip are aware.

https://packaging.python.org/en/latest/guides/dropping-older-python-versions/

Noticed this when the last remaining Python 2.7 test environment for pytest-twisted started failing this morning after the release of py3-only Automat 24.8.0. https://github.com/pytest-dev/pytest-twisted/actions/runs/10438241303/job/28912571637

A "real" fix for this will require an updated release and a yank of 24.8.0. Let me know if this is happening or not. If not, I'll add a constraint to the pytest-twisted CI.

glyph commented 2 months ago

I will do the release and yank later today. Thanks for the fix.

altendky commented 2 months ago

Thanks!

glyph commented 2 months ago

New release published, old release yanked.