From d12a2465833123bd4197afb02bd29ede32b67439 Mon Sep 17 00:00:00 2001 From: Igor Davydenko Date: Wed, 14 Aug 2024 15:19:43 +0200 Subject: [PATCH] feat: Ensure Python 3.13 support By running tests under the 3.13.0rc1 at CI. --- .github/workflows/ci.yml | 2 +- pyproject.toml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e14aa3..1cbd1c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: test: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] include: - python-version: "3.12" dev: "true" diff --git a/pyproject.toml b/pyproject.toml index 8a6e5ae..60fa6ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,7 +125,7 @@ asyncio_mode = "auto" [tool.tox] legacy_tox_ini = """ [tox] -envlist = py37,py38,py39,py310,py310-minimum-requirements,py311 +envlist = py37,py38,py39,py310,py311,py312,py312-minimum-requirements,py313 skipsdist = True [gh-actions] @@ -135,6 +135,8 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 + 3.13: py313 [testenv] allowlist_externals = poetry @@ -146,7 +148,7 @@ commands_pre = commands = python3 -m pytest -[testenv:py310-minimum-requirements] +[testenv:py312-minimum-requirements] commands_pre = poetry install --only main,test python3 -m pip install aiohttp==3.8.1 async-timeout==4.0.2 yarl==1.5.1