Skip to content

Drop Python 3.10, support 3.11 to 3.14 following xarray - #469

Merged
aaronspring merged 1 commit into
mainfrom
drop-py310
Sep 25, 2026
Merged

aaronspring merged 1 commit into
mainfrom
drop-py310

Conversation

@aaronspring

Copy link
Copy Markdown
Collaborator

TL;DR

CI fails on Python 3.10 only: the 3.10 env resolves xarray 2025.6.1, the last xarray release that supports 3.10, and it does not preserve attrs the way the new keep_attrs tests (#456) expect (48 failures in test_reliability_api_and_inputs and related tests). xarray now supports Python 3.11 to 3.14, so xskillscore follows it instead of working around an xarray version that is no longer maintained.

Closes #468

Changes

  • requires-python = ">=3.11", classifiers now list 3.11 to 3.14, black target-version updated
  • Test matrix: 3.11, 3.12, 3.13, 3.14 (was 3.10 to 3.13)
  • Single-version jobs (installs, docs notebooks) moved from 3.10 to 3.11
  • ci/*.yml conda envs: python >=3.11,<3.15
  • CHANGELOG: Breaking Changes entry updated; AGENTS.md Python support section updated

intent revealed by prompt history

A Python-3.10-only CI failure prompted dropping 3.10 and adopting xarray's 3.11 to 3.14 support window, with the issue filed first.

1 prompt, 0 decisions
  1. "https://github.com/xarray-contrib/xskillscore/actions/runs/36115980287/job/108010122824 fails on py3.10 only. create issue to drop 3.10 as xarray seems to CI py3.11 to 3.14 lets follow them. first create the issue and push a PR"

🤖 Generated with Claude Code

Closes #468

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.57%. Comparing base (710d373) to head (89f095f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #469   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files          27       27           
  Lines        2878     2878           
=======================================
  Hits         2722     2722           
  Misses        156      156           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aaronspring aaronspring self-assigned this Sep 25, 2026
@aaronspring aaronspring added versioning dependencies Pull requests that update a dependency file labels Sep 25, 2026

@Zeitsperre Zeitsperre left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good!

@aaronspring
aaronspring merged commit f21c26c into main Sep 25, 2026
17 checks passed
@aaronspring
aaronspring deleted the drop-py310 branch September 25, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file versioning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Python 3.10, follow xarray (3.11 to 3.14)

2 participants