|
48 | 48 | matrix:
|
49 | 49 | include:
|
50 | 50 | - name-suffix: "(Minimum Versions)"
|
51 |
| - os: ubuntu-20.04 |
| 51 | + os: ubuntu-22.04 |
52 | 52 | python-version: '3.10'
|
53 | 53 | extra-requirements: '-c requirements/testing/minver.txt'
|
54 | 54 | delete-font-cache: true
|
|
57 | 57 | pyqt6-ver: '==6.2.0 PyQt6-Qt6==6.2.0'
|
58 | 58 | pyside2-ver: '==5.15.2.1'
|
59 | 59 | pyside6-ver: '==6.2.0'
|
60 |
| - - os: ubuntu-20.04 |
61 |
| - python-version: '3.10' |
62 |
| - # One CI run tests ipython/matplotlib-inline before backend mapping moved to mpl |
63 |
| - extra-requirements: |
64 |
| - -r requirements/testing/extra.txt |
65 |
| - "ipython==7.29.0" |
66 |
| - "ipykernel==5.5.6" |
67 |
| - "matplotlib-inline<0.1.7" |
68 |
| - CFLAGS: "-fno-lto" # Ensure that disabling LTO works. |
69 |
| - # https://github.com/matplotlib/matplotlib/pull/26052#issuecomment-1574595954 |
70 |
| - # https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html |
71 |
| - pyqt6-ver: '!=6.5.1,!=6.6.0,!=6.7.1' |
72 |
| - # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346 |
73 |
| - pyside6-ver: '!=6.5.1' |
74 | 60 | - os: ubuntu-22.04
|
75 | 61 | python-version: '3.11'
|
| 62 | + CFLAGS: "-fno-lto" # Ensure that disabling LTO works. |
76 | 63 | # https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
|
77 | 64 | pyqt6-ver: '!=6.6.0'
|
78 | 65 | # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
|
@@ -103,10 +90,14 @@ jobs:
|
103 | 90 | pyside6-ver: '!=6.5.1'
|
104 | 91 | - os: macos-14 # This runner is on M1 (arm64) chips.
|
105 | 92 | python-version: '3.12'
|
| 93 | + # https://github.com/matplotlib/matplotlib/issues/29732 |
| 94 | + pygobject-ver: '<3.52.0' |
106 | 95 | # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
|
107 | 96 | pyside6-ver: '!=6.5.1'
|
108 | 97 | - os: macos-14 # This runner is on M1 (arm64) chips.
|
109 | 98 | python-version: '3.13'
|
| 99 | + # https://github.com/matplotlib/matplotlib/issues/29732 |
| 100 | + pygobject-ver: '<3.52.0' |
110 | 101 | # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
|
111 | 102 | pyside6-ver: '!=6.5.1'
|
112 | 103 |
|
@@ -176,11 +167,7 @@ jobs:
|
176 | 167 | texlive-luatex \
|
177 | 168 | texlive-pictures \
|
178 | 169 | texlive-xetex
|
179 |
| - if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then |
180 |
| - sudo apt-get install -yy --no-install-recommends libopengl0 |
181 |
| - else # ubuntu-22.04 |
182 |
| - sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0 |
183 |
| - fi |
| 170 | + sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0 |
184 | 171 | ;;
|
185 | 172 | macOS)
|
186 | 173 | brew update
|
@@ -270,7 +257,7 @@ jobs:
|
270 | 257 | # (sometimes, the install appears to be successful but shared
|
271 | 258 | # libraries cannot be loaded at runtime, so an actual import is a
|
272 | 259 | # better check).
|
273 |
| - python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject && |
| 260 | + python -m pip install --upgrade pycairo 'cairocffi>=0.8' 'PyGObject${{ matrix.pygobject-ver }}' && |
274 | 261 | (
|
275 | 262 | python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' &&
|
276 | 263 | echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'
|
|
0 commit comments