update dev dependencies
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent c8fdce1 · Browse files · 9 files·+31 added−31 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
9 files+31 added−31 removed
- other:+31 added−31 removed
Provenance
- Commit
eda8fe8- Tree
ffccb9a- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
c8fdce1
9 files changed+31 added−31 removed
modified:.github/workflows/publish.yaml+3 added-3 removed
21 unmodified lines2223242526262728293032 unmodified lines6364656667676869707171727321 unmodified lines # Generate hashes used for provenance. - name: generate hash id: hash run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: path: ./dist provenance: needs: [build]32 unmodified lines permissions: id-token: write steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 - uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3 - uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3 with: repository-url: https://test.pypi.org/legacy/ packages-dir: artifact/ - uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3 - uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3 with: packages-dir: artifact/modified:.github/workflows/tests.yaml+1 added-1 removed
41 unmodified lines424344454646474849505141 unmodified lines python-version: '3.x' cache: pip cache-dependency-path: requirements*/*.txt - name: cache mypy uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ./.mypy_cache key: mypy|${{ hashFiles('pyproject.toml') }} - run: pip install tox - run: tox run -e typingmodified:requirements/build.txt+1 added-1 removed
4 unmodified lines5 # pip-compile build.in6 #7 build==1.2.2.post18 # via -r build.in9-packaging==24.19+packaging==24.210 # via build11 pyproject-hooks==1.2.012 # via buildmodified:requirements/dev.txt+16 added-16 removed
4 unmodified lines5 # pip-compile dev.in6 #7 alabaster==1.0.08 # via sphinx9-attrs==24.2.09+attrs==24.3.010 # via11 # outcome12 # trio13 babel==2.16.01 unmodified line15 build==1.2.2.post116 # via pip-tools17 cachetools==5.5.018 # via tox19-certifi==2024.8.3019+certifi==2024.12.1420 # via requests21 cfgv==3.4.022 # via pre-commit23 chardet==5.2.013 unmodified lines37 filelock==3.16.138 # via39 # tox40 # virtualenv41-identify==2.6.141+identify==2.6.342 # via pre-commit43 idna==3.1044 # via45 # requests5 unmodified lines51 jinja2==3.1.452 # via sphinx53 markupsafe==3.0.254 # via jinja255-mypy==1.13.056- # via -r typing.in55+mypy==1.14.056+ # via -r /Users/david/Projects/jinja/requirements/typing.in57 mypy-extensions==1.0.058 # via mypy59 nodeenv==1.9.160 # via pre-commit61 outcome==1.3.0.post062 # via trio63-packaging==24.163+packaging==24.264 # via65 # build66 # pallets-sphinx-themes67 # pyproject-api68 # pytest69 # sphinx70 # tox71 pallets-sphinx-themes==2.3.072- # via -r docs.in73-pip-compile-multi==2.6.472+ # via -r /Users/david/Projects/jinja/requirements/docs.in73+pip-compile-multi==2.7.174 # via -r dev.in75 pip-tools==7.4.176 # via pip-compile-multi77 platformdirs==4.3.613 unmodified lines91 pyproject-hooks==1.2.092 # via93 # build94 # pip-tools95-pytest==8.3.396- # via -r tests.in95+pytest==8.3.496+ # via -r /Users/david/Projects/jinja/requirements/tests.in97 pyyaml==6.0.298 # via pre-commit99 requests==2.32.3100 # via sphinx4 unmodified lines105 sortedcontainers==2.4.0106 # via trio107 sphinx==8.1.3108 # via109- # -r docs.in109+ # -r /Users/david/Projects/jinja/requirements/docs.in110 # pallets-sphinx-themes111 # sphinx-issues112 # sphinx-notfound-page113 # sphinxcontrib-log-cabinet114 sphinx-issues==5.0.0115- # via -r docs.in115+ # via -r /Users/david/Projects/jinja/requirements/docs.in116 sphinx-notfound-page==1.0.4117 # via pallets-sphinx-themes118 sphinxcontrib-applehelp==2.0.0119 # via sphinx3 unmodified lines123 # via sphinx124 sphinxcontrib-jsmath==1.0.1125 # via sphinx126 sphinxcontrib-log-cabinet==1.0.1127- # via -r docs.in127+ # via -r /Users/david/Projects/jinja/requirements/docs.in128 sphinxcontrib-qthelp==2.0.0129 # via sphinx130 sphinxcontrib-serializinghtml==2.0.0131 # via sphinx1 unmodified line133 # via pip-compile-multi134 tox==4.23.2135 # via -r dev.in136 trio==0.27.0137- # via -r tests.in137+ # via -r /Users/david/Projects/jinja/requirements/tests.in138 typing-extensions==4.12.2139 # via mypy140 urllib3==2.2.3141 # via requests142-virtualenv==20.27.0142+virtualenv==20.28.0143 # via144 # pre-commit145 # tox146-wheel==0.44.0146+wheel==0.45.1147 # via pip-tools148 149 # The following packages are considered to be unsafe in a requirements file:150 # pip1 unmodified linemodified:requirements/docs.txt+2 added-2 removed
6 unmodified lines7 alabaster==1.0.08 # via sphinx9 babel==2.16.010 # via sphinx11-certifi==2024.8.3011+certifi==2024.12.1412 # via requests13 charset-normalizer==3.4.014 # via requests15 docutils==0.21.25 unmodified lines21 jinja2==3.1.422 # via sphinx23 markupsafe==3.0.224 # via jinja225-packaging==24.125+packaging==24.226 # via27 # pallets-sphinx-themes28 # sphinx29 pallets-sphinx-themes==2.3.034 unmodified linesmodified:requirements/tests.txt+3 added-3 removed
2 unmodified lines3 # by the following command:4 #5 # pip-compile tests.in6 #7-attrs==24.2.07+attrs==24.3.08 # via9 # outcome10 # trio11 idna==3.101 unmodified line13 iniconfig==2.0.014 # via pytest15 outcome==1.3.0.post016 # via trio17-packaging==24.117+packaging==24.218 # via pytest19 pluggy==1.5.020 # via pytest21-pytest==8.3.321+pytest==8.3.422 # via -r tests.in23 sniffio==1.3.124 # via trio25 sortedcontainers==2.4.03 unmodified linesmodified:requirements/typing.txt+1 added-1 removed
2 unmodified lines3 # by the following command:4 #5 # pip-compile typing.in6 #7-mypy==1.13.07+mypy==1.14.08 # via -r typing.in9 mypy-extensions==1.0.010 # via mypy11 typing-extensions==4.12.21 unmodified linemodified:src/jinja2/lexer.py+3 added-3 removed
260 unmodified lines261 ) -> None:262 self.message = message263 self.error_class = cls264 265- def __call__(self, lineno: int, filename: str) -> "te.NoReturn":265+ def __call__(self, lineno: int, filename: t.Optional[str]) -> "te.NoReturn":266 raise self.error_class(self.message, lineno, filename)267 268 269 class Token(t.NamedTuple):486 unmodified lines756 groups = [text[:l_pos], *groups[1:]]757 758 for idx, token in enumerate(tokens):759 # failure group760- if token.__class__ is Failure:760+ if isinstance(token, Failure):761 raise token(lineno, filename)762 # bygroup is a bit more complex, in that case we763 # yield for the current token the first named764 # group that matched12 unmodified lines777 else:778 data = groups[idx]779 780 if data or token not in ignore_if_empty:781- yield lineno, token, data781+ yield lineno, token, data # type: ignore[misc]782 783 lineno += data.count("\n") + newlines_stripped784 newlines_stripped = 0785 83 unmodified linesmodified:.pre-commit-config.yaml+1 added-1 removed
1 ci:2 autoupdate_schedule: monthly3 repos:4 - repo: https://github.com/astral-sh/ruff-pre-commit5- rev: v0.7.15+ rev: v0.8.46 hooks:7 - id: ruff8 - id: ruff-format9 - repo: https://github.com/pre-commit/pre-commit-hooks7 unmodified lines