Skip to content

Commit 796d016

Browse files
committed
(v2) Extend pipeline and tox.ini for Python 3.13
Upgrade pytest to version 8.4.2 Extend poetry invocation in tox.ini to use --regenerate option Drop lingering project classifier for Python 3.8
1 parent 7c087f4 commit 796d016

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ['3.9', '3.10', '3.11', '3.12']
12+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ classifiers = [
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 3",
2828
"Programming Language :: Python :: 3 :: Only",
29-
"Programming Language :: Python :: 3.8",
3029
"Programming Language :: Python :: 3.9",
3130
"Programming Language :: Python :: 3.10",
3231
"Programming Language :: Python :: 3.11",
3332
"Programming Language :: Python :: 3.12",
33+
"Programming Language :: Python :: 3.13",
3434
"Topic :: Internet",
3535
"Topic :: Internet :: WWW/HTTP",
3636
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
@@ -76,7 +76,7 @@ mock = ["jsf"]
7676

7777
[tool.poetry.group.tests.dependencies]
7878
pre-commit = "~2.21.0"
79-
pytest = "7.2.1"
79+
pytest = "8.4.2"
8080
pytest-asyncio = "~0.18.3"
8181
pytest-cov = "~2.12.1"
8282
pytest-aiohttp="^1.0.5"

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extend-ignore=E203,RST303
99
[tox]
1010
isolated_build = True
1111
envlist =
12-
{py39,py310,py311,py312}-pypi
12+
{py39,py310,py311,py312,py313}-pypi
1313
pre-commit
1414
# min test modifies pyproject.toml so run it last
1515
py39-min
@@ -20,6 +20,7 @@ python =
2020
3.10: py310-pypi
2121
3.11: py311-pypi,pre-commit
2222
3.12: py312-pypi
23+
3.13: py313-pypi
2324

2425
[testenv]
2526
setenv=PYTHONPATH = {toxinidir}:{toxinidir}
@@ -31,7 +32,7 @@ allowlist_externals=
3132
commands=
3233
# sed in-place flag works on Linux and Mac, writes a .bak file
3334
min: sed -i.bak -E 's/"(\^|~|>=)([ 0-9])/"==\2/' pyproject.toml
34-
poetry lock
35+
poetry lock --regenerate
3536
poetry install --all-extras --with tests
3637
poetry show
3738
poetry run python -m pytest tests --cov connexion --cov-report term-missing

0 commit comments

Comments
 (0)