Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Oct 10, 2025

Python 3.14 has been released on 7 Oct 2025, changelog is at https://docs.python.org/3.14/whatsnew/3.14.html

Previous PR for Python 3.13 at #3490.

  • Update the branch protection rules after merging this PR.

@seisman seisman marked this pull request as draft October 10, 2025 07:42
@seisman seisman added the maintenance Boring but important stuff for the core devs label Oct 10, 2025
@seisman seisman added this to the 0.18.0 milestone Oct 10, 2025
@weiji14
Copy link
Member

weiji14 commented Oct 12, 2025

If I understand correctly, most packages like pyogrio (used by geopandas) and rasterio (used by rioxarray) already have Python 3.14 packages on conda-forge, but there is a conflict on some Python 3.14 packages being built on libgdal-core=3.11 only, while rasterio is still stuck on libgdal-core=3.10 (xref conda-forge/rasterio-feedstock#332). So might still need to wait for rasterio/rasterio#3406

@seisman seisman marked this pull request as ready for review December 5, 2025 11:13
@seisman
Copy link
Member Author

seisman commented Dec 5, 2025

All workflows now pass with Python 3.14, except the "Static Type Checks" workflow, which fails because rasterio 1.4.3 doesn't provide a Python 3.14 binary wheel on PyPI.

But, it's likely we don't have to install optional dependencies when running mypy.

Edit: I've removed all optional dependencies in c73aac8 and the "Static Type Checks" workflow now passed. Don't remember why I added them in PR #2808.

@seisman seisman added the needs review This PR has higher priority and needs review. label Dec 5, 2025
@seisman seisman requested a review from weiji14 December 5, 2025 11:39
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, good that we don't need to wait for rasterio anymore!

@seisman seisman removed the needs review This PR has higher priority and needs review. label Dec 6, 2025
@seisman seisman merged commit a97dff2 into main Dec 6, 2025
26 checks passed
@seisman seisman deleted the python/3.14 branch December 6, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants