FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enable testing with Python 3.15 · matplotlib/matplotlib@c59c076 · GitHub

Repository navigation

Commit c59c076

Browse files
committed
Enable testing with Python 3.15
Since Python 3.15 has now had its first release candidate, the wheel ABI is stable, and we can start to see wheels being deployed. So we should be able to enable testing as well.
1 parent 8faa05b commit c59c076

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
pygobject-ver: '<3.52.0'
7676
- os: ubuntu-24.04
7777
python-version: '3.14'
78+
- name-suffix: "Free-threaded"
79+
os: ubuntu-24.04
80+
python-version: '3.15t'
81+
- os: ubuntu-24.04
82+
python-version: '3.15'
7883
- os: ubuntu-24.04-arm
7984
python-version: '3.12'
8085
- os: macos-14 # This runner is on M1 (arm64) chips.
@@ -89,6 +94,10 @@ jobs:
8994
python-version: '3.14'
9095
# https://github.com/matplotlib/matplotlib/issues/29732
9196
pygobject-ver: '<3.52.0'
97+
- os: macos-15 # This runner is on M1 (arm64) chips.
98+
python-version: '3.15'
99+
# https://github.com/matplotlib/matplotlib/issues/29732
100+
pygobject-ver: '<3.52.0'
92101

93102
steps:
94103
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -238,7 +247,7 @@ jobs:
238247
# Sphinx is needed to run sphinxext tests
239248
python -m pip install --upgrade sphinx!=6.1.2
240249
241-
if [[ "${{ matrix.python-version }}" != '3.14t' ]]; then
250+
if [[ "${{ matrix.python-version }}" != 3.*t ]]; then
242251
# GUI toolkits are pip-installable only for some versions of Python
243252
# so don't fail if we can't install them. Make it easier to check
244253
# whether the install was successful by trying to import the toolkit
@@ -277,7 +286,7 @@ jobs:
277286
echo 'wxPython is available' ||
278287
echo 'wxPython is not available'
279288
280-
fi # Skip backends on Python 3.14t.
289+
fi # Skip backends on Python 3.*t.
281290
282291
- name: Install the nightly dependencies
283292
# Only install the nightly dependencies during the scheduled event
@@ -317,10 +326,10 @@ jobs:
317326

318327
- name: Run pytest
319328
run: |
320-
if [[ "${{ matrix.python-version }}" == '3.14t' ]]; then
329+
if [[ "${{ matrix.python-version }}" == 3.*t ]]; then
321330
export PYTHON_GIL=0
322331
fi
323-
pytest -rfEsXR -n auto \
332+
pytest -rfEsXR -n auto -v \
324333
--maxfail=50 --timeout=300 --durations=25 \
325334
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
326335

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL