Skip to content

Commit 6ee3bfd

Browse files
committed
Update build environment
1 parent f8ab952 commit 6ee3bfd

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,22 @@ jobs:
4848
XVFB_RUN: xvfb-run -a
4949
- os: ubuntu-20.04
5050
python-version: '3.10'
51-
# Re-add this when extra dependencies have wheels.
51+
extra-requirements: '-r requirements/testing/extra.txt'
52+
XVFB_RUN: xvfb-run -a
53+
- os: ubuntu-20.04
54+
python-version: '3.11.0-beta - 3.11'
5255
# extra-requirements: '-r requirements/testing/extra.txt'
5356
XVFB_RUN: xvfb-run -a
57+
- os: ubuntu-22.04
58+
python-version: '3.10'
59+
extra-requirements: '-r requirements/testing/extra.txt'
60+
XVFB_RUN: xvfb-run -a
5461
- os: macos-latest
5562
python-version: 3.8
5663
XVFB_RUN: ""
57-
64+
- os: macos-12
65+
python-version: 3.9
66+
XVFB_RUN: ""
5867
steps:
5968
- uses: actions/checkout@v3
6069
with:
@@ -109,6 +118,12 @@ jobs:
109118
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
110119
sudo apt install -yy libopengl0
111120
fi
121+
if [[ "${{ matrix.os }}" = ubuntu-22.04 ]]; then
122+
sudo apt-get install -yy \
123+
gir1.2-gtk-4.0 \
124+
libgtk-4-bin \
125+
libgtk-4-common
126+
fi
112127
;;
113128
macOS)
114129
brew install ccache

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
def _get_testable_interactive_backends():
2525
envs = []
2626
for deps, env in [
27+
(["tkinter"], {"MPLBACKEND": "tkagg"}),
2728
*[([qt_api],
2829
{"MPLBACKEND": "qtagg", "QT_API": qt_api})
2930
for qt_api in ["PyQt6", "PySide6", "PyQt5", "PySide2"]],
@@ -32,7 +33,6 @@ def _get_testable_interactive_backends():
3233
for qt_api in ["PyQt6", "PySide6", "PyQt5", "PySide2"]],
3334
*[(["cairo", "gi"], {"MPLBACKEND": f"gtk{version}{renderer}"})
3435
for version in [3, 4] for renderer in ["agg", "cairo"]],
35-
(["tkinter"], {"MPLBACKEND": "tkagg"}),
3636
(["wx"], {"MPLBACKEND": "wx"}),
3737
(["wx"], {"MPLBACKEND": "wxagg"}),
3838
(["matplotlib.backends._macosx"], {"MPLBACKEND": "macosx"}),

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