Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77993d5

Browse files
authored
Merge pull request #29846 from jayaddison/issue-29845/gha-ci-pypkg-version-range-cleanup
2 parents 1020639 + f4516a8 commit 77993d5

File tree

1 file changed

+4
-34
lines changed

1 file changed

+4
-34
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -52,60 +52,30 @@ jobs:
5252
python-version: '3.11'
5353
extra-requirements: '-c requirements/testing/minver.txt'
5454
delete-font-cache: true
55-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
56-
pyqt6-ver: '!=6.6.0'
57-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
58-
pyside6-ver: '!=6.5.1'
5955
- os: ubuntu-22.04
6056
python-version: '3.11'
6157
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
62-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
63-
pyqt6-ver: '!=6.6.0'
64-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
65-
pyside6-ver: '!=6.5.1'
6658
extra-requirements: '-r requirements/testing/extra.txt'
6759
- os: ubuntu-22.04-arm
6860
python-version: '3.12'
69-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
70-
pyqt6-ver: '!=6.6.0'
71-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
72-
pyside6-ver: '!=6.5.1'
7361
- os: ubuntu-22.04
7462
python-version: '3.13'
75-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
76-
pyqt6-ver: '!=6.6.0'
77-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
78-
pyside6-ver: '!=6.5.1'
7963
- name-suffix: "Free-threaded"
8064
os: ubuntu-22.04
8165
python-version: '3.13t'
82-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
83-
pyqt6-ver: '!=6.6.0'
84-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
85-
pyside6-ver: '!=6.5.1'
8666
- os: ubuntu-24.04
8767
python-version: '3.12'
88-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
89-
pyqt6-ver: '!=6.6.0'
90-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
91-
pyside6-ver: '!=6.5.1'
9268
- os: macos-13 # This runner is on Intel chips.
9369
# merge numpy and pandas install in nighties test when this runner is dropped
9470
python-version: '3.10'
95-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
96-
pyside6-ver: '!=6.5.1'
9771
- os: macos-14 # This runner is on M1 (arm64) chips.
9872
python-version: '3.12'
9973
# https://github.com/matplotlib/matplotlib/issues/29732
10074
pygobject-ver: '<3.52.0'
101-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
102-
pyside6-ver: '!=6.5.1'
10375
- os: macos-14 # This runner is on M1 (arm64) chips.
10476
python-version: '3.13'
10577
# https://github.com/matplotlib/matplotlib/issues/29732
10678
pygobject-ver: '<3.52.0'
107-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
108-
pyside6-ver: '!=6.5.1'
10979

11080
steps:
11181
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -274,7 +244,7 @@ jobs:
274244
275245
# PyQt5 does not have any wheels for ARM on Linux.
276246
if [[ "${{ matrix.os }}" != 'ubuntu-22.04-arm' ]]; then
277-
python -mpip install --upgrade --only-binary :all: pyqt5${{ matrix.pyqt5-ver }} &&
247+
python -mpip install --upgrade --only-binary :all: pyqt5 &&
278248
python -c 'import PyQt5.QtCore' &&
279249
echo 'PyQt5 is available' ||
280250
echo 'PyQt5 is not available'
@@ -284,16 +254,16 @@ jobs:
284254
# on M1 macOS, so don't bother there either.
285255
if [[ "${{ matrix.os }}" != 'macos-14'
286256
&& "${{ matrix.python-version }}" != '3.12' && "${{ matrix.python-version }}" != '3.13' ]]; then
287-
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
257+
python -mpip install --upgrade pyside2 &&
288258
python -c 'import PySide2.QtCore' &&
289259
echo 'PySide2 is available' ||
290260
echo 'PySide2 is not available'
291261
fi
292-
python -mpip install --upgrade --only-binary :all: pyqt6${{ matrix.pyqt6-ver }} &&
262+
python -mpip install --upgrade --only-binary :all: pyqt6 &&
293263
python -c 'import PyQt6.QtCore' &&
294264
echo 'PyQt6 is available' ||
295265
echo 'PyQt6 is not available'
296-
python -mpip install --upgrade --only-binary :all: pyside6${{ matrix.pyside6-ver }} &&
266+
python -mpip install --upgrade --only-binary :all: pyside6 &&
297267
python -c 'import PySide6.QtCore' &&
298268
echo 'PySide6 is available' ||
299269
echo 'PySide6 is not available'

0 commit comments

Comments
 (0)