]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
update dependencies
authorDavid Lord <davidism@gmail.com>
Tue, 27 Jun 2023 14:36:34 +0000 (07:36 -0700)
committerDavid Lord <davidism@gmail.com>
Tue, 27 Jun 2023 14:36:34 +0000 (07:36 -0700)
.github/workflows/tests.yaml
.pre-commit-config.yaml
requirements/dev.txt
requirements/docs.txt
requirements/tests.txt
requirements/typing.txt
setup.cfg
src/jinja2/environment.py
src/jinja2/runtime.py
src/jinja2/utils.py
tox.ini

index a85f6c7b3a4f00d866d58d4619df051db09b3ad2..0a839517dfa084e8a21670750335e526ebfc1f66 100644 (file)
@@ -32,7 +32,7 @@ jobs:
           - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
           - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
           - {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
-          - {name: 'PyPy', python: 'pypy-3.9', os: ubuntu-latest, tox: pypy39}
+          - {name: 'PyPy', python: 'pypy-3.10', os: ubuntu-latest, tox: pypy310}
           - {name: Typing, python: '3.11', os: ubuntu-latest, tox: typing}
     steps:
       - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
index a0053d0d2a81d859218160b188a5ede01fd94e48..37bd4c6351e34ea5afcf98624b8781b3b83d8f2e 100644 (file)
@@ -3,16 +3,15 @@ ci:
   autoupdate_schedule: monthly
 repos:
   - repo: https://github.com/asottile/pyupgrade
-    rev: v3.4.0
+    rev: v3.7.0
     hooks:
       - id: pyupgrade
         args: ["--py37-plus"]
   - repo: https://github.com/asottile/reorder-python-imports
-    rev: v3.9.0
+    rev: v3.10.0
     hooks:
       - id: reorder-python-imports
         args: ["--application-directories", "src"]
-        additional_dependencies: ["setuptools>60.9"]
   - repo: https://github.com/psf/black
     rev: 23.3.0
     hooks:
index 99a6f0346c0b618fc3cd3f768198d790da65ebd9..ed462080af871a81145f3a20ef5f26dcd8fb1537 100644 (file)
@@ -24,7 +24,7 @@ colorama==0.4.6
     # via tox
 distlib==0.3.6
     # via virtualenv
-filelock==3.12.0
+filelock==3.12.2
     # via
     #   tox
     #   virtualenv
@@ -36,13 +36,13 @@ pip-compile-multi==2.6.3
     # via -r requirements/dev.in
 pip-tools==6.13.0
     # via pip-compile-multi
-platformdirs==3.5.1
+platformdirs==3.8.0
     # via
     #   tox
     #   virtualenv
-pre-commit==3.3.2
+pre-commit==3.3.3
     # via -r requirements/dev.in
-pyproject-api==1.5.1
+pyproject-api==1.5.2
     # via tox
 pyproject-hooks==1.0.0
     # via build
@@ -50,9 +50,9 @@ pyyaml==6.0
     # via pre-commit
 toposort==1.10
     # via pip-compile-multi
-tox==4.5.2
+tox==4.6.3
     # via -r requirements/dev.in
-virtualenv==20.23.0
+virtualenv==20.23.1
     # via
     #   pre-commit
     #   tox
index 2c36046b0bf6a747cb745d4c1a32d6ae43facd6e..e125c59a491be6ffb7d5e3dc1217f86e8b3bb9d1 100644 (file)
@@ -21,13 +21,13 @@ imagesize==1.4.1
     # via sphinx
 jinja2==3.1.2
     # via sphinx
-markupsafe==2.1.2
+markupsafe==2.1.3
     # via jinja2
 packaging==23.1
     # via
     #   pallets-sphinx-themes
     #   sphinx
-pallets-sphinx-themes==2.1.0
+pallets-sphinx-themes==2.1.1
     # via -r requirements/docs.in
 pygments==2.15.1
     # via sphinx
@@ -57,5 +57,5 @@ sphinxcontrib-qthelp==1.0.3
     # via sphinx
 sphinxcontrib-serializinghtml==1.1.5
     # via sphinx
-urllib3==2.0.2
+urllib3==2.0.3
     # via requests
index 70ca162b742feac0b748319cae9dffc4cac95ea7..6168271c84d59a8f7f2ad1ff1d2bdc373a2c4d54 100644 (file)
@@ -11,9 +11,9 @@ iniconfig==2.0.0
     # via pytest
 packaging==23.1
     # via pytest
-pluggy==1.0.0
+pluggy==1.2.0
     # via pytest
-pytest==7.3.1
+pytest==7.4.0
     # via -r requirements/tests.in
 tomli==2.0.1
     # via pytest
index bc63c0f8497e92c26b2d6bd869c938f0707f9e89..e06fb524e3f300fa262190d5bc7ac2e7bf11f971 100644 (file)
@@ -5,11 +5,11 @@
 #
 #    pip-compile-multi
 #
-mypy==1.3.0
+mypy==1.4.1
     # via -r requirements/typing.in
 mypy-extensions==1.0.0
     # via mypy
 tomli==2.0.1
     # via mypy
-typing-extensions==4.6.2
+typing-extensions==4.6.3
     # via mypy
index cc85bd2f2040d447fd725dd501f31d8ce86f51af..b4531db1259662cece24f25610ecda6955ffaf4e 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,7 +44,6 @@ babel.extractors =
 testpaths = tests
 filterwarnings =
     error
-    ignore:ast:DeprecationWarning
 
 [coverage:run]
 branch = True
index 9ec7fe76fbd9abfdbdc34e583dddef32fc669761..185d33246e395cc9a905bf7a05e5abdf1a1bbe5e 100644 (file)
@@ -920,7 +920,7 @@ class Environment:
                 )
 
             def filter_func(x: str) -> bool:
-                return "." in x and x.rsplit(".", 1)[1] in extensions  # type: ignore
+                return "." in x and x.rsplit(".", 1)[1] in extensions
 
         if filter_func is not None:
             names = [name for name in names if filter_func(name)]
index 93e21b45bd4bc82c7eec85f9ffba817e66df6774..58a540ba3f4486790ab268d6eb8ecbd15c2837c1 100644 (file)
@@ -927,9 +927,7 @@ def make_logging_undefined(
         logger.addHandler(logging.StreamHandler(sys.stderr))
 
     def _log_message(undef: Undefined) -> None:
-        logger.warning(  # type: ignore
-            "Template variable warning: %s", undef._undefined_message
-        )
+        logger.warning("Template variable warning: %s", undef._undefined_message)
 
     class LoggingUndefined(base):  # type: ignore
         __slots__ = ()
index 94525a0e68d2127fa999ca830692cc95234ec0d0..18914a58fd3620b43ad98afd0fcb0a5758d764e9 100644 (file)
@@ -259,7 +259,7 @@ def urlize(
     if trim_url_limit is not None:
 
         def trim_url(x: str) -> str:
-            if len(x) > trim_url_limit:  # type: ignore
+            if len(x) > trim_url_limit:
                 return f"{x[:trim_url_limit]}..."
 
             return x
diff --git a/tox.ini b/tox.ini
index db5eccb4774f966bfa6cd62615658993894fbfb0..a58978c9e79d8d423f0b98746db256e314503091 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
 [tox]
 envlist =
     py3{12,11,10,9,8,7}
-    pypy39
+    pypy310
     style
     typing
     docs