Skip to content

Commit eda8fe8

Browse files
committed
update dev dependencies
1 parent c8fdce1 commit eda8fe8

File tree

9 files changed

+31
-31
lines changed

9 files changed

+31
-31
lines changed

Diff for: .github/workflows/publish.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -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@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
2727
with:
2828
path: ./dist
2929
provenance:
@@ -64,10 +64,10 @@ jobs:
6464
id-token: write
6565
steps:
6666
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
67-
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
67+
- uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
6868
with:
6969
repository-url: https://test.pypi.org/legacy/
7070
packages-dir: artifact/
71-
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
71+
- uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
7272
with:
7373
packages-dir: artifact/

Diff for: .github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4747
with:
4848
path: ./.mypy_cache
4949
key: mypy|${{ hashFiles('pyproject.toml') }}

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ci:
22
autoupdate_schedule: monthly
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.7.1
5+
rev: v0.8.4
66
hooks:
77
- id: ruff
88
- id: ruff-format

Diff for: requirements/build.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
build==1.2.2.post1
88
# via -r build.in
9-
packaging==24.1
9+
packaging==24.2
1010
# via build
1111
pyproject-hooks==1.2.0
1212
# via build

Diff for: requirements/dev.txt

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
alabaster==1.0.0
88
# via sphinx
9-
attrs==24.2.0
9+
attrs==24.3.0
1010
# via
1111
# outcome
1212
# trio
@@ -16,7 +16,7 @@ build==1.2.2.post1
1616
# via pip-tools
1717
cachetools==5.5.0
1818
# via tox
19-
certifi==2024.8.30
19+
certifi==2024.12.14
2020
# via requests
2121
cfgv==3.4.0
2222
# via pre-commit
@@ -38,7 +38,7 @@ filelock==3.16.1
3838
# via
3939
# tox
4040
# virtualenv
41-
identify==2.6.1
41+
identify==2.6.3
4242
# via pre-commit
4343
idna==3.10
4444
# via
@@ -52,15 +52,15 @@ jinja2==3.1.4
5252
# via sphinx
5353
markupsafe==3.0.2
5454
# via jinja2
55-
mypy==1.13.0
56-
# via -r typing.in
55+
mypy==1.14.0
56+
# via -r /Users/david/Projects/jinja/requirements/typing.in
5757
mypy-extensions==1.0.0
5858
# via mypy
5959
nodeenv==1.9.1
6060
# via pre-commit
6161
outcome==1.3.0.post0
6262
# via trio
63-
packaging==24.1
63+
packaging==24.2
6464
# via
6565
# build
6666
# pallets-sphinx-themes
@@ -69,8 +69,8 @@ packaging==24.1
6969
# sphinx
7070
# tox
7171
pallets-sphinx-themes==2.3.0
72-
# via -r docs.in
73-
pip-compile-multi==2.6.4
72+
# via -r /Users/david/Projects/jinja/requirements/docs.in
73+
pip-compile-multi==2.7.1
7474
# via -r dev.in
7575
pip-tools==7.4.1
7676
# via pip-compile-multi
@@ -92,8 +92,8 @@ pyproject-hooks==1.2.0
9292
# via
9393
# build
9494
# pip-tools
95-
pytest==8.3.3
96-
# via -r tests.in
95+
pytest==8.3.4
96+
# via -r /Users/david/Projects/jinja/requirements/tests.in
9797
pyyaml==6.0.2
9898
# via pre-commit
9999
requests==2.32.3
@@ -106,13 +106,13 @@ sortedcontainers==2.4.0
106106
# via trio
107107
sphinx==8.1.3
108108
# via
109-
# -r docs.in
109+
# -r /Users/david/Projects/jinja/requirements/docs.in
110110
# pallets-sphinx-themes
111111
# sphinx-issues
112112
# sphinx-notfound-page
113113
# sphinxcontrib-log-cabinet
114114
sphinx-issues==5.0.0
115-
# via -r docs.in
115+
# via -r /Users/david/Projects/jinja/requirements/docs.in
116116
sphinx-notfound-page==1.0.4
117117
# via pallets-sphinx-themes
118118
sphinxcontrib-applehelp==2.0.0
@@ -124,7 +124,7 @@ sphinxcontrib-htmlhelp==2.1.0
124124
sphinxcontrib-jsmath==1.0.1
125125
# via sphinx
126126
sphinxcontrib-log-cabinet==1.0.1
127-
# via -r docs.in
127+
# via -r /Users/david/Projects/jinja/requirements/docs.in
128128
sphinxcontrib-qthelp==2.0.0
129129
# via sphinx
130130
sphinxcontrib-serializinghtml==2.0.0
@@ -134,16 +134,16 @@ toposort==1.10
134134
tox==4.23.2
135135
# via -r dev.in
136136
trio==0.27.0
137-
# via -r tests.in
137+
# via -r /Users/david/Projects/jinja/requirements/tests.in
138138
typing-extensions==4.12.2
139139
# via mypy
140140
urllib3==2.2.3
141141
# via requests
142-
virtualenv==20.27.0
142+
virtualenv==20.28.0
143143
# via
144144
# pre-commit
145145
# tox
146-
wheel==0.44.0
146+
wheel==0.45.1
147147
# via pip-tools
148148

149149
# The following packages are considered to be unsafe in a requirements file:

Diff for: requirements/docs.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ alabaster==1.0.0
88
# via sphinx
99
babel==2.16.0
1010
# via sphinx
11-
certifi==2024.8.30
11+
certifi==2024.12.14
1212
# via requests
1313
charset-normalizer==3.4.0
1414
# via requests
@@ -22,7 +22,7 @@ jinja2==3.1.4
2222
# via sphinx
2323
markupsafe==3.0.2
2424
# via jinja2
25-
packaging==24.1
25+
packaging==24.2
2626
# via
2727
# pallets-sphinx-themes
2828
# sphinx

Diff for: requirements/tests.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile tests.in
66
#
7-
attrs==24.2.0
7+
attrs==24.3.0
88
# via
99
# outcome
1010
# trio
@@ -14,11 +14,11 @@ iniconfig==2.0.0
1414
# via pytest
1515
outcome==1.3.0.post0
1616
# via trio
17-
packaging==24.1
17+
packaging==24.2
1818
# via pytest
1919
pluggy==1.5.0
2020
# via pytest
21-
pytest==8.3.3
21+
pytest==8.3.4
2222
# via -r tests.in
2323
sniffio==1.3.1
2424
# via trio

Diff for: requirements/typing.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile typing.in
66
#
7-
mypy==1.13.0
7+
mypy==1.14.0
88
# via -r typing.in
99
mypy-extensions==1.0.0
1010
# via mypy

Diff for: src/jinja2/lexer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def __init__(
262262
self.message = message
263263
self.error_class = cls
264264

265-
def __call__(self, lineno: int, filename: str) -> "te.NoReturn":
265+
def __call__(self, lineno: int, filename: t.Optional[str]) -> "te.NoReturn":
266266
raise self.error_class(self.message, lineno, filename)
267267

268268

@@ -757,7 +757,7 @@ def tokeniter(
757757

758758
for idx, token in enumerate(tokens):
759759
# failure group
760-
if token.__class__ is Failure:
760+
if isinstance(token, Failure):
761761
raise token(lineno, filename)
762762
# bygroup is a bit more complex, in that case we
763763
# yield for the current token the first named
@@ -778,7 +778,7 @@ def tokeniter(
778778
data = groups[idx]
779779

780780
if data or token not in ignore_if_empty:
781-
yield lineno, token, data
781+
yield lineno, token, data # type: ignore[misc]
782782

783783
lineno += data.count("\n") + newlines_stripped
784784
newlines_stripped = 0

0 commit comments

Comments
 (0)