Skip to content

Conversation

@iMicknl
Copy link
Owner

@iMicknl iMicknl commented Dec 29, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 29, 2025 20:00
@iMicknl iMicknl requested a review from tetienne as a code owner December 29, 2025 20:00
@iMicknl iMicknl changed the base branch from main to v2/main December 29, 2025 20:00
@iMicknl iMicknl added this to the 2.0 milestone Dec 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the minimum required Python version from 3.10 to 3.12, removing support for Python 3.10 and 3.11. The key changes include:

  • Updated requires-python constraint from >=3.10 to >=3.12 in pyproject.toml
  • Removed backports-strenum dependency (StrEnum is native in Python 3.11+)
  • Replaced conditional StrEnum imports with direct imports from the standard library enum module across all enum files

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updated minimum Python version to 3.12 and removed backports-strenum dependency
uv.lock Removed Python 3.10/3.11 wheels and conditional dependencies (async-timeout, backports-strenum, backports-asyncio-runner, exceptiongroup, tomli)
pyoverkiz/enums/*.py Removed sys.version_info conditionals and simplified imports to use StrEnum directly from enum module (8 files)

Note: The changes are well-executed and consistent across all files. However, the GitHub Actions workflows (.github/workflows/test.yml and .github/workflows/lint.yaml) still include Python 3.10 and 3.11 in their test matrices, which should be updated in a follow-up commit to align with this version bump. Since those files are not part of this PR diff, I cannot comment on them directly.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@iMicknl iMicknl merged commit 99610bf into v2/main Dec 29, 2025
6 checks passed
@iMicknl iMicknl deleted the v2/bump_python_version branch December 29, 2025 20:26
@iMicknl iMicknl mentioned this pull request Dec 29, 2025
@iMicknl iMicknl linked an issue Dec 29, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop support for older Python versions

3 participants