Skip to content

deprecate Python 3.9#2141

Merged
bendichter merged 16 commits intodevfrom
dep-py39
Mar 5, 2026
Merged

deprecate Python 3.9#2141
bendichter merged 16 commits intodevfrom
dep-py39

Conversation

@bendichter
Copy link
Collaborator

@bendichter bendichter commented Nov 3, 2025

EOL was Oct 31 2025

Checklist

  • Did you update CHANGELOG.md with your changes?
  • Have you checked our Contributing document?
  • Have you ensured the PR clearly describes the problem and the solution?
  • Is your contribution compliant with our coding style? This can be checked running ruff check . && codespell from the source directory.
  • Have you checked to ensure that there aren't other open Pull Requests for the same change?
  • Have you included the relevant issue number using "Fix #XXX" notation where XXX is the issue number? By including "Fix #XXX" you allow GitHub to close issue #XXX when the PR is merged.

EOL was Oct 31 2025
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.21%. Comparing base (e00ffc0) to head (419cbf2).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2141   +/-   ##
=======================================
  Coverage   95.21%   95.21%           
=======================================
  Files          29       29           
  Lines        2945     2945           
  Branches      757      757           
=======================================
  Hits         2804     2804           
  Misses         84       84           
  Partials       57       57           
Flag Coverage Δ
integration 72.93% <ø> (ø)
unit 85.16% <ø> (ø)

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.

@bendichter bendichter requested a review from rly November 3, 2025 20:20
bendichter and others added 2 commits November 3, 2025 15:54
Co-authored-by: Steph Prince <40640337+stephprince@users.noreply.github.com>
Copy link
Contributor

@stephprince stephprince left a comment

Choose a reason for hiding this comment

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

One other suggestion otherwise looks good to me! I will let @rly add any comments and can then update the PR required checks to use the new minimum test workflow versions before merging.

Co-authored-by: Steph Prince <40640337+stephprince@users.noreply.github.com>
@rly
Copy link
Contributor

rly commented Nov 5, 2025

Thanks for this PR @bendichter ! It looks all good to me. This should be in a minor release. We should also explore adding Python 3.14 support in a separate PR.

@rly
Copy link
Contributor

rly commented Nov 13, 2025

We'll make a bugfix release imminently and then do a minor release with this PR deprecating python 3.9 shortly after

@h-mayorquin
Copy link
Contributor

Python 3.9 did not allow me to use typing constructions on #2164

b932db4

@bendichter bendichter mentioned this pull request Mar 4, 2026
6 tasks
Resolve merge conflicts in CI workflow files by keeping
Python 3.10 minimum entries (dropping Python 3.9).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bendichter
Copy link
Collaborator Author

@rly this is ready to go

@bendichter bendichter requested a review from oruebel March 4, 2026 22:53
@bendichter bendichter enabled auto-merge (squash) March 4, 2026 22:54
@bendichter bendichter disabled auto-merge March 4, 2026 23:02
@bendichter bendichter marked this pull request as draft March 4, 2026 23:02
@bendichter bendichter marked this pull request as ready for review March 4, 2026 23:02
bendichter and others added 3 commits March 4, 2026 18:10
Python 3.10 supports ARM, so no need for an Intel-specific runner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
h5py 3.7.0 is the first version with macosx_arm64 wheels, allowing
minimum tests to run on macos-latest instead of Intel runners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bendichter bendichter enabled auto-merge (squash) March 4, 2026 23:34
@rly
Copy link
Contributor

rly commented Mar 5, 2026

Can you update the workflows so that all minimum tests on macos use macos-15-intel, and set the minimum h5py version to 3.6.0 (same as hdmf)?

Per review: keep h5py minimum at 3.6.0 (matching hdmf) and use
macos-15-intel for all macOS minimum tests since h5py 3.6.0 lacks
ARM wheels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bendichter bendichter merged commit fa008c4 into dev Mar 5, 2026
25 of 26 checks passed
@bendichter bendichter deleted the dep-py39 branch March 5, 2026 17:20
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.

4 participants