Zac-HD / shed

`shed` canonicalises Python code. Shed your legacy, stop bikeshedding, and move on. Black++
https://pypi.org/project/shed/
GNU Affero General Public License v3.0
343 stars 23 forks source link

Update build to run on Python 3.11 #83

Closed DRMacIver closed 1 year ago

DRMacIver commented 1 year ago

Fixes #66

A few minor changes needed to be made, mostly from deps update, but nothing major (although let's see if CI says otherwise and I've missed something).

DRMacIver commented 1 year ago

Ah, one problem that's turned up is that some of the dependencies (just flake8 I think?) have stopped supporting 3.7. So this comes with a question of whether 3.7 support is still worth maintaining, and if so whether to do conditional dependencies on different versions of flake8 by Python version.

Zac-HD commented 1 year ago

Per https://devguide.python.org/versions/ Python 3.7 will reach end-of-life in June, and at that time we'll bump the minimum target version to Python 3.8 (removing the --py38-plus argument).

However I'm OK with requiring 3.8 to run shed as of this PR; 3.11 support is pretty important and I don't think it's worth the compat cost for a few months.