edgi-govdata-archiving / wayback

A Python API to the Internet Archive Wayback Machine
https://wayback.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
67 stars 12 forks source link

Upgrade Flake8 to v6.1.0 #124

Closed Mr0grog closed 1 year ago

Mr0grog commented 1 year ago

Earlier versions of flake8 do not support Python 3.12. Part of #123.

Mr0grog commented 1 year ago

Well, this version of flake8 does not support Python < 3.8. Those versions are all end-of-life at this point (https://devguide.python.org/versions/) so this is probably OK. Will need to update the checks and classifiers in setup.py here, too: https://github.com/edgi-govdata-archiving/wayback/blob/1ea12233cc1586c0af4fe8c311e286a0bb0a2ec1/setup.py#L7-L23

Mr0grog commented 1 year ago

Also worth noting: Google Colab has since updated to Python 3.10, so this shouldn't break any Colab stuff.

Mr0grog commented 1 year ago

Trying an alternative by splitting out test dependencies from other dev dependencies, kind of like how we handle docs. Maybe more complex than is healthy, but lets us continue being Python 3.6 compatible (sort of).