Update requires-python from >=3.8 to >=3.10#2384
Open
mr-raj12 wants to merge 2 commits intoborgbase:masterfrom
Open
Update requires-python from >=3.8 to >=3.10#2384mr-raj12 wants to merge 2 commits intoborgbase:masterfrom
mr-raj12 wants to merge 2 commits intoborgbase:masterfrom
Conversation
PyQt6 requires Python >=3.10 and CI only tests 3.10+. Also update tox env_list to match CI coverage and add Python version classifiers. Closes borgbase#2380
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.
PyQt6 requires Python >=3.10 and CI only tests 3.10+. Also update tox env_list to match CI coverage and add Python version classifiers.
Closes #2380
Description
Update Python version metadata in
pyproject.tomland clean up stale references to Python 3.8/3.9 across projectconfiguration.
Changes across 2 files:
pyproject.tomlrequires-python:>=3.8→>=3.10pyproject.tomlpyproject.tomlenv_list: removepy38/py39, addpy313.github/scripts/generate-matrix.shuv.lockrequires-pythonconstraintRelated Issue
Closes #2380
Motivation and Context
The declared
requires-python = ">=3.8"is misleading — PyQt6 (a core dependency) requires Python >=3.10, CI onlytests 3.10+, and Python 3.8 is EOL. Users on Python 3.8/3.9 who install Vorta hit confusing PyQt6 errors instead of
a clear version mismatch from pip. The tox env_list also listed
py38/py39but was missingpy313, which isalready tested in CI.
How Has This Been Tested?
uv sync— validatespyproject.tomlparses correctly and dependencies resolvepre-commit run --all-files— all 9 checks passed (ruff, ruff-format, whitespace, etc.)generate-matrix.shoutput is valid JSONTypes of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the
Developer Certificate of Origin.