Skip to content

Updated minimal python version required to 3.10 - #45

Merged
unasra merged 4 commits into
infobloxopen:mainfrom
Tejashree-RS:min_python_version
Jul 13, 2026
Merged

Updated minimal python version required to 3.10#45
unasra merged 4 commits into
infobloxopen:mainfrom
Tejashree-RS:min_python_version

Conversation

@Tejashree-RS

@Tejashree-RS Tejashree-RS commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

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 pytest version constraint in pyproject.toml with test-requirements.txt, and updates all per-package README.md files to reflect the new minimum version.

Type of Change

  • 🆕 New API / Model
  • 🔧 Update Existing Schema or Model
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧹 Maintenance (dependency upgrades, CI, refactoring)

Affected Packages

  • anycast
  • cloud_discovery
  • dfp
  • dns_config
  • dns_data
  • dtc
  • fw
  • infra_mgmt
  • infra_provision
  • ipam
  • ipam_federation
  • keys
  • redirect
  • upgrade_policy
  • universal_ddi_client

Resource / 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

  • Consider for changelog and release notes addition

Additional Context

  • Python 3.10 enables use of newer type union syntax (X | Y) and pattern matching, and drops support for end-of-life 3.8/3.9.
  • The pytest fix resolves a collection warning/error introduced in pytest 8.x under Python 3.12.
  • The CI workflow (.github/workflows/python.yml) was updated to test against the new minimum version.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread setup.py
Comment thread .github/workflows/python.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Comment thread test-requirements.txt

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated no new comments.

@unasra
unasra merged commit 8bfeb87 into infobloxopen:main Jul 13, 2026
5 checks passed
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.

3 participants