Skip to content

Comments

Require Python >= 3.10 and support Python 3.13 and 3.14#326

Merged
bjoernricks merged 2 commits intomainfrom
support-python-3.14
Jan 9, 2026
Merged

Require Python >= 3.10 and support Python 3.13 and 3.14#326
bjoernricks merged 2 commits intomainfrom
support-python-3.14

Conversation

@bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Jan 9, 2026

What

Require Python >= 3.10 and support Python 3.13 and 3.14

Why

Python 3.9 support has ended and two new versions have been released already.

References

https://jira.greenbone.net/browse/GEA-1506

Checklist

  • Tests

@greenbonebot
Copy link
Member

greenbonebot commented Jan 9, 2026

Scanning the following files:

.github/workflows/ci-python.yml
greenbone/feed/sync/parser.py
poetry.lock
pyproject.toml

Scan: '.github/workflows/ci-python.yml'

Nothing detected in .github/workflows/ci-python.yml
Scan took 0.00 seconds

Scan: 'greenbone/feed/sync/parser.py'

Nothing detected in greenbone/feed/sync/parser.py
Scan took 0.00 seconds

Scan: 'poetry.lock'

Nothing detected in poetry.lock
Scan took 0.01 seconds

Scan: 'pyproject.toml'

Nothing detected in pyproject.toml
Scan took 0.00 seconds

@github-actions
Copy link

github-actions bot commented Jan 9, 2026

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

@bjoernricks bjoernricks added the minor release Create a new minor release after PR is merged label Jan 9, 2026
@bjoernricks bjoernricks marked this pull request as ready for review January 9, 2026 10:34
@bjoernricks bjoernricks requested review from a team as code owners January 9, 2026 10:34
@bjoernricks bjoernricks enabled auto-merge (rebase) January 9, 2026 10:34
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.35%. Comparing base (6eb4a2b) to head (05b7ee5).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #326   +/-   ##
=======================================
  Coverage   99.35%   99.35%           
=======================================
  Files           7        7           
  Lines         464      465    +1     
=======================================
+ Hits          461      462    +1     
  Misses          3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Python 3.9 support has ended and two new versions have been released
already.
In Python 3.14 the way the program name is parsed in the argparser
module has changed. See python/cpython#66436
for details. Therefore the tests did break which mock the pre 3.14
parsing of the program name. Fix this behavior by explicitly passing a
program name derived from `sys.argv[0]` (which is the default behavior
in Python < 3.14). Despite failing tests this had no influence of the
tool.

Fixes #325
@bjoernricks bjoernricks merged commit 4170b0d into main Jan 9, 2026
28 checks passed
@bjoernricks bjoernricks deleted the support-python-3.14 branch January 9, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor release Create a new minor release after PR is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants