Skip to content

Commit 43d95a1

Browse files
Merge remote-tracking branch 'origin/main' into nedelcu-ioan-main
2 parents 323fb82 + 77481a6 commit 43d95a1

File tree

218 files changed

+2280
-1254
lines changed

Some content is hidden

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

218 files changed

+2280
-1254
lines changed

.github/FUNDING.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
# These are supported funding model platforms
2-
32
tidelift: "pypi/pylint"
4-
github:
5-
[
6-
PCManticore,
7-
Pierre-Sassoulas,
8-
cdce8p,
9-
hippo91,
10-
AWhetter,
11-
DanielNoord,
12-
areveny,
13-
DudeNr33,
14-
jacobtylerwalls,
15-
matusvalo,
16-
yushao2,
17-
]
3+
github: [cdce8p, DanielNoord, jacobtylerwalls,Pierre-Sassoulas]

.github/workflows/backport.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ on:
66
- labeled
77

88
permissions:
9-
pull-requests: write
9+
actions: write
1010
contents: write
11+
pull-requests: write
1112

1213
jobs:
1314
backport:

.github/workflows/changelog.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3030
id: python
31-
uses: actions/setup-python@v5.4.0
31+
uses: actions/setup-python@v5.6.0
3232
with:
3333
python-version: ${{ env.DEFAULT_PYTHON }}
3434
check-latest: true
@@ -41,7 +41,7 @@ jobs:
4141
$GITHUB_OUTPUT
4242
- name: Restore Python virtual environment
4343
id: cache-venv
44-
uses: actions/[email protected].0
44+
uses: actions/[email protected].3
4545
with:
4646
path: venv
4747
key: >-
@@ -52,9 +52,8 @@ jobs:
5252
run: |
5353
python -m venv venv
5454
. venv/bin/activate
55-
python -m pip install -U pip setuptools wheel
56-
pip install -U -r requirements_test.txt
57-
pip install -U -r doc/requirements.txt
55+
python -m pip install --upgrade pip setuptools wheel
56+
pip install --upgrade --requirement requirements_test.txt --requirement doc/requirements.txt
5857
- name: Emit warning if news fragment is missing
5958
env:
6059
BASE_BRANCH: ${{ github.base_ref }}

.github/workflows/checks.yaml

+15-17
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- "maintenance/**"
1212

1313
env:
14-
CACHE_VERSION: 2
14+
CACHE_VERSION: 3
1515
KEY_PREFIX: base-venv
1616
DEFAULT_PYTHON: "3.13"
1717
PRE_COMMIT_CACHE: ~/.cache/pre-commit
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/[email protected]
3737
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3838
id: python
39-
uses: actions/setup-python@v5.4.0
39+
uses: actions/setup-python@v5.6.0
4040
with:
4141
python-version: ${{ env.DEFAULT_PYTHON }}
4242
check-latest: true
@@ -49,7 +49,7 @@ jobs:
4949
$GITHUB_OUTPUT
5050
- name: Restore Python virtual environment
5151
id: cache-venv
52-
uses: actions/[email protected].0
52+
uses: actions/[email protected].3
5353
with:
5454
path: venv
5555
key: >-
@@ -60,9 +60,8 @@ jobs:
6060
run: |
6161
python -m venv venv
6262
. venv/bin/activate
63-
python -m pip install -U pip setuptools wheel
64-
pip install -U -r requirements_test.txt
65-
pip install -U -r doc/requirements.txt
63+
python -m pip install --upgrade pip setuptools wheel
64+
pip install --upgrade --requirement requirements_test.txt --requirement doc/requirements.txt
6665
pip install pre-commit
6766
- name: Generate pre-commit restore key
6867
id: generate-pre-commit-key
@@ -71,7 +70,7 @@ jobs:
7170
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
7271
- name: Restore pre-commit environment
7372
id: cache-precommit
74-
uses: actions/[email protected].0
73+
uses: actions/[email protected].3
7574
with:
7675
path: ${{ env.PRE_COMMIT_CACHE }}
7776
key: >-
@@ -92,13 +91,13 @@ jobs:
9291
uses: actions/[email protected]
9392
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
9493
id: python
95-
uses: actions/setup-python@v5.4.0
94+
uses: actions/setup-python@v5.6.0
9695
with:
9796
python-version: ${{ env.DEFAULT_PYTHON }}
9897
check-latest: true
9998
- name: Restore Python virtual environment
10099
id: cache-venv
101-
uses: actions/[email protected].0
100+
uses: actions/[email protected].3
102101
with:
103102
path: venv
104103
fail-on-cache-miss: true
@@ -107,7 +106,7 @@ jobs:
107106
needs.prepare-base.outputs.python-key }}
108107
- name: Restore pre-commit environment
109108
id: cache-precommit
110-
uses: actions/[email protected].0
109+
uses: actions/[email protected].3
111110
with:
112111
path: ${{ env.PRE_COMMIT_CACHE }}
113112
fail-on-cache-miss: true
@@ -133,13 +132,13 @@ jobs:
133132
uses: actions/[email protected]
134133
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
135134
id: python
136-
uses: actions/setup-python@v5.4.0
135+
uses: actions/setup-python@v5.6.0
137136
with:
138137
python-version: ${{ env.DEFAULT_PYTHON }}
139138
check-latest: true
140139
- name: Restore Python virtual environment
141140
id: cache-venv
142-
uses: actions/[email protected].0
141+
uses: actions/[email protected].3
143142
with:
144143
path: venv
145144
fail-on-cache-miss: true
@@ -161,13 +160,13 @@ jobs:
161160
uses: actions/[email protected]
162161
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
163162
id: python
164-
uses: actions/setup-python@v5.4.0
163+
uses: actions/setup-python@v5.6.0
165164
with:
166165
python-version: ${{ env.DEFAULT_PYTHON }}
167166
check-latest: true
168167
- name: Restore Python virtual environment
169168
id: cache-venv
170-
uses: actions/[email protected].0
169+
uses: actions/[email protected].3
171170
with:
172171
path: venv
173172
fail-on-cache-miss: true
@@ -181,11 +180,10 @@ jobs:
181180
- name: Check documentation build and links
182181
run: |
183182
. venv/bin/activate
184-
cd doc
185-
pre-commit run --hook-stage push sphinx-generated-doc --all-files || {
183+
tox -e docs || {
186184
echo "git diff:" ; \
187185
git diff ; \
188186
echo "End of 'git diff'" ; \
189-
echo "Make sure that 'make html' succeed without any modifications locally." ; \
187+
echo "Make sure that 'tox -e docs' succeed without any modifications locally." ; \
190188
exit 1; \
191189
}

.github/workflows/primer-test.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
timeout-minutes: 5
3131
strategy:
3232
matrix:
33-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
33+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3434
outputs:
3535
python-key: ${{ steps.generate-python-key.outputs.key }}
3636
steps:
3737
- name: Check out code from GitHub
3838
uses: actions/[email protected]
3939
- name: Set up Python ${{ matrix.python-version }}
4040
id: python
41-
uses: actions/setup-python@v5.4.0
41+
uses: actions/setup-python@v5.6.0
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
check-latest: true
@@ -51,7 +51,7 @@ jobs:
5151
$GITHUB_OUTPUT
5252
- name: Restore Python virtual environment
5353
id: cache-venv
54-
uses: actions/[email protected].0
54+
uses: actions/[email protected].3
5555
with:
5656
path: venv
5757
key: >-
@@ -62,8 +62,8 @@ jobs:
6262
run: |
6363
python -m venv venv
6464
. venv/bin/activate
65-
python -m pip install -U pip setuptools wheel
66-
pip install -U -r requirements_test.txt
65+
python -m pip install --upgrade pip setuptools wheel
66+
pip install --upgrade --requirement requirements_test.txt
6767
6868
pytest-primer-stdlib:
6969
name: run on stdlib / ${{ matrix.python-version }} / Linux
@@ -72,19 +72,19 @@ jobs:
7272
needs: prepare-tests-linux
7373
strategy:
7474
matrix:
75-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
75+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
7676
steps:
7777
- name: Check out code from GitHub
7878
uses: actions/[email protected]
7979
- name: Set up Python ${{ matrix.python-version }}
8080
id: python
81-
uses: actions/setup-python@v5.4.0
81+
uses: actions/setup-python@v5.6.0
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484
check-latest: true
8585
- name: Restore Python virtual environment
8686
id: cache-venv
87-
uses: actions/[email protected].0
87+
uses: actions/[email protected].3
8888
with:
8989
path: venv
9090
fail-on-cache-miss: true

.github/workflows/primer_comment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
uses: actions/[email protected]
3434
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3535
id: python
36-
uses: actions/setup-python@v5.4.0
36+
uses: actions/setup-python@v5.6.0
3737
with:
3838
python-version: ${{ env.DEFAULT_PYTHON }}
3939
check-latest: true
4040

4141
# Restore cached Python environment
4242
- name: Restore Python virtual environment
4343
id: cache-venv
44-
uses: actions/[email protected].0
44+
uses: actions/[email protected].3
4545
with:
4646
path: venv
4747
key:

.github/workflows/primer_run_main.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
uses: actions/[email protected]
3838
- name: Set up Python ${{ matrix.python-version }}
3939
id: python
40-
uses: actions/setup-python@v5.4.0
40+
uses: actions/setup-python@v5.6.0
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343
check-latest: true
4444

4545
# Create a re-usable virtual environment
4646
- name: Restore Python virtual environment cache
4747
id: cache-venv
48-
uses: actions/cache/[email protected].0
48+
uses: actions/cache/[email protected].3
4949
with:
5050
path: venv
5151
key:
@@ -58,12 +58,12 @@ jobs:
5858
run: |
5959
python -m venv venv
6060
. venv/bin/activate
61-
python -m pip install -U pip setuptools wheel
62-
pip install -U -r requirements_test.txt
61+
python -m pip install --upgrade pip setuptools wheel
62+
pip install --upgrade --requirement requirements_test.txt
6363
# Save cached Python environment (explicit because cancel-in-progress: true)
6464
- name: Save Python virtual environment to cache
6565
if: steps.cache-venv.outputs.cache-hit != 'true'
66-
uses: actions/cache/[email protected].0
66+
uses: actions/cache/[email protected].3
6767
with:
6868
path: venv
6969
key:
@@ -82,7 +82,7 @@ jobs:
8282
echo "commitstring=$output" >> $GITHUB_OUTPUT
8383
- name: Restore projects cache
8484
id: cache-projects
85-
uses: actions/cache/[email protected].0
85+
uses: actions/cache/[email protected].3
8686
with:
8787
path: tests/.pylint_primer_tests/
8888
key: >-
@@ -95,14 +95,14 @@ jobs:
9595
python tests/primer/__main__.py prepare --clone
9696
- name: Save projects cache
9797
if: steps.cache-projects.outputs.cache-hit != 'true'
98-
uses: actions/cache/[email protected].0
98+
uses: actions/cache/[email protected].3
9999
with:
100100
path: tests/.pylint_primer_tests/
101101
key: >-
102102
${{ runner.os }}-${{ matrix.python-version }}-${{
103103
steps.commitstring.outputs.commitstring }}-primer
104104
- name: Upload commit string
105-
uses: actions/[email protected].0
105+
uses: actions/[email protected].2
106106
if: matrix.batchIdx == 0
107107
with:
108108
name: primer_commitstring_${{ matrix.python-version }}
@@ -123,7 +123,7 @@ jobs:
123123
then echo "::warning ::$WARNINGS"
124124
fi
125125
- name: Upload output
126-
uses: actions/[email protected].0
126+
uses: actions/[email protected].2
127127
with:
128128
name:
129129
primer_output_main_${{ matrix.python-version }}_batch${{ matrix.batchIdx }}

0 commit comments

Comments
 (0)