Skip to content

Commit 5d88994

Browse files
authored
test on Python 3.14 (#2735)
1 parent 27f4aea commit 5d88994

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-latest, macos-latest, windows-latest]
31-
python: ['3.10', '3.11', '3.12', '3.13']
31+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
3232
include:
3333
- python: '3.10'
3434
run_lint: true
@@ -50,6 +50,7 @@ jobs:
5050
uses: astral-sh/setup-uv@v6
5151
with:
5252
python-version: ${{ matrix.python }}
53+
allow-prereleases: true
5354
enable-cache: true
5455

5556
- name: Create virtualenv and sync dependencies
@@ -65,7 +66,7 @@ jobs:
6566
if: matrix.run_doc == true
6667
run: |
6768
source .venv/bin/activate
68-
cd doc
69+
cd doc
6970
./build_html
7071
# this won't work on Windows, but we run_doc == False on Windows
7172

@@ -85,12 +86,12 @@ jobs:
8586
uv run ruff check .
8687
8788
- name: pytest
88-
if: ${{ (matrix.os != 'ubuntu-latest') || (matrix.python != '3.13.0') }}
89-
run: |
89+
if: ${{ (matrix.os != 'ubuntu-latest') || (matrix.python != '3.14.0') }}
90+
run: |
9091
uv run pytest
9192
9293
- name: pytest coverage
93-
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python == '3.13.0') }}
94+
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python == '3.14.0') }}
9495
run: |
9596
uv run pytest --cov
9697

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
2828
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14",
2930
"Topic :: System :: Networking",
3031
"Topic :: Utilities",
3132
]

0 commit comments

Comments
 (0)