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

Test on Python 3.13 #2366

Merged
merged 4 commits into from
Oct 9, 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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', "3.13"]
include:
- python: '3.9'
run_lint: true
- python: '3.12'
- python: '3.13'
run_doc: true
run_lint: true
- os: macos-latest
Expand Down Expand Up @@ -113,13 +113,13 @@ jobs:
ruff check .

- name: pytest
if: ${{ (matrix.os != 'ubuntu-latest') || (matrix.python != '3.12') }}
if: ${{ (matrix.os != 'ubuntu-latest') || (matrix.python != '3.13') }}
run: |
env
pytest

- name: pytest coverage
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python == '3.12') }}
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python == '3.13') }}
run: |
env
pytest --cov
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Networking",
"Topic :: Utilities",
]
Expand All @@ -51,7 +52,7 @@ repl = [

simulator = [
"aiohttp>=3.8.6;python_version<'3.12'",
"aiohttp>=3.10.5;python_version=='3.12'"
"aiohttp>=3.10.5;python_version>='3.12'"
]
documentation = [
"recommonmark>=0.7.1",
Expand All @@ -67,7 +68,7 @@ development = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest-profiling>=1.7.0",
"pytest-profiling>=1.7.0;python_version<'3.13'",
"pytest-timeout>=2.3.1",
"pytest-xdist>=3.6.1",
"pytest-aiohttp>=1.0.5",
Expand Down