Skip to content

Commit 3f9719f

Browse files
committed
ci: Enable testing on Python 3.13
1 parent fd42e7d commit 3f9719f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ jobs:
8585
pyqt6-ver: '!=6.6.0'
8686
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
8787
pyside6-ver: '!=6.5.1'
88+
- os: ubuntu-22.04
89+
python-version: '3.13'
90+
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
91+
pyqt6-ver: '!=6.6.0'
92+
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
93+
pyside6-ver: '!=6.5.1'
8894
- os: macos-12 # This runner is on Intel chips.
8995
python-version: '3.10'
9096
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -93,6 +99,10 @@ jobs:
9399
python-version: '3.12'
94100
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
95101
pyside6-ver: '!=6.5.1'
102+
- os: macos-14 # This runner is on M1 (arm64) chips.
103+
python-version: '3.13'
104+
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
105+
pyside6-ver: '!=6.5.1'
96106

97107
steps:
98108
- uses: actions/checkout@v4
@@ -243,11 +253,11 @@ jobs:
243253
python -c 'import PyQt5.QtCore' &&
244254
echo 'PyQt5 is available' ||
245255
echo 'PyQt5 is not available'
246-
# Even though PySide2 wheels can be installed on Python 3.12, they are broken and since PySide2 is
256+
# Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
247257
# deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
248258
# on M1 macOS, so don't bother there either.
249259
if [[ "${{ matrix.os }}" != 'macos-14'
250-
&& "${{ matrix.python-version }}" != '3.12' ]]; then
260+
&& "${{ matrix.python-version }}" != '3.12' && "${{ matrix.python-version }}" != '3.13' ]]; then
251261
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
252262
python -c 'import PySide2.QtCore' &&
253263
echo 'PySide2 is available' ||

0 commit comments

Comments
 (0)