Skip to content
Myr

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

12 files+52 added−54 removed

modified:requirements/build.txt+4 added-6 removed
3 unmodified lines
4# To update, run:5#6# pip-compile-multi7#8build==0.9.08build==0.10.09 # via -r requirements/build.in10packaging==23.010packaging==23.111 # via build12pep517==0.13.012pyproject-hooks==1.0.013 # via build14tomli==2.0.115 # via16 # build17 # pep51715 # via build
modified:requirements/dev.txt+16 added-16 removed
6 unmodified lines
7#8-r docs.txt9-r tests.txt10-r typing.txt11build==0.9.011build==0.10.012 # via pip-tools13cachetools==5.2.013cachetools==5.3.114 # via tox15cfgv==3.3.116 # via pre-commit17chardet==5.1.0
5 unmodified lines
23colorama==0.4.624 # via tox25distlib==0.3.626 # via virtualenv27filelock==3.9.027filelock==3.12.028 # via29 # tox30 # virtualenv31identify==2.5.1131identify==2.5.2432 # via pre-commit33nodeenv==1.7.033nodeenv==1.8.034 # via pre-commit35pep517==0.13.036 # via build37pip-compile-multi==2.6.135pip-compile-multi==2.6.336 # via -r requirements/dev.in39pip-tools==6.12.137pip-tools==6.13.038 # via pip-compile-multi41platformdirs==2.6.239platformdirs==3.5.140 # via41 # tox42 # virtualenv45pre-commit==2.21.043pre-commit==3.3.244 # via -r requirements/dev.in47pyproject-api==1.2.145pyproject-api==1.5.146 # via tox47pyproject-hooks==1.0.048 # via build49pyyaml==6.050 # via pre-commit51toposort==1.751toposort==1.1052 # via pip-compile-multi53tox==4.1.053tox==4.5.254 # via -r requirements/dev.in55virtualenv==20.17.155virtualenv==20.23.056 # via57 # pre-commit58 # tox59wheel==0.38.459wheel==0.40.060 # via pip-tools6162# The following packages are considered to be unsafe in a requirements file:63# pip
1 unmodified line
modified:requirements/docs.txt+14 added-16 removed
3 unmodified lines
4# To update, run:5#6# pip-compile-multi7#8alabaster==0.7.128alabaster==0.7.139 # via sphinx10babel==2.11.010babel==2.12.111 # via sphinx12certifi==2022.12.712certifi==2023.5.713 # via requests14charset-normalizer==2.1.114charset-normalizer==3.1.015 # via requests16docutils==0.1916docutils==0.20.117 # via sphinx18idna==3.419 # via requests20imagesize==1.4.121 # via sphinx22jinja2==3.1.223 # via sphinx24markupsafe==2.1.124markupsafe==2.1.225 # via jinja226packaging==22.026packaging==23.127 # via28 # pallets-sphinx-themes29 # sphinx30pallets-sphinx-themes==2.0.330pallets-sphinx-themes==2.1.031 # via -r requirements/docs.in32pygments==2.13.032pygments==2.15.133 # via sphinx34pytz==2022.735 # via babel36requests==2.28.134requests==2.31.035 # via sphinx36snowballstemmer==2.2.037 # via sphinx40sphinx==6.0.038sphinx==7.0.139 # via40 # -r requirements/docs.in41 # pallets-sphinx-themes42 # sphinx-issues43 # sphinxcontrib-log-cabinet44sphinx-issues==3.0.145 # via -r requirements/docs.in48sphinxcontrib-applehelp==1.0.246sphinxcontrib-applehelp==1.0.447 # via sphinx48sphinxcontrib-devhelp==1.0.249 # via sphinx52sphinxcontrib-htmlhelp==2.0.050sphinxcontrib-htmlhelp==2.0.151 # via sphinx52sphinxcontrib-jsmath==1.0.153 # via sphinx54sphinxcontrib-log-cabinet==1.0.1
1 unmodified line
56sphinxcontrib-qthelp==1.0.357 # via sphinx58sphinxcontrib-serializinghtml==1.1.559 # via sphinx62urllib3==1.26.1360urllib3==2.0.261 # via requests
modified:requirements/tests.txt+4 added-6 removed
3 unmodified lines
4# To update, run:5#6# pip-compile-multi7#8attrs==22.2.08exceptiongroup==1.1.19 # via pytest10exceptiongroup==1.1.010iniconfig==2.0.011 # via pytest12iniconfig==1.1.112packaging==23.113 # via pytest14packaging==22.015 # via pytest14pluggy==1.0.015 # via pytest18pytest==7.2.016pytest==7.3.117 # via -r requirements/tests.in18tomli==2.0.119 # via pytest
modified:requirements/typing.txt+3 added-3 removed
3 unmodified lines
4# To update, run:5#6# pip-compile-multi7#8mypy==0.9918mypy==1.3.09 # via -r requirements/typing.in10mypy-extensions==0.4.310mypy-extensions==1.0.011 # via mypy12tomli==2.0.113 # via mypy14typing-extensions==4.4.014typing-extensions==4.6.215 # via mypy
modified:src/jinja2/environment.py+1 added-1 removed
699 unmodified lines
700 method in.701702 .. versionadded:: 2.5703 """704 return compile(source, filename, "exec") # type: ignore704 return compile(source, filename, "exec")705706 @typing.overload707 def compile( # type: ignore708 self,
959 unmodified lines
modified:src/jinja2/nativetypes.py+1 added-1 removed
104 unmodified lines
105 ctx = self.new_context(dict(*args, **kwargs))106107 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 lines
modified:src/jinja2/utils.py+1 added-1 removed
180 unmodified lines
181182183def pformat(obj: t.Any) -> str:184 """Format an object using :func:`pprint.pformat`."""185 from pprint import pformat # type: ignore185 from pprint import pformat186187 return pformat(obj)188189
566 unmodified lines
modified:tests/test_filters.py+2 added
868 unmodified lines
869 assert t1.render() == t2.render() == "foo"870871 with pytest.raises(TemplateRuntimeError, match="No filter named 'f'"):872 t1.render(x=42)873874 with pytest.raises(TemplateRuntimeError, match="No filter named 'f'"):875 t2.render(x=42)
modified:tests/test_inheritance.py+3 added
353 unmodified lines
354 }355 )356 )357 tmpl = env.get_template("child")358359 with pytest.raises(TemplateSyntaxError):360 tmpl.render(default="default1", seq=list(range(3)))361362 with pytest.raises(TemplateSyntaxError):363 tmpl.render(default="default2", seq=list(range(3)))364365366class TestBugFix:
50 unmodified lines
modified:.pre-commit-config.yaml+2 added-2 removed
1 unmodified line
2 autoupdate_branch: "3.1.x"3 autoupdate_schedule: monthly4repos: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_imports
11 unmodified lines
22 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.0
4 unmodified lines
modified:setup.cfg+1 added-2 removed
42 unmodified lines
43[tool:pytest]44testpaths = tests45filterwarnings =46 error47 # Python 3.9 raises a deprecation from internal asyncio code.48 ignore:The loop argument:DeprecationWarning:asyncio[.]base_events:54247 ignore:ast:DeprecationWarning4849[coverage:run]50branch = True51source =
31 unmodified lines