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 <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Dec 16, 2024
1 parent fc0d5e4 commit 38e2025
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 @@ -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\": [ \
{ \
Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:
}, \
{ \
\"os\": \"macos-latest\", \
\"python-version\": \"3.13\", \
\"python-version\": \"3.13.0\", \
\"package_level\": \"minimum\" \
}, \
{ \
Expand All @@ -91,7 +94,7 @@ jobs:
}, \
{ \
\"os\": \"windows-latest\", \
\"python-version\": \"3.13\", \
\"python-version\": \"3.13.0\", \
\"package_level\": \"latest\" \
} \
] \
Expand Down
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 38e2025

Please sign in to comment.