GeospatialPython / pyshp

This library reads and writes ESRI Shapefiles in pure Python.
MIT License
1.09k stars 259 forks source link

Drop python 2 and make python 3.8 be the minimum. #275

Closed schwehr closed 2 weeks ago

schwehr commented 3 weeks ago

Python 3.7 is end-of-life:

https://devguide.python.org/versions/

schwehr commented 3 weeks ago

Added a bunch more commits and enabled the build.yml workflow on push so I can see the tests run on my branch. All tests work in my branch.

https://github.com/schwehr/pyshp/commits/drop-py2/

schwehr commented 3 weeks ago

Removing the patch number of the python versions allowing the workflow to pick newer patch levels of particular python versions, e.g., it was 3.8.18, but now 3.8.19 is being used on my latest commit in my drop-py2 branch:

============================= test session starts ==============================
platform linux -- Python 3.8.19, pytest-8.3.2, pluggy-1.[5](https://github.com/schwehr/pyshp/actions/runs/10539369181/job/29202871229#step:6:6).0
schwehr commented 2 weeks ago

I'm going to close this PR and split things up differently based on some offline discussions.