Add Python 3.10 support#44
Open
Master0fFate wants to merge 2 commits into
Open
Conversation
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
Why Python 3.10 matters
Python 3.10 is still a common floor on LTS and enterprise systems, especially Ubuntu 22.04-era environments and managed developer machines. Supporting it lets those users install UncommonRoute without forcing a Python runtime upgrade, while keeping the compatibility delta small because the main blocker was stdlib tomllib, which has a standard tomli backport.
I realize adding another Python version also adds ongoing QA and CI matrix burden. Technically, though, this looks feasible with a narrow compatibility shim.
Test evidence
Local Python version: Python 3.10.6.
Passed locally:
Note: a full pytest run on this Windows machine reached 713 passed / 1 skipped after enabling UTF-8 mode, then failed on existing platform-specific assumptions around POSIX file modes and HOME/shell behavior. The added GitHub Actions matrix runs on ubuntu-latest to provide maintainer-visible 3.10 evidence in CI.