From 0515905bbcf069408063c05b1b4e0d20763c5536 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Tue, 8 Oct 2024 18:59:54 +0200 Subject: [PATCH] Test: Added tests for Python 3.13 (final version) Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 45 ++++----------------------------- changes/525.feature.rst | 1 + dev-requirements.txt | 6 +++-- minimum-constraints-develop.txt | 6 +++-- 4 files changed, 14 insertions(+), 44 deletions(-) create mode 100644 changes/525.feature.rst diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c51c8fe..c2ae058 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,13 +37,13 @@ jobs: if [[ "${{ github.event_name }}" == "schedule" || "${{ github.head_ref }}" =~ ^release_ ]]; then \ echo "matrix={ \ \"os\": [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ], \ - \"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0-rc.1\" ], \ + \"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\" ], \ \"package_level\": [ \"minimum\", \"latest\" ] \ }" >> $GITHUB_OUTPUT; \ else \ echo "matrix={ \ \"os\": [ \"ubuntu-latest\" ], \ - \"python-version\": [ \"3.12\" ], \ + \"python-version\": [ \"3.13\" ], \ \"package_level\": [ \"minimum\", \"latest\" ], \ \"include\": [ \ { \ @@ -56,16 +56,6 @@ jobs: \"python-version\": \"3.8\", \ \"package_level\": \"latest\" \ }, \ - { \ - \"os\": \"ubuntu-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ - \"package_level\": \"minimum\" \ - }, \ - { \ - \"os\": \"ubuntu-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ - \"package_level\": \"latest\" \ - }, \ { \ \"os\": \"macos-latest\", \ \"python-version\": \"3.8\", \ @@ -78,42 +68,17 @@ jobs: }, \ { \ \"os\": \"macos-latest\", \ - \"python-version\": \"3.12\", \ - \"package_level\": \"minimum\" \ - }, \ - { \ - \"os\": \"macos-latest\", \ - \"python-version\": \"3.12\", \ - \"package_level\": \"latest\" \ - }, \ - { \ - \"os\": \"macos-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ - \"package_level\": \"minimum\" \ - }, \ - { \ - \"os\": \"macos-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ - \"package_level\": \"latest\" \ - }, \ - { \ - \"os\": \"windows-latest\", \ - \"python-version\": \"3.12\", \ + \"python-version\": \"3.13\", \ \"package_level\": \"minimum\" \ }, \ { \ \"os\": \"windows-latest\", \ - \"python-version\": \"3.12\", \ - \"package_level\": \"latest\" \ - }, \ - { \ - \"os\": \"windows-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ + \"python-version\": \"3.8\", \ \"package_level\": \"minimum\" \ }, \ { \ \"os\": \"windows-latest\", \ - \"python-version\": \"3.13.0-rc.1\", \ + \"python-version\": \"3.13\", \ \"package_level\": \"latest\" \ } \ ] \ diff --git a/changes/525.feature.rst b/changes/525.feature.rst new file mode 100644 index 0000000..4a9cd8c --- /dev/null +++ b/changes/525.feature.rst @@ -0,0 +1 @@ +Test: Added tests for Python 3.13 (final version). diff --git a/dev-requirements.txt b/dev-requirements.txt index e652805..11a217c 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -62,8 +62,10 @@ entrypoints>=0.3.0 ruff>=0.3.5 # PyLint (no imports, invoked via pylint script) -pylint>=3.0.1 -astroid>=3.0.1 +pylint>=3.0.1; python_version == '3.8' +pylint>=3.3.1; python_version >= '3.9' +astroid>=3.0.1; python_version == '3.8' +astroid>=3.3.5; python_version >= '3.9' lazy-object-proxy>=1.4.3 wrapt>=1.15 # platformdirs is also used by tox diff --git a/minimum-constraints-develop.txt b/minimum-constraints-develop.txt index 839bd1d..1982bf5 100644 --- a/minimum-constraints-develop.txt +++ b/minimum-constraints-develop.txt @@ -58,8 +58,10 @@ entrypoints==0.3.0 ruff==0.3.5 # PyLint (no imports, invoked via pylint script): -pylint==3.0.1 -astroid==3.0.1 +pylint==3.0.1; python_version == '3.8' +pylint==3.3.1; python_version >= '3.9' +astroid==3.0.1; python_version == '3.8' +astroid==3.3.5; python_version >= '3.9' lazy-object-proxy==1.4.3 wrapt==1.15 platformdirs==4.1.0