fix: update Python version requirements to 3.9-3.13#83
Merged
Conversation
- Clarify supported Python version range in README.md from "3.9 or higher" to "3.9 to 3.13" - Update pyproject.toml to restrict Python to <3.14 to prevent compatibility issues with underlying libraries - Add Python 3.13 to CI test matrix in deploy.yaml This ensures users are aware of the supported Python version range and prevents installation on Python 3.14+ where dependencies may not be compatible yet.
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.
🎯 Purpose of this PR
Clarify and enforce the supported Python version range to prevent users from attempting to use depthviz with Python 3.14 or higher, where underlying dependencies may not yet be compatible.
🛠️ Changes Made
^3.9to>=3.9,<3.14to enforce version limits at installation time.github/workflows/deploy.yamlto ensure compatibility testing across all supported versions📸 Screenshots or GIF (if applicable)
N/A - Documentation and configuration changes only.
📜 How to Test
Verify that the package can be installed on Python 3.9-3.13:
# Test with different Python versions python3.9 -m pip install depthviz python3.13 -m pip install depthvizVerify that installation is blocked on Python 3.14+ (when available):
python3.14 -m pip install depthviz # Should fail with a Python version compatibility errorCheck that CI tests run successfully for all Python versions (3.9, 3.10, 3.11, 3.12, 3.13)
✅ Checklist Before Merge
mainbranch and is up to date.💬 Additional Notes (optional)
This change ensures users won't encounter cryptic errors when trying to use depthviz with Python 3.14+. The version constraint will need to be updated in the future once all underlying dependencies officially support Python 3.14 or higher.