From 66ff9367fe4dfe194534dcd5d8cf2c02d28b6547 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sun, 6 Oct 2024 09:14:56 +0200 Subject: [PATCH 1/6] Silence warnings triggered from third party in 3.13 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1b159648916..8c1d485bd16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -222,7 +222,8 @@ filterwarnings = [ 'ignore:pkg_resources is deprecated as an API:DeprecationWarning', # pyvisa-sim 'ignore:open_binary is deprecated:DeprecationWarning', # pyvisa-sim 'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version:DeprecationWarning', # tqdm dateutil - 'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning' # jupyter + 'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning', # jupyter + 'ignore:Parsing dates involving a day of month without a year specified is ambiguious' # ipykernel 3.13+ ] [tool.ruff] From 38f53261aea7ccab4872a4f08c133e5f27aadc50 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sun, 6 Oct 2024 09:27:06 +0200 Subject: [PATCH 2/6] Silence more warnings --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8c1d485bd16..235b2e38cd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -223,7 +223,8 @@ filterwarnings = [ 'ignore:open_binary is deprecated:DeprecationWarning', # pyvisa-sim 'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version:DeprecationWarning', # tqdm dateutil 'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning', # jupyter - 'ignore:Parsing dates involving a day of month without a year specified is ambiguious' # ipykernel 3.13+ + 'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning', # ipykernel 3.13+ + 'ignore:unclosed database in:ResourceWarning' # internal should be fixed ] [tool.ruff] From 18569f8afaf229b25187bcc97d3cc518c2dfcfa9 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Mon, 7 Oct 2024 07:40:51 +0200 Subject: [PATCH 3/6] Try build on 3.13 --- .github/workflows/docs.yaml | 4 +++- .github/workflows/pytest.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f4f2048874e..30cab238a51 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -29,12 +29,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12","3.13.0-rc.3"] exclude: - os: windows-latest python-version: 3.10 - os: windows-latest python-version: 3.11 + - os: windows-latest + python-version: "3.13.0-rc.3" env: OS: ${{ matrix.os }} SPHINX_WARNINGS_AS_ERROR: true diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index a29d0aa9278..8ba320c80a7 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -30,7 +30,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13.0-rc.3"] min-version: [false] include: - os: ubuntu-latest @@ -43,6 +43,8 @@ jobs: python-version: "3.11" - os: windows-latest python-version: "3.12" + - os: windows-latest + python-version: "3.13.0-rc.3" env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} From 0e86b8a8235248577c8a702567ae2d145ded2d20 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Wed, 9 Oct 2024 07:47:35 +0200 Subject: [PATCH 4/6] Switch to final release --- .github/workflows/docs.yaml | 4 ++-- .github/workflows/pytest.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 30cab238a51..9719e05d71f 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -29,14 +29,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12","3.13.0-rc.3"] + python-version: ["3.10", "3.11", "3.12","3.13"] exclude: - os: windows-latest python-version: 3.10 - os: windows-latest python-version: 3.11 - os: windows-latest - python-version: "3.13.0-rc.3" + python-version: "3.13" env: OS: ${{ matrix.os }} SPHINX_WARNINGS_AS_ERROR: true diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 8ba320c80a7..c7b78575506 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -30,7 +30,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13.0-rc.3"] + python-version: ["3.10", "3.11", "3.12", "3.13"] min-version: [false] include: - os: ubuntu-latest @@ -44,7 +44,7 @@ jobs: - os: windows-latest python-version: "3.12" - os: windows-latest - python-version: "3.13.0-rc.3" + python-version: "3.13" env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} From 733398cc17ee1c2b2b86653fb4064d4955e26f22 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Wed, 9 Oct 2024 07:48:11 +0200 Subject: [PATCH 5/6] Mark 3.13 as supported --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 235b2e38cd5..04e82e3fc6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering", ] license = {text = "MIT"} From e61ec41f718e0cee40d67dabc20f0040d42dff7f Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Fri, 1 Nov 2024 09:01:15 +0100 Subject: [PATCH 6/6] Disable docs build on 3.13 for now --- .github/workflows/docs.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9719e05d71f..f4f2048874e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -29,14 +29,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12","3.13"] + python-version: ["3.10", "3.11", "3.12"] exclude: - os: windows-latest python-version: 3.10 - os: windows-latest python-version: 3.11 - - os: windows-latest - python-version: "3.13" env: OS: ${{ matrix.os }} SPHINX_WARNINGS_AS_ERROR: true