Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3344505

Browse files
committed
Merge branch 'main' into text-overhaul
2 parents e84ce2b + ebf9b14 commit 3344505

246 files changed

Lines changed: 8531 additions & 1810 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ body:
8282
options:
8383
- pip
8484
- conda
85+
- pixi
86+
- uv
8587
- Linux package manager
8688
- from source (.tar.gz)
8789
- git checkout

.github/workflows/cibuildwheel.yml

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}
4242

4343
steps:
44-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
44+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4545
with:
4646
fetch-depth: 0
4747
persist-credentials: false
4848

49-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
49+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5050
name: Install Python
5151
with:
5252
python-version: '3.11'
@@ -72,7 +72,7 @@ jobs:
7272
run: twine check dist/*
7373

7474
- name: Upload sdist result
75-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
75+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7676
with:
7777
name: cibw-sdist
7878
path: dist/*.tar.gz
@@ -137,7 +137,7 @@ jobs:
137137

138138
steps:
139139
- name: Download sdist
140-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
140+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
141141
with:
142142
name: cibw-sdist
143143
path: dist/
@@ -147,7 +147,7 @@ jobs:
147147
run: Remove-Item -Recurse C:\Strawberry
148148

149149
- name: Build wheels for CPython 3.14
150-
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
150+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
151151
with:
152152
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
153153
env:
@@ -157,7 +157,7 @@ jobs:
157157
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
158158

159159
- name: Build wheels for CPython 3.13
160-
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
160+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
161161
with:
162162
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
163163
env:
@@ -166,23 +166,23 @@ jobs:
166166
CIBW_ARCHS: ${{ matrix.cibw_archs }}
167167

168168
- name: Build wheels for CPython 3.12
169-
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
169+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
170170
with:
171171
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
172172
env:
173173
CIBW_BUILD: "cp312-*"
174174
CIBW_ARCHS: ${{ matrix.cibw_archs }}
175175

176176
- name: Build wheels for CPython 3.11
177-
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
177+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
178178
with:
179179
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
180180
env:
181181
CIBW_BUILD: "cp311-*"
182182
CIBW_ARCHS: ${{ matrix.cibw_archs }}
183183

184184
- name: Build wheels for PyPy
185-
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
185+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
186186
with:
187187
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
188188
env:
@@ -191,37 +191,8 @@ jobs:
191191
CIBW_ENABLE: pypy
192192
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
193193

194-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
194+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
195195
with:
196196
name: cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
197197
path: ./wheelhouse/*.whl
198198
if-no-files-found: error
199-
200-
publish:
201-
if: github.repository == 'matplotlib/matplotlib' && github.event_name == 'push' && github.ref_type == 'tag'
202-
name: Upload release to PyPI
203-
needs: [build_sdist, build_wheels]
204-
runs-on: ubuntu-latest
205-
environment: release
206-
permissions:
207-
id-token: write
208-
attestations: write
209-
contents: read
210-
steps:
211-
- name: Download packages
212-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
213-
with:
214-
pattern: cibw-*
215-
path: dist
216-
merge-multiple: true
217-
218-
- name: Print out packages
219-
run: ls dist
220-
221-
- name: Generate artifact attestation for sdist and wheel
222-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
223-
with:
224-
subject-path: dist/matplotlib-*
225-
226-
- name: Publish package distributions to PyPI
227-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0

.github/workflows/circleci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
name: Post warnings/errors as review
3030
steps:
31-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3232
with:
3333
persist-credentials: false
3434

@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Set up reviewdog
4343
if: "${{ steps.fetch-artifacts.outputs.count != 0 }}"
44-
uses: reviewdog/action-setup@d8edfce3dd5e1ec6978745e801f9c50b5ef80252 # v1.4.0
44+
uses: reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f # v1.5.0
4545
with:
4646
reviewdog_version: latest
4747

.github/workflows/clean_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
13+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1414
with:
1515
fetch-depth: '0'
1616
persist-credentials: false

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3131
with:
3232
persist-credentials: false
3333

3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
35+
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
3636
with:
3737
languages: ${{ matrix.language }}
3838

@@ -43,4 +43,4 @@ jobs:
4343
pip install --user -v .
4444
4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
46+
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9

.github/workflows/cygwin.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Fix line endings
8080
run: git config --global core.autocrlf input
8181

82-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
82+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8383
with:
8484
fetch-depth: 0
8585
persist-credentials: false
@@ -140,21 +140,21 @@ jobs:
140140
# FreeType build fails with bash, succeeds with dash
141141

142142
- name: Cache pip
143-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
143+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
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@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
150+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
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@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
157+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
158158
with:
159159
path: |
160160
C:\cygwin\home\runneradmin\.cache\matplotlib

.github/workflows/do_not_merge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ jobs:
1515
env:
1616
has_tag: >-
1717
${{contains(github.event.pull_request.labels.*.name, 'status: needs comment/discussion') ||
18-
contains(github.event.pull_request.labels.*.name, 'status: waiting for other PR')}}
18+
contains(github.event.pull_request.labels.*.name, 'status: waiting for other PR') ||
19+
contains(github.event.pull_request.labels.*.name, 'DO NOT MERGE') }}
1920
steps:
2021
- name: Check for label
2122
if: ${{'true' == env.has_tag}}
2223
run: |
2324
echo "This PR cannot be merged because it has one of the following labels: "
2425
echo "* status: needs comment/discussion"
2526
echo "* status: waiting for other PR"
27+
echo "* DO NOT MERGE"
2628
exit 1
2729
- name: Allow merging
2830
if: ${{'false' == env.has_tag}}

.github/workflows/linting.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
name: precommit
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
13+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1414
with:
1515
fetch-depth: 0
1616
persist-credentials: false
17-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
17+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1818
with:
1919
python-version: "3.x"
2020
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
@@ -27,20 +27,20 @@ jobs:
2727
permissions:
2828
checks: write
2929
steps:
30-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3131
with:
3232
persist-credentials: false
3333

3434
- name: Set up Python 3
35-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
35+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3636
with:
3737
python-version: '3.11'
3838

3939
- name: Install ruff
4040
run: pip3 install ruff
4141

4242
- name: Set up reviewdog
43-
uses: reviewdog/action-setup@d8edfce3dd5e1ec6978745e801f9c50b5ef80252 # v1.4.0
43+
uses: reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f # v1.5.0
4444

4545
- name: Run ruff
4646
env:
@@ -56,20 +56,20 @@ jobs:
5656
permissions:
5757
checks: write
5858
steps:
59-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
59+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6060
with:
6161
persist-credentials: false
6262

6363
- name: Set up Python 3
64-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
64+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
6565
with:
6666
python-version: '3.11'
6767

6868
- name: Install mypy
6969
run: pip3 install -r requirements/testing/mypy.txt -r requirements/testing/all.txt
7070

7171
- name: Set up reviewdog
72-
uses: reviewdog/action-setup@d8edfce3dd5e1ec6978745e801f9c50b5ef80252 # v1.4.0
72+
uses: reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f # v1.5.0
7373

7474
- name: Run mypy
7575
env:
@@ -87,7 +87,7 @@ jobs:
8787
permissions:
8888
checks: write
8989
steps:
90-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
90+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9191
with:
9292
persist-credentials: false
9393

.github/workflows/mypy-stubtest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
permissions:
1313
checks: write
1414
steps:
15-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1616
with:
1717
persist-credentials: false
1818

1919
- name: Set up Python 3
20-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
20+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2121
with:
2222
python-version: '3.11'
2323

2424
- name: Set up reviewdog
25-
uses: reviewdog/action-setup@d8edfce3dd5e1ec6978745e801f9c50b5ef80252 # v1.4.0
25+
uses: reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f # v1.5.0
2626

2727
- name: Install tox
2828
run: python -m pip install tox

.github/workflows/nightlies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
ls -l dist/
6060
6161
- name: Upload wheels to Anaconda Cloud as nightlies
62-
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
62+
uses: scientific-python/upload-nightly-action@5748273c71e2d8d3a61f3a11a16421c8954f9ecf # 0.6.3
6363
with:
6464
artifacts_path: dist
6565
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

0 commit comments

Comments
 (0)