Conversation
Python 3.12 is now the minimum, in line with the minimum dependency policy. - Bump requires-python, the classifiers (also adding 3.14), the binder, asv and bug report environments and the installation docs. - Rename the py311 pixi feature and the test-py311* environments to py312 and run the minimum version environments on Python 3.12. - Remove the version checks for Python < 3.12 in NodePath and test_namedarray. - Reformat an f-string that ruff now formats with PEP 701 quoting. - Ignore the PEP 695 ruff rules (UP040, UP046, UP047) that apply now; the migration from TypeVar and TypeAlias is left for a separate change. Co-authored-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dcherian
approved these changes
Sep 30, 2026
headtr1ck
enabled auto-merge (squash)
September 30, 2026 19:05
3 tasks done
Collaborator
Author
|
This should also fix the failing asv benchmark on the main branch once merged. Currently it somehow resolves to dask 2023.3.0 which is too old. |
headtr1ck
added a commit
to headtr1ck/xarray
that referenced
this pull request
Oct 1, 2026
Add a skill describing how to drop the oldest supported Python version, based on the changes needed for dropping Python 3.11 (pydata#11649), including updating the required status checks in the GitHub ruleset. Move the upgrade-min-versions skill to .claude/skills/upgrade-min-versions/SKILL.md and add frontmatter, so that Claude Code actually discovers it, and stop ignoring .claude/skills/ so that new skills don't have to be force-added. Co-authored-by: Claude <noreply@anthropic.com>
3 tasks done
headtr1ck
disabled auto-merge
October 1, 2026 07:38
headtr1ck
added a commit
that referenced
this pull request
Oct 1, 2026
Add a skill describing how to drop the oldest supported Python version, based on the changes needed for dropping Python 3.11 (#11649), including updating the required status checks in the GitHub ruleset. Move the upgrade-min-versions skill to .claude/skills/upgrade-min-versions/SKILL.md and add frontmatter, so that Claude Code actually discovers it, and stop ignoring .claude/skills/ so that new skills don't have to be force-added. Co-authored-by: Claude <noreply@anthropic.com>
aladinor
added a commit
to aladinor/xradar
that referenced
this pull request
Oct 12, 2026
CI now tests Python 3.12 to 3.14 only, and xarray main dropped 3.11 (pydata/xarray#11649). Align requires-python and the classifiers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Drops support for Python 3.11. Python 3.12 is now the minimum, in line with the minimum dependency policy (30 months for Python;
pixi run policynow reports=for Python in all minimum version environments). v2026.09.0 was announced as the last release supporting Python 3.11.requires-python = ">=3.12", the classifiers (also adding the missing 3.14), the installation docs, the binder, asv and bug report environments.py311pixi feature and thetest-py311*environments are renamed topy312/test-py312*, so the minimum version environments (bare-minimum,bare-min-and-scipy,min-versions) and the typing environment now run on Python 3.12. The CI job names follow.NodePath.__init__andtest_namedarray.zarr.pywith PEP 701 quoting.UP040,UP046,UP047, 80 occurrences:typestatements and type parameter syntax instead ofTypeAlias/TypeVar/Generic). They are ignored for now; the migration, together with the mypy changes it needs, will be a follow-up PR.Not part of this PR: the policy check also reports numpy, pandas and scipy as behind the policy, as it does on
main.Checklist
whats-new.rstAI Disclosure
Tools: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code