Skip to content

Commit 1307f7e

Browse files
authored
Merge branch 'main' into type-legend-loc
2 parents 631e38f + b09a0c7 commit 1307f7e

File tree

683 files changed

+36238
-121109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

683 files changed

+36238
-121109
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ install:
6363
test_script:
6464
# Now build the thing..
6565
- set LINK=/LIBPATH:%cd%\lib
66-
- pip install -v --no-build-isolation --config-settings=setup-args="--vsenv" --editable .[dev]
66+
- pip install -v --no-build-isolation --editable .[dev]
6767
# this should show no freetype dll...
6868
- set "DUMPBIN=%VS140COMNTOOLS%\..\..\VC\bin\dumpbin.exe"
6969
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ commands:
9898
parameters:
9999
numpy_version:
100100
type: string
101-
default: "~=2.0.0"
101+
default: ""
102102
steps:
103103
- run:
104104
name: Install Python dependencies

.flake8

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
description: >-
1818
If possible, please provide a minimum self-contained example. If you
1919
have used generative AI as an aid see
20-
https://dev.matplotlib.org/devel/contributing.html#generative_ai.
20+
https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage
2121
placeholder: Paste your code here. This field is automatically formatted as Python code.
2222
render: Python
2323
validations:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ issue #8576".
1616
1717
If possible, please provide a minimum self-contained example. If you have used
1818
generative AI as an aid in preparing this PR, see
19-
https://dev.matplotlib.org/devel/contributing.html#generative_ai.
2019
20+
https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage
2121
-->
2222

2323

.github/workflows/cibuildwheel.yml

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
fetch-depth: 0
4545
persist-credentials: false
4646

47-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
47+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4848
name: Install Python
4949
with:
50-
python-version: '3.10'
50+
python-version: '3.11'
5151

5252
# Something changed somewhere that prevents the downloaded-at-build-time
5353
# licenses from being included in built wheels, so pre-download them so
@@ -70,7 +70,7 @@ jobs:
7070
run: twine check dist/*
7171

7272
- name: Upload sdist result
73-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
73+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7474
with:
7575
name: cibw-sdist
7676
path: dist/*.tar.gz
@@ -115,13 +115,12 @@ jobs:
115115
CIBW_TEST_COMMAND: >-
116116
python {package}/ci/check_version_number.py
117117
MACOSX_DEPLOYMENT_TARGET: "10.12"
118-
MPL_DISABLE_FH4: "yes"
119118
strategy:
120119
matrix:
121120
include:
122121
- os: ubuntu-latest
123122
cibw_archs: "x86_64"
124-
- os: ubuntu-latest
123+
- os: ubuntu-24.04-arm
125124
cibw_archs: "aarch64"
126125
- os: windows-latest
127126
cibw_archs: "auto64"
@@ -131,20 +130,14 @@ jobs:
131130
cibw_archs: "arm64"
132131

133132
steps:
134-
- name: Set up QEMU
135-
if: matrix.cibw_archs == 'aarch64'
136-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
137-
with:
138-
platforms: arm64
139-
140133
- name: Download sdist
141-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
134+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
142135
with:
143136
name: cibw-sdist
144137
path: dist/
145138

146139
- name: Build wheels for CPython 3.13
147-
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
140+
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
148141
with:
149142
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
150143
env:
@@ -155,40 +148,35 @@ jobs:
155148
CIBW_ARCHS: ${{ matrix.cibw_archs }}
156149

157150
- name: Build wheels for CPython 3.12
158-
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
151+
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
159152
with:
160153
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
161154
env:
162155
CIBW_BUILD: "cp312-*"
163156
CIBW_ARCHS: ${{ matrix.cibw_archs }}
164157

165158
- name: Build wheels for CPython 3.11
166-
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
159+
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
167160
with:
168161
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
169162
env:
170163
CIBW_BUILD: "cp311-*"
171164
CIBW_ARCHS: ${{ matrix.cibw_archs }}
172165

173-
- name: Build wheels for CPython 3.10
174-
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
175-
with:
176-
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
177-
env:
178-
CIBW_BUILD: "cp310-*"
179-
CIBW_ARCHS: ${{ matrix.cibw_archs }}
180166

181167
- name: Build wheels for PyPy
182-
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
168+
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
183169
with:
184170
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
185171
env:
186-
CIBW_BUILD: "pp310-*"
172+
CIBW_BUILD: "pp311-*"
187173
CIBW_ARCHS: ${{ matrix.cibw_archs }}
188174
CIBW_ENABLE: pypy
175+
# No wheels available for Pillow with pp311 yet.
176+
CIBW_TEST_SKIP: "pp311*"
189177
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
190178

191-
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
179+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
192180
with:
193181
name: cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
194182
path: ./wheelhouse/*.whl
@@ -206,7 +194,7 @@ jobs:
206194
contents: read
207195
steps:
208196
- name: Download packages
209-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
197+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
210198
with:
211199
pattern: cibw-*
212200
path: dist
@@ -216,9 +204,9 @@ jobs:
216204
run: ls dist
217205

218206
- name: Generate artifact attestation for sdist and wheel
219-
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
207+
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
220208
with:
221209
subject-path: dist/matplotlib-*
222210

223211
- name: Publish package distributions to PyPI
224-
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
212+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4

.github/workflows/circleci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: GitHub Action step
1313
uses:
14-
scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1 # v1.0.0
14+
scientific-python/circleci-artifacts-redirector-action@7eafdb60666f57706a5525a2f5eb76224dc8779b # v1.1.0
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
api-token: ${{ secrets.CIRCLECI_TOKEN }}
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Set up reviewdog
4343
if: "${{ steps.fetch-artifacts.outputs.count != 0 }}"
44-
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.0
44+
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.2
4545
with:
4646
reviewdog_version: latest
4747

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
34+
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
3535
with:
3636
languages: ${{ matrix.language }}
3737

@@ -42,4 +42,4 @@ jobs:
4242
pip install --user -v .
4343
4444
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
45+
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18

.github/workflows/cygwin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,21 +140,21 @@ jobs:
140140
# FreeType build fails with bash, succeeds with dash
141141

142142
- name: Cache pip
143-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
143+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
144144
with:
145145
path: C:\cygwin\home\runneradmin\.cache\pip
146146
key: Cygwin-py3.${{ matrix.python-minor-version }}-pip-${{ hashFiles('requirements/*/*.txt') }}
147147
restore-keys: ${{ matrix.os }}-py3.${{ matrix.python-minor-version }}-pip-
148148

149149
- name: Cache ccache
150-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
150+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
151151
with:
152152
path: C:\cygwin\home\runneradmin\.ccache
153153
key: Cygwin-py3.${{ matrix.python-minor-version }}-ccache-${{ hashFiles('src/*') }}
154154
restore-keys: Cygwin-py3.${{ matrix.python-minor-version }}-ccache-
155155

156156
- name: Cache Matplotlib
157-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
157+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
158158
with:
159159
path: |
160160
C:\cygwin\home\runneradmin\.cache\matplotlib

.github/workflows/mypy-stubtest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
persist-credentials: false
1818

1919
- name: Set up Python 3
20-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
20+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2121
with:
22-
python-version: '3.10'
22+
python-version: '3.11'
2323

2424
- name: Set up reviewdog
25-
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.9
25+
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.9
2626

2727
- name: Install tox
2828
run: python -m pip install tox
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
set -o pipefail
3535
tox -e stubtest | \
36-
sed -e "s!.tox/stubtest/lib/python3.10/site-packages!lib!g" | \
36+
sed -e "s!.tox/stubtest/lib/python3.11/site-packages!lib!g" | \
3737
reviewdog \
3838
-efm '%Eerror: %m' \
3939
-efm '%CStub: in file %f:%l' \

0 commit comments

Comments
 (0)