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

Skip to content

Commit eee6586

Browse files
committed
Merge branch 'main' into text-overhaul
2 parents 88de239 + a01f57d commit eee6586

85 files changed

Lines changed: 2429 additions & 466 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/workflows/cibuildwheel.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ on:
1818
- reopened
1919
- labeled
2020

21-
permissions:
22-
contents: read
21+
permissions: {}
2322

2423
jobs:
2524
build_sdist:
@@ -37,6 +36,8 @@ jobs:
3736
)
3837
name: Build sdist
3938
runs-on: ubuntu-latest
39+
permissions:
40+
contents: read
4041
outputs:
4142
SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}
4243

@@ -72,7 +73,7 @@ jobs:
7273
run: twine check dist/*
7374

7475
- name: Upload sdist result
75-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
76+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
7677
with:
7778
name: cibw-sdist
7879
path: dist/*.tar.gz
@@ -93,6 +94,8 @@ jobs:
9394
)
9495
needs: build_sdist
9596
name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
97+
permissions:
98+
contents: read
9699
runs-on: ${{ matrix.os }}
97100
env:
98101
CIBW_BEFORE_BUILD: >-
@@ -137,7 +140,7 @@ jobs:
137140

138141
steps:
139142
- name: Download sdist
140-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
143+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
141144
with:
142145
name: cibw-sdist
143146
path: dist/
@@ -147,7 +150,7 @@ jobs:
147150
run: Remove-Item -Recurse C:\Strawberry
148151

149152
- name: Build wheels for CPython 3.14
150-
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
153+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
151154
with:
152155
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
153156
env:
@@ -157,7 +160,7 @@ jobs:
157160
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
158161

159162
- name: Build wheels for CPython 3.13
160-
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
163+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
161164
with:
162165
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
163166
env:
@@ -166,23 +169,23 @@ jobs:
166169
CIBW_ARCHS: ${{ matrix.cibw_archs }}
167170

168171
- name: Build wheels for CPython 3.12
169-
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
172+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
170173
with:
171174
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
172175
env:
173176
CIBW_BUILD: "cp312-*"
174177
CIBW_ARCHS: ${{ matrix.cibw_archs }}
175178

176179
- name: Build wheels for CPython 3.11
177-
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
180+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
178181
with:
179182
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
180183
env:
181184
CIBW_BUILD: "cp311-*"
182185
CIBW_ARCHS: ${{ matrix.cibw_archs }}
183186

184187
- name: Build wheels for PyPy
185-
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
188+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
186189
with:
187190
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
188191
env:
@@ -191,7 +194,7 @@ jobs:
191194
CIBW_ENABLE: pypy
192195
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
193196

194-
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
197+
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
195198
with:
196199
name: cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
197200
path: ./wheelhouse/*.whl

.github/workflows/circleci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
name: "CircleCI artifact handling"
33
on: [status]
4+
5+
permissions: {}
6+
47
jobs:
58
circleci_artifacts_redirector_job:
69
if: "${{ github.event.context == 'ci/circleci: docs-python3' }}"

.github/workflows/clean_pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
name: PR cleanliness
33
on: [pull_request]
44

5-
permissions:
6-
contents: read
5+
permissions: {}
76

87
jobs:
98
pr_clean:
109
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
1112

1213
steps:
1314
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
schedule:
1111
- cron: '45 19 * * 1'
1212

13+
permissions: {}
14+
1315
jobs:
1416
analyze:
1517
if: github.repository == 'matplotlib/matplotlib'
@@ -32,7 +34,7 @@ jobs:
3234
persist-credentials: false
3335

3436
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
37+
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
3638
with:
3739
languages: ${{ matrix.language }}
3840

@@ -43,4 +45,4 @@ jobs:
4345
pip install --user -v .
4446
4547
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
48+
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6

.github/workflows/conflictcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
pull_request_target:
1010
types: [synchronize]
1111

12+
permissions: {}
13+
1214
jobs:
1315
main:
1416
if: github.repository == 'matplotlib/matplotlib'

.github/workflows/cygwin.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ on:
3030
- cron: "47 5 * * 6"
3131
workflow_dispatch:
3232

33-
permissions:
34-
contents: read
33+
permissions: {}
3534

3635
env:
3736
NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test.
@@ -47,6 +46,8 @@ jobs:
4746

4847
test-cygwin:
4948
runs-on: windows-latest
49+
permissions:
50+
contents: read
5051
name: Python 3.${{ matrix.python-minor-version }} on Cygwin
5152
# Enable these when Cygwin has Python 3.12.
5253
if: >-

.github/workflows/good-first-issue.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
issues:
55
types:
66
- labeled
7+
8+
permissions: {}
9+
710
jobs:
811
add-comment:
912
if: github.event.label.name == 'Good first issue'

.github/workflows/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: "Pull Request Labeler"
33
on:
44
- pull_request_target
55

6+
permissions: {}
7+
68
jobs:
79
labeler:
810
permissions:

.github/workflows/linting.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
name: Linting
33
on: [pull_request]
44

5-
permissions:
6-
contents: read
5+
permissions: {}
76

87
jobs:
98
pre-commit:
109
name: precommit
1110
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1213
steps:
1314
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1415
with:
@@ -25,6 +26,7 @@ jobs:
2526
name: ruff
2627
runs-on: ubuntu-latest
2728
permissions:
29+
contents: read
2830
checks: write
2931
steps:
3032
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -54,6 +56,7 @@ jobs:
5456
name: mypy
5557
runs-on: ubuntu-latest
5658
permissions:
59+
contents: read
5760
checks: write
5861
steps:
5962
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -85,6 +88,7 @@ jobs:
8588
name: eslint
8689
runs-on: ubuntu-latest
8790
permissions:
91+
contents: read
8892
checks: write
8993
steps:
9094
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/mypy-stubtest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
name: Mypy Stubtest
33
on: [pull_request]
44

5-
permissions:
6-
contents: read
5+
permissions: {}
76

87
jobs:
98
mypy-stubtest:
109
name: mypy-stubtest
1110
runs-on: ubuntu-latest
1211
permissions:
12+
contents: read
1313
checks: write
1414
steps:
1515
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)