Skip to content

Add Python 3.14 support#2168

Merged
rly merged 8 commits into
devfrom
add-py314
Mar 10, 2026
Merged

Add Python 3.14 support#2168
rly merged 8 commits into
devfrom
add-py314

Conversation

@bendichter
Copy link
Copy Markdown
Collaborator

@bendichter bendichter commented Mar 4, 2026

Summary

  • Add Python 3.14 classifier to pyproject.toml
  • Add 314 to all tox env lists and move upgraded/prerelease envs from py313 to py314
  • Add Python 3.14 pinned entries and update upgraded/prerelease entries across all CI workflows (run_all_tests.yml, run_tests.yml, run_coverage.yml, deploy_release.yml)
  • Add "3.14" to bug report template Python version dropdown
  • Update docs to list Python 3.14 as supported

Test plan

  • CI passes on all matrix entries
  • Python 3.14 pinned, upgraded, and prerelease jobs run successfully

🤖 Generated with Claude Code

bendichter and others added 2 commits March 4, 2026 18:07
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Python 3.14 doesn't have pre-built wheels for numpy and other deps yet.
Keep these utility steps on 3.13 (latest stable). The 3.14 prerelease
and upgraded tox envs handle 3.14 testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.10%. Comparing base (16886ae) to head (5d3b664).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2168      +/-   ##
==========================================
- Coverage   95.11%   95.10%   -0.01%     
==========================================
  Files          29       29              
  Lines        2945     2942       -3     
  Branches      757      443     -314     
==========================================
- Hits         2801     2798       -3     
  Misses         86       86              
  Partials       58       58              
Flag Coverage Δ
integration 72.84% <ø> (-0.03%) ⬇️
unit 85.04% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

rly and others added 6 commits March 9, 2026 09:27
# Conflicts:
#	.github/workflows/run_all_tests.yml
#	.github/workflows/run_tests.yml
#	CHANGELOG.md
#	docs/source/install_developers.rst
#	docs/source/install_users.rst
#	tox.ini
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update pinned dependencies in requirements.txt:
  h5py 3.12.1->3.16.0, numpy 2.1.1->2.4.3, pandas 2.2.3->2.3.3,
  platformdirs 4.3.6->4.9.4
- Update pinned dependencies in environment-ros3.yml:
  h5py 3.12.1->3.16.0, numpy 2.1.3->2.4.3, pandas 2.2.3->2.3.3,
  pytest 7.4.3->9.0.2
- Update pinned dependencies in requirements-dev.txt:
  black 24.4.2->26.3.0, codespell 2.3.0->2.4.2, coverage 7.5.3->7.13.4,
  pytest 8.2.1->9.0.2, isort 5.13.2->8.0.1, pytest-cov 5.0.0->7.0.0,
  tox 4.15.0->4.49.1, ruff 0.4.6->0.15.5
- Update ros3 conda CI jobs from Python 3.13 to 3.14 to match
  environment-ros3.yml which already pins python==3.14

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump platformdirs minimum from 4.1.0 to 4.2.2 in pyproject.toml and
  requirements-min.txt to be compatible with tox 4.20.0
- Pin tox to 4.20.0 (compatible with platformdirs>=4.2.2)
- Update environment-ros3.yml pins to versions available on conda-forge
  for Python 3.14: h5py 3.15.1, matplotlib 3.10.8, numpy 2.4.2,
  pandas 3.0.1, fsspec 2026.1.0, requests 2.32.5, aiohttp 3.13.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dandi pins numcodecs<0.16, and numcodecs 0.15.x lacks Python 3.14
macOS wheels, causing build failures. Use Python 3.13 for macOS
gallery tests until dandi relaxes the numcodecs pin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rly
Copy link
Copy Markdown
Contributor

rly commented Mar 10, 2026

@rly rly merged commit bd9bc5a into dev Mar 10, 2026
71 of 72 checks passed
@rly rly deleted the add-py314 branch March 10, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants