From 530bdd8898e7c497b657c20bde7eec0316ecdc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 18 Aug 2025 18:05:55 -0700 Subject: [PATCH 1/2] CI: adding Python 3.14 for testing --- .github/workflows/python-tests.yml | 12 ++++++------ tox.ini | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5574b50..463457e 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -62,14 +62,14 @@ jobs: python-version: '3.13' toxenv: py313-test-pytest83 - os: windows-latest - python-version: '3.13' - toxenv: py313-test-pytestdev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev - os: macos-latest - python-version: '3.12' - toxenv: py312-test-pytestdev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev - os: ubuntu-latest - python-version: '3.13' - toxenv: py313-test-pytestdev-numpydev + python-version: '3.14-dev' + toxenv: py314-test-pytestdev-numpydev - os: ubuntu-latest python-version: '3.13' toxenv: py313-test-pytest83-pytestasyncio diff --git a/tox.ini b/tox.ini index ade7ec9..8133d8b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310,311,312,313}-test + py{39,310,311,312,313,314}-test codestyle requires = setuptools >= 30.3.0 From 7a3de3c70abc40fc70cd24485edbc03ec36fa5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 18 Aug 2025 23:57:07 -0700 Subject: [PATCH 2/2] TST: ignore unclosed file for failing test --- tests/test_doctestplus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_doctestplus.py b/tests/test_doctestplus.py index 57caf60..1cff957 100644 --- a/tests/test_doctestplus.py +++ b/tests/test_doctestplus.py @@ -769,6 +769,8 @@ def f(): ).assertoutcome(passed=2) +# We see unclosed file ResourceWarning on windows with python 3.14 +@pytest.mark.filterwarnings('ignore:unclosed file:ResourceWarning') def test_doctest_only(testdir, makepyfile, maketestfile, makerstfile): # regular python files with doctests makepyfile(p1='>>> 1 + 1\n2')