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

Enable testing with Python 3.15 by QuLogic · Pull Request #32202 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
20 changes: 16 additions & 4 deletions .github/workflows/tests.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
pygobject-ver: '<3.52.0'
- os: ubuntu-24.04
python-version: '3.14'
- name-suffix: "Free-threaded"
os: ubuntu-24.04
python-version: '3.15t'
- os: ubuntu-24.04
python-version: '3.15'
- os: ubuntu-24.04-arm
python-version: '3.12'
- os: macos-15 # This runner is on M1 (arm64) chips.
Expand All @@ -89,6 +94,10 @@ jobs:
python-version: '3.14'
# https://github.com/matplotlib/matplotlib/issues/29732
pygobject-ver: '<3.52.0'
- os: macos-15 # This runner is on M1 (arm64) chips.
python-version: '3.15'
# https://github.com/matplotlib/matplotlib/issues/29732
pygobject-ver: '<3.52.0'

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -243,7 +252,7 @@ jobs:
# Sphinx is needed to run sphinxext tests
python -m pip install --upgrade sphinx!=6.1.2

if [[ "${{ matrix.python-version }}" != '3.14t' ]]; then
if [[ "${{ matrix.python-version }}" != 3.*t && "${{ matrix.python-version }}" != 3.15 ]]; then
# GUI toolkits are pip-installable only for some versions of Python
# so don't fail if we can't install them. Make it easier to check
# whether the install was successful by trying to import the toolkit
Expand Down Expand Up @@ -282,7 +291,7 @@ jobs:
echo 'wxPython is available' ||
echo 'wxPython is not available'

fi # Skip backends on Python 3.14t.
fi # Skip backends on Python 3.*t.

- name: Install the nightly dependencies
# Only install the nightly dependencies during the scheduled event
Expand All @@ -304,7 +313,7 @@ jobs:
export CPPFLAGS='-fprofile-instr-generate=default.%m.profraw'
export CPPFLAGS="$CPPFLAGS -fcoverage-mapping"
else
export CPPFLAGS='--coverage -fprofile-abs-path'
export CPPFLAGS='--coverage -fprofile-abs-path -fprofile-update=prefer-atomic'
fi

python -m pip install --no-deps --no-build-isolation --verbose \
Expand All @@ -322,9 +331,12 @@ jobs:

- name: Run pytest
run: |
if [[ "${{ matrix.python-version }}" == '3.14t' ]]; then
if [[ "${{ matrix.python-version }}" == 3.*t ]]; then
export PYTHON_GIL=0
fi
if [[ "${{ matrix.python-version }}" == 3.15* ]]; then
export PYTEST_ADDOPTS="-k 'not test_backends_interactive'"
fi
pytest -rfEsXR -n auto \
--maxfail=50 --timeout=300 --durations=25 \
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
Expand Down
Loading

Back | FazBrowse Home | New Git URL