From ec99d08df88e186186c399ecdb241bb6b8ebc2aa Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 2 Mar 2025 04:06:28 +0100 Subject: [PATCH 1/5] Test Python 3.14 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ecd505..f2af577 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 From ed01d00d35f364ac6b2bcd78d2834d109ab07744 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 2 Mar 2025 04:08:32 +0100 Subject: [PATCH 2/5] Add 3.14 to tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3913155..a5bfff0 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ requires = tox>=4.2 env_list = - py{313, 312, 311, 310, 39} + py{314, 313, 312, 311, 310, 39} [testenv] deps = From 16f0dba05f29dda8924c97714f8afd2f8ad1155f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 6 Apr 2025 19:59:44 +0300 Subject: [PATCH 3/5] Ignore known upstream deprecation warnings --- pytest.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index ee3bbae..9a36172 100644 --- a/pytest.ini +++ b/pytest.ini @@ -9,6 +9,11 @@ addopts = --cov-report xml xfail_strict = True asyncio_mode = auto -filterwarnings = error +filterwarnings = + error + ignore:'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio + ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction.. instead:DeprecationWarning:aiohttp + ignore:'asyncio.set_event_loop' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio + ignore:'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio testpaths = tests From 68f660b7458dc90966408a202e92043541c82a50 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 1 May 2025 07:27:34 +0200 Subject: [PATCH 4/5] Remove warning filters --- pytest.ini | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pytest.ini b/pytest.ini index 9a36172..ee3bbae 100644 --- a/pytest.ini +++ b/pytest.ini @@ -9,11 +9,6 @@ addopts = --cov-report xml xfail_strict = True asyncio_mode = auto -filterwarnings = - error - ignore:'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio - ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction.. instead:DeprecationWarning:aiohttp - ignore:'asyncio.set_event_loop' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio - ignore:'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pytest_asyncio +filterwarnings = error testpaths = tests From e25c68233e54cbf912eafa1597d250bb76388f67 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 26 May 2025 16:47:32 +0200 Subject: [PATCH 5/5] Bump `pytest-asyncio` to 1.0.0 --- dev-requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 345c1ba..1ec7063 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,7 @@ -r requirements.txt coverage==7.8.0 pytest==8.3.5 -pytest-asyncio==0.26.0 +pytest-asyncio==1.0.0 pytest-aiohttp==1.1.0 pytest-mock==3.14.0 -pytest-cov==6.1.1 \ No newline at end of file +pytest-cov==6.1.1