Skip to content

Commit 165af0a

Browse files
committed
update dev dependencies
1 parent 235c52f commit 165af0a

10 files changed

Lines changed: 64 additions & 58 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
11+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
1212
with:
1313
python-version: 3.x
1414
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
hash: ${{ steps.hash.outputs.hash }}
1111
steps:
1212
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
13+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
1414
with:
1515
python-version: '3.x'
1616
cache: pip
@@ -23,7 +23,7 @@ jobs:
2323
- name: generate hash
2424
id: hash
2525
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
26-
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
26+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2727
with:
2828
path: ./dist
2929
provenance:
@@ -33,7 +33,7 @@ jobs:
3333
id-token: write
3434
contents: write
3535
# Can't pin with hash due to how this workflow works.
36-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
36+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
3737
with:
3838
base64-subjects: ${{ needs.build.outputs.hash }}
3939
create-release:
@@ -44,7 +44,7 @@ jobs:
4444
permissions:
4545
contents: write
4646
steps:
47-
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
47+
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
4848
- name: create release
4949
run: >
5050
gh release create --draft --repo ${{ github.repository }}
@@ -63,7 +63,7 @@ jobs:
6363
permissions:
6464
id-token: write
6565
steps:
66-
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
67-
- uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
66+
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
67+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
6868
with:
6969
packages-dir: artifact/

.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- {name: Development Versions, python: '3.9', tox: py-dev}
2626
steps:
2727
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
28+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
2929
with:
3030
python-version: ${{ matrix.python }}
3131
allow-prereleases: true
@@ -37,13 +37,13 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
40+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
4141
with:
4242
python-version: '3.x'
4343
cache: pip
4444
cache-dependency-path: requirements*/*.txt
4545
- name: cache mypy
46-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
46+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4747
with:
4848
path: ./.mypy_cache
4949
key: mypy|${{ hashFiles('pyproject.toml') }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.7.3
3+
rev: v0.11.2
44
hooks:
55
- id: ruff
66
- id: ruff-format

requirements/dev.txt

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ asgiref==3.8.1
1212
# via
1313
# -r /Users/david/Projects/flask/requirements/tests.txt
1414
# -r /Users/david/Projects/flask/requirements/typing.txt
15-
babel==2.16.0
15+
babel==2.17.0
1616
# via
1717
# -r /Users/david/Projects/flask/requirements/docs.txt
1818
# sphinx
19-
cachetools==5.5.0
19+
cachetools==5.5.2
2020
# via tox
21-
certifi==2024.8.30
21+
certifi==2025.1.31
2222
# via
2323
# -r /Users/david/Projects/flask/requirements/docs.txt
2424
# requests
@@ -30,13 +30,13 @@ cfgv==3.4.0
3030
# via pre-commit
3131
chardet==5.2.0
3232
# via tox
33-
charset-normalizer==3.4.0
33+
charset-normalizer==3.4.1
3434
# via
3535
# -r /Users/david/Projects/flask/requirements/docs.txt
3636
# requests
3737
colorama==0.4.6
3838
# via tox
39-
cryptography==43.0.3
39+
cryptography==44.0.2
4040
# via -r /Users/david/Projects/flask/requirements/typing.txt
4141
distlib==0.3.9
4242
# via virtualenv
@@ -45,11 +45,11 @@ docutils==0.21.2
4545
# -r /Users/david/Projects/flask/requirements/docs.txt
4646
# sphinx
4747
# sphinx-tabs
48-
filelock==3.16.1
48+
filelock==3.18.0
4949
# via
5050
# tox
5151
# virtualenv
52-
identify==2.6.2
52+
identify==2.6.9
5353
# via pre-commit
5454
idna==3.10
5555
# via
@@ -59,20 +59,20 @@ imagesize==1.4.1
5959
# via
6060
# -r /Users/david/Projects/flask/requirements/docs.txt
6161
# sphinx
62-
iniconfig==2.0.0
62+
iniconfig==2.1.0
6363
# via
6464
# -r /Users/david/Projects/flask/requirements/tests.txt
6565
# -r /Users/david/Projects/flask/requirements/typing.txt
6666
# pytest
67-
jinja2==3.1.4
67+
jinja2==3.1.6
6868
# via
6969
# -r /Users/david/Projects/flask/requirements/docs.txt
7070
# sphinx
7171
markupsafe==3.0.2
7272
# via
7373
# -r /Users/david/Projects/flask/requirements/docs.txt
7474
# jinja2
75-
mypy==1.13.0
75+
mypy==1.15.0
7676
# via -r /Users/david/Projects/flask/requirements/typing.txt
7777
mypy-extensions==1.0.0
7878
# via
@@ -95,7 +95,7 @@ packaging==24.2
9595
# tox
9696
pallets-sphinx-themes==2.3.0
9797
# via -r /Users/david/Projects/flask/requirements/docs.txt
98-
platformdirs==4.3.6
98+
platformdirs==4.3.7
9999
# via
100100
# tox
101101
# virtualenv
@@ -105,26 +105,26 @@ pluggy==1.5.0
105105
# -r /Users/david/Projects/flask/requirements/typing.txt
106106
# pytest
107107
# tox
108-
pre-commit==4.0.1
108+
pre-commit==4.2.0
109109
# via -r dev.in
110110
pycparser==2.22
111111
# via
112112
# -r /Users/david/Projects/flask/requirements/typing.txt
113113
# cffi
114-
pygments==2.18.0
114+
pygments==2.19.1
115115
# via
116116
# -r /Users/david/Projects/flask/requirements/docs.txt
117117
# sphinx
118118
# sphinx-tabs
119-
pyproject-api==1.8.0
119+
pyproject-api==1.9.0
120120
# via tox
121-
pyright==1.1.389
121+
pyright==1.1.398
122122
# via -r /Users/david/Projects/flask/requirements/typing.txt
123-
pytest==8.3.3
123+
pytest==8.3.5
124124
# via
125125
# -r /Users/david/Projects/flask/requirements/tests.txt
126126
# -r /Users/david/Projects/flask/requirements/typing.txt
127-
python-dotenv==1.0.1
127+
python-dotenv==1.1.0
128128
# via
129129
# -r /Users/david/Projects/flask/requirements/tests.txt
130130
# -r /Users/david/Projects/flask/requirements/typing.txt
@@ -134,18 +134,22 @@ requests==2.32.3
134134
# via
135135
# -r /Users/david/Projects/flask/requirements/docs.txt
136136
# sphinx
137+
roman-numerals-py==3.1.0
138+
# via
139+
# -r /Users/david/Projects/flask/requirements/docs.txt
140+
# sphinx
137141
snowballstemmer==2.2.0
138142
# via
139143
# -r /Users/david/Projects/flask/requirements/docs.txt
140144
# sphinx
141-
sphinx==8.1.3
145+
sphinx==8.2.3
142146
# via
143147
# -r /Users/david/Projects/flask/requirements/docs.txt
144148
# pallets-sphinx-themes
145149
# sphinx-notfound-page
146150
# sphinx-tabs
147151
# sphinxcontrib-log-cabinet
148-
sphinx-notfound-page==1.0.4
152+
sphinx-notfound-page==1.1.0
149153
# via
150154
# -r /Users/david/Projects/flask/requirements/docs.txt
151155
# pallets-sphinx-themes
@@ -177,22 +181,22 @@ sphinxcontrib-serializinghtml==2.0.0
177181
# via
178182
# -r /Users/david/Projects/flask/requirements/docs.txt
179183
# sphinx
180-
tox==4.23.2
184+
tox==4.25.0
181185
# via -r dev.in
182186
types-contextvars==2.4.7.3
183187
# via -r /Users/david/Projects/flask/requirements/typing.txt
184188
types-dataclasses==0.6.6
185189
# via -r /Users/david/Projects/flask/requirements/typing.txt
186-
typing-extensions==4.12.2
190+
typing-extensions==4.13.0
187191
# via
188192
# -r /Users/david/Projects/flask/requirements/typing.txt
189193
# mypy
190194
# pyright
191-
urllib3==2.2.3
195+
urllib3==2.3.0
192196
# via
193197
# -r /Users/david/Projects/flask/requirements/docs.txt
194198
# requests
195-
virtualenv==20.27.1
199+
virtualenv==20.29.3
196200
# via
197201
# pre-commit
198202
# tox

requirements/docs.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#
77
alabaster==1.0.0
88
# via sphinx
9-
babel==2.16.0
9+
babel==2.17.0
1010
# via sphinx
11-
certifi==2024.8.30
11+
certifi==2025.1.31
1212
# via requests
13-
charset-normalizer==3.4.0
13+
charset-normalizer==3.4.1
1414
# via requests
1515
docutils==0.21.2
1616
# via
@@ -20,7 +20,7 @@ idna==3.10
2020
# via requests
2121
imagesize==1.4.1
2222
# via sphinx
23-
jinja2==3.1.4
23+
jinja2==3.1.6
2424
# via sphinx
2525
markupsafe==3.0.2
2626
# via jinja2
@@ -30,22 +30,24 @@ packaging==24.2
3030
# sphinx
3131
pallets-sphinx-themes==2.3.0
3232
# via -r docs.in
33-
pygments==2.18.0
33+
pygments==2.19.1
3434
# via
3535
# sphinx
3636
# sphinx-tabs
3737
requests==2.32.3
3838
# via sphinx
39+
roman-numerals-py==3.1.0
40+
# via sphinx
3941
snowballstemmer==2.2.0
4042
# via sphinx
41-
sphinx==8.1.3
43+
sphinx==8.2.3
4244
# via
4345
# -r docs.in
4446
# pallets-sphinx-themes
4547
# sphinx-notfound-page
4648
# sphinx-tabs
4749
# sphinxcontrib-log-cabinet
48-
sphinx-notfound-page==1.0.4
50+
sphinx-notfound-page==1.1.0
4951
# via pallets-sphinx-themes
5052
sphinx-tabs==3.4.7
5153
# via -r docs.in
@@ -63,5 +65,5 @@ sphinxcontrib-qthelp==2.0.0
6365
# via sphinx
6466
sphinxcontrib-serializinghtml==2.0.0
6567
# via sphinx
66-
urllib3==2.2.3
68+
urllib3==2.3.0
6769
# via requests

requirements/tests.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
#
77
asgiref==3.8.1
88
# via -r tests.in
9-
iniconfig==2.0.0
9+
iniconfig==2.1.0
1010
# via pytest
1111
packaging==24.2
1212
# via pytest
1313
pluggy==1.5.0
1414
# via pytest
15-
pytest==8.3.3
15+
pytest==8.3.5
1616
# via -r tests.in
17-
python-dotenv==1.0.1
17+
python-dotenv==1.1.0
1818
# via -r tests.in

requirements/typing.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ asgiref==3.8.1
88
# via -r typing.in
99
cffi==1.17.1
1010
# via cryptography
11-
cryptography==43.0.3
11+
cryptography==44.0.2
1212
# via -r typing.in
13-
iniconfig==2.0.0
13+
iniconfig==2.1.0
1414
# via pytest
15-
mypy==1.13.0
15+
mypy==1.15.0
1616
# via -r typing.in
1717
mypy-extensions==1.0.0
1818
# via mypy
@@ -24,17 +24,17 @@ pluggy==1.5.0
2424
# via pytest
2525
pycparser==2.22
2626
# via cffi
27-
pyright==1.1.389
27+
pyright==1.1.398
2828
# via -r typing.in
29-
pytest==8.3.3
29+
pytest==8.3.5
3030
# via -r typing.in
31-
python-dotenv==1.0.1
31+
python-dotenv==1.1.0
3232
# via -r typing.in
3333
types-contextvars==2.4.7.3
3434
# via -r typing.in
3535
types-dataclasses==0.6.6
3636
# via -r typing.in
37-
typing-extensions==4.12.2
37+
typing-extensions==4.13.0
3838
# via
3939
# mypy
4040
# pyright

src/flask/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ def __init__(
265265
# For one, it might be created while the server is running (e.g. during
266266
# development). Also, Google App Engine stores static files somewhere
267267
if self.has_static_folder:
268-
assert (
269-
bool(static_host) == host_matching
270-
), "Invalid static_host/host_matching combination"
268+
assert bool(static_host) == host_matching, (
269+
"Invalid static_host/host_matching combination"
270+
)
271271
# Use a weakref to avoid creating a reference cycle between the app
272272
# and the view function (see #3761).
273273
self_ref = weakref.ref(self)

src/flask/testing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ def __init__(
5858
) -> None:
5959
assert not (base_url or subdomain or url_scheme) or (
6060
base_url is not None
61-
) != bool(
62-
subdomain or url_scheme
63-
), 'Cannot pass "subdomain" or "url_scheme" with "base_url".'
61+
) != bool(subdomain or url_scheme), (
62+
'Cannot pass "subdomain" or "url_scheme" with "base_url".'
63+
)
6464

6565
if base_url is None:
6666
http_host = app.config.get("SERVER_NAME") or "localhost"

0 commit comments

Comments
 (0)