Updated minimal python version required to 3.10 - #45
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the project’s declared minimum supported Python version to 3.10 across packaging metadata, documentation, and CI configuration so the client can rely on Python 3.10+ features and dependency baselines.
Changes:
- Raise the documented minimum Python version to 3.10 across the root README and generated package READMEs.
- Update packaging constraints (
pyproject.toml,setup.py) to target Python 3.10+. - Adjust CI and test dependency baselines (pytest minimum version; GitHub Actions python matrix).
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
test-requirements.txt |
Bumps the minimum pytest version used for tests. |
src/upgrade_policy/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/redirect/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/keys/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/ipam/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/ipam_federation/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/infra_provision/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/infra_mgmt/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/fw/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/dtc/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/dns_data/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/dns_config/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/dfp/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/cloud_discovery/README.md |
Updates documented minimum Python requirement to 3.10+. |
src/anycast/README.md |
Updates documented minimum Python requirement to 3.10+. |
setup.py |
Raises the intended minimum Python version constant (but needs to be applied to setup()). |
README.md |
Adds a top-level statement declaring Python 3.10 as the minimum supported version. |
pyproject.toml |
Updates Poetry’s python constraint to ^3.10. |
.github/workflows/python.yml |
Removes 3.8/3.9 from CI and updates the Python test matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
unasra
approved these changes
Jul 13, 2026
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
Updates the minimum supported Python version from 3.8 to 3.10 across the project, fixes a pytest compatibility issue with Python 3.12+, aligns the
pytestversion constraint inpyproject.tomlwithtest-requirements.txt, and updates all per-packageREADME.mdfiles to reflect the new minimum version.Type of Change
Affected Packages
anycastcloud_discoverydfpdns_configdns_datadtcfwinfra_mgmtinfra_provisionipamipam_federationkeysredirectupgrade_policyuniversal_ddi_clientResource / Model: N/A
Description: Bumped minimum Python version to 3.10; resolved pytest 3.12+ compatibility; aligned dependency version constraints.
Schema Changes
N/A
Ticket / Issue
Fixes #
Changelog Inclusion
Additional Context
X | Y) and pattern matching, and drops support for end-of-life 3.8/3.9..github/workflows/python.yml) was updated to test against the new minimum version.