Skip to content

Commit eca3558

Browse files
committed
Don't install PySide2 on 3.14
1 parent cc78df0 commit eca3558

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,10 @@ jobs:
274274
# Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
275275
# deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
276276
# 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
279281
python -mpip install --upgrade pyside2 &&
280282
python -c 'import PySide2.QtCore' &&
281283
echo 'PySide2 is available' ||

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy