Skip to content

Update Python version to 3.15 in configuration and tests - #183

Open
hakandilek wants to merge 1 commit into
mainfrom
hd/python-3.15
Open

hakandilek wants to merge 1 commit into
mainfrom
hd/python-3.15

Conversation

@hakandilek

Copy link
Copy Markdown
Collaborator

Summary

  • Python 3.15 is supported in configuration and validation toolset.
  • Library is tested against Python 3.15
  • Dependency tree is tested against Python 3.15, Deepdiff dependency introducing a regression.

DeepDiff regression

Python 3.15 testing is currently blocked by an upstream dependency constraint in DeepDiff. We will wait for an upstream fix rather than introduce a local workaround:

  • DeepDiff 9.1.0 requires cachebox>=5.2,<6.
  • Cachebox 5.2.3 uses PyO3 0.27.1, which supports Python only through 3.14.
  • On Python 3.15, dependency installation falls back to building Cachebox from source, and PyO3 rejects the interpreter version.
  • The failure occurs before any tests run; it does not establish an incompatibility in this library.

Cachebox 6.2.8 already provides Python 3.15 wheels, including macOS ARM64. The remaining blocker is DeepDiff's exclusion of Cachebox 6.

Decision

Follow-up

  1. Upgrade DeepDiff in pyproject.toml and refresh poetry.lock.
  2. Validate Python 3.15 with poetry run tox run -e 3.15.
  3. Run the full validation matrix with poetry run tox run.

This branch has not been deployed

No deployments
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.

1 participant