Skip to content

fix housekeep.py with Python 3.14#595

Open
loqs wants to merge 1 commit into
aio-libs:masterfrom
loqs:housekeep-3.14
Open

fix housekeep.py with Python 3.14#595
loqs wants to merge 1 commit into
aio-libs:masterfrom
loqs:housekeep-3.14

Conversation

@loqs
Copy link
Copy Markdown
Contributor

@loqs loqs commented May 16, 2026

What do these changes do?

Python 3.14 validates custom actions on positional arguments. Replace the argument group approach with epilog to display available commands.

Are there changes in behavior for the user?

No. housekeep.py is not packaged.

Related issue number

Fixes #594.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • tox testenvs have been executed in the following environments:
    • Linux (Ubuntu 18.04, Ubuntu 20.04, Arch): qa
    • Windows (7, 10): {py36,py37,py38,py39}-{nocov,cov,diffcov}
    • WSL 1.0 (Ubuntu 18.04): {py36,py37,py38,py39}-{nocov,cov,diffcov}, pypy3-{nocov,cov}, qa, docs
    • FreeBSD (12.2, 12.1, 11.4): {py36,pypy3}-{nocov,cov,diffcov}, qa
    • Cygwin: py36-{nocov,cov,diffcov}, qa, docs
  • Documentation reflects the changes
  • Add a news fragment into the NEWS.rst file

Python 3.14 validates custom actions on positional arguments. Replace
the argument group approach with epilog to display available commands.
@loqs loqs force-pushed the housekeep-3.14 branch from d8497a3 to 4f04cf6 Compare May 16, 2026 16:28
@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.84%. Comparing base (dc78ef6) to head (4f04cf6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #595      +/-   ##
==========================================
+ Coverage   97.75%   97.84%   +0.08%     
==========================================
  Files          23       23              
  Lines        5709     5709              
  Branches      351      351              
==========================================
+ Hits         5581     5586       +5     
+ Misses         79       73       -6     
- Partials       49       50       +1     

☔ 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.

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.

housekep.py is incompatible with python 3.14

1 participant