Skip to content

Commit 0d11978

Browse files
authored
Merge pull request matplotlib#29796 from jayaddison/issue-29766/remove-ubuntu2004-runner
2 parents a3aad58 + 7b8b692 commit 0d11978

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,17 @@ jobs:
4848
matrix:
4949
include:
5050
- name-suffix: "(Minimum Versions)"
51-
os: ubuntu-20.04
52-
python-version: '3.10'
51+
os: ubuntu-22.04
52+
python-version: '3.11'
5353
extra-requirements: '-c requirements/testing/minver.txt'
5454
delete-font-cache: true
55-
# Oldest versions with Py3.10 wheels.
56-
pyqt5-ver: '==5.15.5 sip==6.3.0'
57-
pyqt6-ver: '==6.2.0 PyQt6-Qt6==6.2.0'
58-
pyside2-ver: '==5.15.2.1'
59-
pyside6-ver: '==6.2.0'
60-
- os: ubuntu-20.04
61-
python-version: '3.10'
62-
extra-requirements: '-r requirements/testing/extra.txt'
63-
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
64-
# https://github.com/matplotlib/matplotlib/pull/26052#issuecomment-1574595954
6555
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
66-
pyqt6-ver: '!=6.5.1,!=6.6.0,!=6.7.1'
56+
pyqt6-ver: '!=6.6.0'
6757
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
6858
pyside6-ver: '!=6.5.1'
6959
- os: ubuntu-22.04
7060
python-version: '3.11'
61+
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
7162
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
7263
pyqt6-ver: '!=6.6.0'
7364
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -170,11 +161,7 @@ jobs:
170161
if [[ "${{ matrix.name-suffix }}" != '(Minimum Versions)' ]]; then
171162
sudo apt-get install -yy --no-install-recommends ffmpeg poppler-utils
172163
fi
173-
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
174-
sudo apt-get install -yy --no-install-recommends libopengl0
175-
else # ubuntu-22.04
176-
sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0
177-
fi
164+
sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0
178165
;;
179166
macOS)
180167
brew update

0 commit comments

Comments
 (0)