diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1719e904..964ab0fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,17 +36,20 @@ jobs: # This This technique documented in: # https://stackoverflow.com/questions/65384420/how-to-make-a-github-action-matrix-element-conditional # TODO: Find a way to define this with less escapes. + # TODO: Python 3.13 was pinned to 3.13.0 to work around a pylint issue + # https://github.com/pylint-dev/pylint/issues/10112 on Python 3.13.1. + # Remove that pinning again when it is fixed. run: | 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\" ], \ + \"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0\" ], \ \"package_level\": [ \"minimum\", \"latest\" ] \ }" >> $GITHUB_OUTPUT; \ else \ echo "matrix={ \ \"os\": [ \"ubuntu-latest\" ], \ - \"python-version\": [ \"3.13\" ], \ + \"python-version\": [ \"3.13.0\" ], \ \"package_level\": [ \"minimum\", \"latest\" ], \ \"include\": [ \ { \ @@ -76,7 +79,7 @@ jobs: }, \ { \ \"os\": \"macos-latest\", \ - \"python-version\": \"3.13\", \ + \"python-version\": \"3.13.0\", \ \"package_level\": \"minimum\" \ }, \ { \ @@ -91,7 +94,7 @@ jobs: }, \ { \ \"os\": \"windows-latest\", \ - \"python-version\": \"3.13\", \ + \"python-version\": \"3.13.0\", \ \"package_level\": \"latest\" \ } \ ] \ diff --git a/docs/changes.rst b/docs/changes.rst index 621be9ff..621efb7a 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -39,6 +39,9 @@ Released: not yet * Dev: Fixed pydantic install issue on Pyhton 3.13 by excluding safety-schemas version 0.0.7 +* Test: Python 3.13 was pinned to 3.13.0 to work around a pylint issue on + Python 3.13.1. + **Enhancements:** * Added support for and testing on Python 3.13. (issue #1429)