Skip to content

Commit 30947be

Browse files
committed
Pinned Python 3.13 to 3.13.0 to work around pylint issue
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
1 parent 94f2337 commit 30947be

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
# This technique documented in:
3232
# https://stackoverflow.com/questions/65384420/how-to-make-a-github-action-matrix-element-conditional
3333
# TODO: Find a way to define this with less escapes.
34+
# TODO: Python 3.13 was pinned to 3.13.0 to work around a pylint issue
35+
# https://github.com/pylint-dev/pylint/issues/10112 on Python 3.13.1.
36+
# Remove that pinning again when it is fixed.
3437
run: |
3538
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.head_ref }}" =~ ^release_ ]]; then \
3639
echo "matrix={ \
3740
\"os\": [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ], \
38-
\"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\" ], \
41+
\"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0\" ], \
3942
\"package_level\": [ \"minimum\", \"latest\" ], \
4043
\"exclude\": [ \
4144
{ \
@@ -65,7 +68,7 @@ jobs:
6568
else \
6669
echo "matrix={ \
6770
\"os\": [ \"ubuntu-latest\" ], \
68-
\"python-version\": [ \"3.13\" ], \
71+
\"python-version\": [ \"3.13.0\" ], \
6972
\"package_level\": [ \"minimum\", \"latest\" ], \
7073
\"include\": [ \
7174
{ \
@@ -95,7 +98,7 @@ jobs:
9598
}, \
9699
{ \
97100
\"os\": \"macos-latest\", \
98-
\"python-version\": \"3.13\", \
101+
\"python-version\": \"3.13.0\", \
99102
\"package_level\": \"minimum\" \
100103
}, \
101104
{ \
@@ -105,7 +108,7 @@ jobs:
105108
}, \
106109
{ \
107110
\"os\": \"windows-latest\", \
108-
\"python-version\": \"3.13\", \
111+
\"python-version\": \"3.13.0\", \
109112
\"package_level\": \"latest\" \
110113
} \
111114
] \

0 commit comments

Comments
 (0)