File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -274,8 +274,10 @@ jobs:
274
274
# Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
275
275
# deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
276
276
# on M1 macOS, so don't bother there either.
277
- if [[ "${{ matrix.os }}" != 'macos-14'
278
- && "${{ matrix.python-version }}" != '3.12' && "${{ matrix.python-version }}" != '3.13' ]]; then
277
+ version_atmost() {
278
+ printf "%s\n" "$1" "$2" | sort --version-sort --check=silent
279
+ }
280
+ if [[ "${{ matrix.os }}" != 'macos-14' ]] && version_atmost "${{ matrix.python-version }}" 3.11.999; then
279
281
python -mpip install --upgrade pyside2 &&
280
282
python -c 'import PySide2.QtCore' &&
281
283
echo 'PySide2 is available' ||
You can’t perform that action at this time.
0 commit comments