Skip to content

Commit

Permalink
Pinned Python 3.13 to 3.13.0 to work around pylint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Dec 17, 2024
1 parent 2377d78 commit 5ccd317
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,20 @@ jobs:
# Select full matrix when scheduled or when releasing, and normal matrix
# otherwise. The matrix is defined as a JSON string.
# 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.8\", \"3.13\" ], \
\"python-version\": [ \"3.8\", \"3.13.0\" ], \
\"package_level\": [ \"minimum\", \"latest\" ], \
\"include\": [ \
{ \
Expand All @@ -60,7 +63,7 @@ jobs:
}, \
{ \
\"os\": \"macos-latest\", \
\"python-version\": \"3.13\", \
\"python-version\": \"3.13.0\", \
\"package_level\": \"minimum\" \
}, \
{ \
Expand All @@ -70,7 +73,7 @@ jobs:
}, \
{ \
\"os\": \"windows-latest\", \
\"python-version\": \"3.13\", \
\"python-version\": \"3.13.0\", \
\"package_level\": \"minimum\" \
} \
] \
Expand Down
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ Released: not yet
package for testing, for simplicity. Now, the local package in the repository
main directory is always used for testing.

* Test: Python 3.13 was pinned to 3.13.0 to work around a pylint issue on
Python 3.13.1.

**Deprecations:**

**Bug fixes:**
Expand Down

0 comments on commit 5ccd317

Please sign in to comment.