Toblerity / Fiona

Fiona reads and writes geographic data files
https://fiona.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.14k stars 202 forks source link

Drop support for Python 3.7 and 3.8 #1333

Closed sgillies closed 6 months ago

sgillies commented 6 months ago

Numpy 1/2 compatibility will require Python 3.9. We will make that the minimum version for Fiona 1.10 as it will be for Rasterio 1.4.

mwtoews commented 6 months ago

Python 3.7 reached EOL in 2023 (PEP 537), so yes, it's time to go. Python 3.8 will reach EOL in Oct 2024 (PEP 569), so is on the way out. (And related to that, I hope we may expect Fiona 1.10 sometime this year?)

sgillies commented 6 months ago

@mwtoews I'm going to tag and build 1.10a1 this weekend.

jorisvandenbossche commented 6 months ago

Numpy 1/2 compatibility will require Python 3.9.

I am not fully sure that is the case. At least in shapely, we still support Python 3.8 at the moment, and for example build wheels with numpy 2.0 that are compatible with both numpy 1.x and 2.0 and that still work for Python 3.8

Now, that said, if the release is targetted for later this year, I think it's also perfectly fine to drop Python 3.8 support, but regardless of numpy requiring it.

jorisvandenbossche commented 6 months ago

I added some comments on https://github.com/Toblerity/Fiona/pull/1331 related to this

sgillies commented 6 months ago

@jorisvandenbossche thank you! I've added some tickets to follow up on.