update 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 051df10 · Browse files · 12 files·+52 added−54 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
12 files+52 added−54 removed
- tests:+5 added−0 removed
- other:+47 added−54 removed
Provenance
- Commit
ae312b3- Tree
deb1dca- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
051df10
12 files changed+52 added−54 removed
modified:requirements/build.txt+4 added-6 removed
3 unmodified lines4 # To update, run:5 #6 # pip-compile-multi7 #8-build==0.9.08+build==0.10.09 # via -r requirements/build.in10-packaging==23.010+packaging==23.111 # via build12-pep517==0.13.012+pyproject-hooks==1.0.013 # via build14 tomli==2.0.115- # via16- # build17- # pep51715+ # via buildmodified:requirements/dev.txt+16 added-16 removed
6 unmodified lines7 #8 -r docs.txt9 -r tests.txt10 -r typing.txt11-build==0.9.011+build==0.10.012 # via pip-tools13-cachetools==5.2.013+cachetools==5.3.114 # via tox15 cfgv==3.3.116 # via pre-commit17 chardet==5.1.05 unmodified lines23 colorama==0.4.624 # via tox25 distlib==0.3.626 # via virtualenv27-filelock==3.9.027+filelock==3.12.028 # via29 # tox30 # virtualenv31-identify==2.5.1131+identify==2.5.2432 # via pre-commit33-nodeenv==1.7.033+nodeenv==1.8.034 # via pre-commit35-pep517==0.13.036- # via build37-pip-compile-multi==2.6.135+pip-compile-multi==2.6.336 # via -r requirements/dev.in39-pip-tools==6.12.137+pip-tools==6.13.038 # via pip-compile-multi41-platformdirs==2.6.239+platformdirs==3.5.140 # via41 # tox42 # virtualenv45-pre-commit==2.21.043+pre-commit==3.3.244 # via -r requirements/dev.in47-pyproject-api==1.2.145+pyproject-api==1.5.146 # via tox47+pyproject-hooks==1.0.048+ # via build49 pyyaml==6.050 # via pre-commit51-toposort==1.751+toposort==1.1052 # via pip-compile-multi53-tox==4.1.053+tox==4.5.254 # via -r requirements/dev.in55-virtualenv==20.17.155+virtualenv==20.23.056 # via57 # pre-commit58 # tox59-wheel==0.38.459+wheel==0.40.060 # via pip-tools61 62 # The following packages are considered to be unsafe in a requirements file:63 # pip1 unmodified linemodified:requirements/docs.txt+14 added-16 removed
3 unmodified lines4 # To update, run:5 #6 # pip-compile-multi7 #8-alabaster==0.7.128+alabaster==0.7.139 # via sphinx10-babel==2.11.010+babel==2.12.111 # via sphinx12-certifi==2022.12.712+certifi==2023.5.713 # via requests14-charset-normalizer==2.1.114+charset-normalizer==3.1.015 # via requests16-docutils==0.1916+docutils==0.20.117 # via sphinx18 idna==3.419 # via requests20 imagesize==1.4.121 # via sphinx22 jinja2==3.1.223 # via sphinx24-markupsafe==2.1.124+markupsafe==2.1.225 # via jinja226-packaging==22.026+packaging==23.127 # via28 # pallets-sphinx-themes29 # sphinx30-pallets-sphinx-themes==2.0.330+pallets-sphinx-themes==2.1.031 # via -r requirements/docs.in32-pygments==2.13.032+pygments==2.15.133 # via sphinx34-pytz==2022.735- # via babel36-requests==2.28.134+requests==2.31.035 # via sphinx36 snowballstemmer==2.2.037 # via sphinx40-sphinx==6.0.038+sphinx==7.0.139 # via40 # -r requirements/docs.in41 # pallets-sphinx-themes42 # sphinx-issues43 # sphinxcontrib-log-cabinet44 sphinx-issues==3.0.145 # via -r requirements/docs.in48-sphinxcontrib-applehelp==1.0.246+sphinxcontrib-applehelp==1.0.447 # via sphinx48 sphinxcontrib-devhelp==1.0.249 # via sphinx52-sphinxcontrib-htmlhelp==2.0.050+sphinxcontrib-htmlhelp==2.0.151 # via sphinx52 sphinxcontrib-jsmath==1.0.153 # via sphinx54 sphinxcontrib-log-cabinet==1.0.11 unmodified line56 sphinxcontrib-qthelp==1.0.357 # via sphinx58 sphinxcontrib-serializinghtml==1.1.559 # via sphinx62-urllib3==1.26.1360+urllib3==2.0.261 # via requestsmodified:requirements/tests.txt+4 added-6 removed
3 unmodified lines4 # To update, run:5 #6 # pip-compile-multi7 #8-attrs==22.2.08+exceptiongroup==1.1.19 # via pytest10-exceptiongroup==1.1.010+iniconfig==2.0.011 # via pytest12-iniconfig==1.1.112+packaging==23.113 # via pytest14-packaging==22.015- # via pytest14 pluggy==1.0.015 # via pytest18-pytest==7.2.016+pytest==7.3.117 # via -r requirements/tests.in18 tomli==2.0.119 # via pytestmodified:requirements/typing.txt+3 added-3 removed
3 unmodified lines4 # To update, run:5 #6 # pip-compile-multi7 #8-mypy==0.9918+mypy==1.3.09 # via -r requirements/typing.in10-mypy-extensions==0.4.310+mypy-extensions==1.0.011 # via mypy12 tomli==2.0.113 # via mypy14-typing-extensions==4.4.014+typing-extensions==4.6.215 # via mypymodified:src/jinja2/environment.py+1 added-1 removed
699 unmodified lines700 method in.701 702 .. versionadded:: 2.5703 """704- return compile(source, filename, "exec") # type: ignore704+ return compile(source, filename, "exec")705 706 @typing.overload707 def compile( # type: ignore708 self,959 unmodified linesmodified:src/jinja2/nativetypes.py+1 added-1 removed
104 unmodified lines105 ctx = self.new_context(dict(*args, **kwargs))106 107 try:108 return self.environment_class.concat( # type: ignore109- self.root_render_func(ctx) # type: ignore109+ self.root_render_func(ctx)110 )111 except Exception:112 return self.environment.handle_exception()113 17 unmodified linesmodified:src/jinja2/utils.py+1 added-1 removed
180 unmodified lines181 182 183 def pformat(obj: t.Any) -> str:184 """Format an object using :func:`pprint.pformat`."""185- from pprint import pformat # type: ignore185+ from pprint import pformat186 187 return pformat(obj)188 189 566 unmodified linesmodified:tests/test_filters.py+2 added
868 unmodified lines869 assert t1.render() == t2.render() == "foo"870 871 with pytest.raises(TemplateRuntimeError, match="No filter named 'f'"):872 t1.render(x=42)873+874+ with pytest.raises(TemplateRuntimeError, match="No filter named 'f'"):875 t2.render(x=42)modified:tests/test_inheritance.py+3 added
353 unmodified lines354 }355 )356 )357 tmpl = env.get_template("child")358+359 with pytest.raises(TemplateSyntaxError):360 tmpl.render(default="default1", seq=list(range(3)))361+362+ with pytest.raises(TemplateSyntaxError):363 tmpl.render(default="default2", seq=list(range(3)))364 365 366 class TestBugFix:50 unmodified linesmodified:.pre-commit-config.yaml+2 added-2 removed
1 unmodified line2 autoupdate_branch: "3.1.x"3 autoupdate_schedule: monthly4 repos:5 - repo: https://github.com/asottile/pyupgrade6- rev: v3.3.26+ rev: v3.4.07 hooks:8 - id: pyupgrade9 args: ["--py37-plus"]10 - repo: https://github.com/asottile/reorder_python_imports11 unmodified lines22 hooks:23 - id: flake824 additional_dependencies: [flake8-bugbear]25 - repo: https://github.com/peterdemin/pip-compile-multi26- rev: v2.6.226+ rev: v2.6.327 hooks:28 - id: pip-compile-multi-verify29 - repo: https://github.com/pre-commit/pre-commit-hooks30 rev: v4.4.04 unmodified linesmodified:setup.cfg+1 added-2 removed
42 unmodified lines43 [tool:pytest]44 testpaths = tests45 filterwarnings =46 error47- # Python 3.9 raises a deprecation from internal asyncio code.48- ignore:The loop argument:DeprecationWarning:asyncio[.]base_events:54247+ ignore:ast:DeprecationWarning48 49 [coverage:run]50 branch = True51 source =31 unmodified lines