Skip to content

Drop Python 3.10 support, add Python 3.15 support - #282

Merged
benoit74 merged 1 commit into
mainfrom
benoit74/drop-support-for-python-3.10-add-support-for-pyt
Oct 22, 2026
Merged

benoit74 merged 1 commit into
mainfrom
benoit74/drop-support-for-python-3.10-add-support-for-pyt

Conversation

@benoit74

Copy link
Copy Markdown
Contributor

Summary

  • Drop Python 3.10 support and add Python 3.15 support: requires-python is now >=3.11,<3.16, classifiers and CI matrices (Tests.yaml, QA.yaml) updated accordingly, and black/ruff/pyright target versions bumped to py315.
  • Modernize libzim.pyx type hints to PEP 604/585 syntax (str | bytes, dict[...], etc.) instead of typing.Union/typing.Dict/etc., now that the new minimum Python version makes this syntax unconditionally available.
  • Bump the docs build (.readthedocs.yaml and the build-docs CI job) to Python 3.14, the highest version currently supported by Read the Docs (3.15 isn't valid there yet).

Closes #281.

@benoit74
benoit74 force-pushed the benoit74/drop-support-for-python-3.10-add-support-for-pyt branch from 476dc74 to af6c8e7 Compare October 22, 2026 12:52
Bump requires-python to >=3.11,<3.16, update CI matrices, and align
black/ruff/pyright target versions to py315. Modernize libzim.pyx
annotations to PEP 604/585 syntax (str | bytes, dict[...], etc.) now
that the minimum supported version makes them unconditionally
available. Also bump the docs build (Read the Docs config and CI job)
to Python 3.14 and ubuntu-26.04, aligning it with the rest of the CI
matrix and with the highest versions currently supported by Read the
Docs.
@benoit74
benoit74 force-pushed the benoit74/drop-support-for-python-3.10-add-support-for-pyt branch from af6c8e7 to 81ed221 Compare October 22, 2026 12:57
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.09%. Comparing base (727f77f) to head (81ed221).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%     
==========================================
  Files           1        1              
  Lines         541      542       +1     
==========================================
+ Hits          509      510       +1     
  Misses         32       32              

☔ 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.

@benoit74 benoit74 self-assigned this Oct 22, 2026
@benoit74
benoit74 merged commit f4c0adb into main Oct 22, 2026
72 checks passed
@benoit74
benoit74 deleted the benoit74/drop-support-for-python-3.10-add-support-for-pyt branch October 22, 2026 13:18
pawank925 pushed a commit to pawank925/python-libzim that referenced this pull request Oct 28, 2026
…-python-3.10-add-support-for-pyt

Drop Python 3.10 support, add Python 3.15 support
pawank925 added a commit to pawank925/python-libzim that referenced this pull request Oct 28, 2026
…-python-3.10-add-support-for-pyt

Drop Python 3.10 support, add Python 3.15 support
pawank925 added a commit to pawank925/python-libzim that referenced this pull request Oct 28, 2026
…-python-3.10-add-support-for-pyt

Drop Python 3.10 support, add Python 3.15 support
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.

Drop support for Python 3.10, add support for Python 3.15

1 participant