Repository navigation
Add Python 3.15 support and drop Python 3.10 - #661
Merged
Merged
Conversation
Python 3.10 reached end-of-life in October 2026. Supported versions are now 3.11 through 3.15. - Bump cachebox to >=6.1.2,<7 (first release with cp315 wheels) - numpy ~=2.5.4 on 3.12+, ~=2.4.6 on 3.11; pandas ~=3.1.1 everywhere - Allow flit_core <5 as build backend - Upgrade dev/test/docs/static dependencies (polars 2.1, dateutil 4.0, Sphinx 9.0, pytest 9.2, coverage 7.17, pydantic 2.14, etc.) - Drop tomli dev dependency; always use stdlib tomllib - Remove pre-3.11 enum hash branch from tests - Update CI matrix and nox sessions to 3.11-3.15, run lint/coverage on 3.15
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #661 +/- ##
==========================================
+ Coverage 95.07% 95.09% +0.01%
==========================================
Files 18 18
Lines 4918 4915 -3
==========================================
- Hits 4676 4674 -2
+ Misses 242 241 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@seperman Hi, Could you please publish a new DeepDiff release containing this change when possible? The current PyPI release (9.1.0) still constrains cachebox to <6, which makes installation fail on Python 3.15 because cachebox 5.x does not support it. Thanks! |
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.
Summary
Python 3.10 reached end-of-life in October 2026. This PR moves supported versions to 3.11 – 3.15.
Runtime dependency
cachebox>=5.2,<6→>=6.1.2,<7. Required: 5.x ships no cp315 wheels (it's a Rust extension). DeepDiff only usesLRUCache(capacity),.get,.insert, andin.Build
flit_core >=3.11,<5. flit 4's breaking changes (dropping[tool.flit.metadata]and VCS-based sdist inclusion) don't affect us, since we already use[project]and explicit sdist include/exclude lists.Optional / dev dependencies
~=2.5.4on 3.12+,~=2.4.6on 3.11~=3.1.1(no version markers needed anymore)~=2.1.0, python-dateutil~=4.0.0(major bumps)~=9.0.4(newest series that still supports 3.11), furo>=2025.12.19tomli(stdlibtomllibis always available on 3.11+)Code
deepdiff/serialization.py: always usetomllibfor TOML loadingtests/test_hash.py: removed the pre-3.11 enum hash branchCI / tooling
Testing
Notes
docs/index.rst; those can go in with the release.