Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.13 and drop Python 3.8 #411

Merged
merged 5 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
FORCE_COLOR: "1" # Make tools pretty.
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_NO_PYTHON_VERSION_WARNING: "1"
PYTHON_LATEST: "3.12"
PYTHON_LATEST: "3.13"

# For re-actors/checkout-python-sdist
sdist-artifact: python-package-distributions
Expand Down Expand Up @@ -65,11 +65,11 @@ jobs:
fail-fast: true
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
experimental: [false]
# include:
# - python-version: "~3.12.0-0"
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
rev: v0.7.2
hooks:
- id: ruff
args: ['--fix']
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -31,6 +31,6 @@ repos:
args:
- --strict
- repo: https://github.com/twisted/towncrier
rev: 23.6.0
rev: 24.8.0
hooks:
- id: towncrier-check
2 changes: 1 addition & 1 deletion aiomonitor/termui/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def do_ps_terminated(
table.inner_column_border = False
if filter_ or persistent:
stdout.write(
f"{len(tasks)} tasks terminated " f"(showing {len(table_data) - 1} tasks)\n"
f"{len(tasks)} tasks terminated (showing {len(table_data) - 1} tasks)\n"
)
else:
stdout.write(f"{len(tasks)} tasks terminated (old ones may be stripped)\n")
Expand Down
1 change: 1 addition & 0 deletions changes/411.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.13 and drop support for Python 3.8
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@
# further. For a list of options available for each theme, see the
# documentation.
#
aiomonitor_desc = (
"module that adds monitor and cli capabilities" "for asyncio application"
)
aiomonitor_desc = "module that adds monitor and cli capabilitiesfor asyncio application"
html_theme_options = {
"description": aiomonitor_desc,
"github_user": "aio-libs",
Expand Down
22 changes: 11 additions & 11 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
-e .
aioconsole==0.7.0
aiohttp==3.9.3
aioconsole==0.8.1
aiohttp==3.10.10
aiotools==1.7.0
attrs==23.1.0
docutils==0.19
attrs==24.2.0
docutils==0.21.2
ipdb==0.13.13
mypy==1.9.0
mypy==1.13.0
pre-commit==3.5.0
pytest-asyncio==0.21.1
pytest-asyncio==0.24.0
pytest-cov==4.0.0
pytest-sugar==0.9.7
pytest==7.4.0
ruff==0.3.7
pytest==8.3.3
ruff==0.7.2
terminaltables==3.1.10
towncrier==23.6.0
towncrier==24.8.0
types-requests
uvloop==0.19.0
build==1.2.1
uvloop==0.21.0
build==1.2.2.post1
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Operating System :: POSIX
Development Status :: 3 - Alpha
Framework :: AsyncIO
Expand All @@ -43,6 +45,7 @@ install_requires =
janus>=1.0
jinja2>=3.1.2
backports.strenum>=1.2.4; python_version<"3.11"
standard-telnetlib>=3.13; python_version>="3.13"
terminaltables
trafaret>=2.1.1
typing-extensions>=4.1
Expand Down
Loading