Skip to content

Add support for Python 3.10–3.14 and 3.14t - #12

Draft
sourabhutaniCG wants to merge 7 commits into
mainfrom
feature/update-python-support
Draft

sourabhutaniCG wants to merge 7 commits into
mainfrom
feature/update-python-support

Conversation

@sourabhutaniCG

@sourabhutaniCG sourabhutaniCG commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

  • Updates pyproject.toml to support Python 3.10 through 3.14 and removes Python 3.9 support.
  • Adds Python 3.14 and CPython classifiers to the package metadata.
  • Updates the test_package.yml matrix to test Python 3.10, 3.11, 3.12, 3.13, 3.14, and the free-threaded Python 3.14t build on Windows and Ubuntu.
  • Adds CI checks to verify that Python 3.14t runs with the GIL disabled before and after importing the package.

Why should this Pull Request be merged?

This update aligns the package metadata and CI test coverage with the currently supported Python versions. It adds validation for Python 3.14 and its free-threaded build while removing unsupported Python 3.9 coverage.

What testing has been done?

  • Verified package installation on Python 3.10 through 3.14 and 3.14t.
  • Ran unit tests and code coverage across Windows and Ubuntu for all supported Python versions.
  • Confirmed that the Python 3.14t jobs use a free-threaded interpreter with the GIL disabled.
  • Confirmed that the GIL remains disabled after importing the package.
  • All CI matrix jobs passed successfully.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Test Results

 12 files  +  2   12 suites  +2   20s ⏱️ +2s
 78 tests  -   5   78 ✅  -   5  0 💤 ±0  0 ❌ ±0 
936 runs  +156  936 ✅ +156  0 💤 ±0  0 ❌ ±0 

Results for commit bddb0d5. ± Comparison against base commit a6a0d65.

This pull request removes 5 tests.
tests.unit.test_session ‑ test_find_hardware_with_passed_filter_properties_specified[EXPERT_NAME-PropertyType.STRING-my_expert-my_expert]
tests.unit.test_session ‑ test_find_hardware_with_passed_filter_properties_specified[IS_CHASSIS-PropertyType.BOOL-False-expected_value1]
tests.unit.test_session ‑ test_find_hardware_with_passed_filter_properties_specified[IS_DEVICE-PropertyType.BOOL-True-expected_value0]
tests.unit.test_session ‑ test_find_hardware_with_passed_filter_properties_specified[USER_ALIAS-PropertyType.STRING-my_alias-my_alias]
tests.unit.test_session ‑ test_find_hardware_with_passed_filter_properties_specified[VENDOR_ID-PropertyType.UNSIGNED_INT-1337-expected_value4]

♻️ This comment has been updated with latest results.

@sourabhutaniCG sourabhutaniCG changed the title Feature/update python support Add support for Python 3.10–3.14 and 3.14t Oct 22, 2026
@sourabhutaniCG
sourabhutaniCG force-pushed the feature/update-python-support branch from 68eac4f to 3cee3a9 Compare October 23, 2026 06:01
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