]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Update all deps in requirements.txt 3602/head
authorBen Darnell <ben@bendarnell.com>
Mon, 23 Mar 2026 17:00:14 +0000 (13:00 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 23 Mar 2026 17:13:35 +0000 (13:13 -0400)
Most notably includes a new mypy which required a few small
changes.

Closes #3580

.github/workflows/test.yml
requirements.txt
tornado/locale.py
tornado/test/auth_test.py
tornado/test/web_test.py

index fb4beaf8fc0ec0d5149a451547947437e89b4935..8bbef1d042bac1bed0d30e6f20bd9c17349fd263 100644 (file)
@@ -85,7 +85,7 @@ jobs:
           - python: '3.14'
             tox_env: py314
           - python: '3.14t-dev'
-            tox_env: py314
+            tox_env: py314t
           - python: '3.15-dev'
             tox_env: py315
           - python: '3.10.8'
index 8317a1775be23721fe5026bba9a5e37d834a5f20..9af3bd586df07be66a22551a1e451b78edda50d9 100644 (file)
@@ -6,55 +6,56 @@
 #
 alabaster==1.0.0
     # via sphinx
-babel==2.17.0
+babel==2.18.0
     # via sphinx
 black==26.3.1
     # via -r requirements.in
-build==1.2.2.post1
+build==1.4.0
     # via pip-tools
-cachetools==5.5.2
+cachetools==7.0.5
     # via tox
-certifi==2025.4.26
+certifi==2026.2.25
     # via requests
-chardet==5.2.0
-    # via tox
-charset-normalizer==3.4.2
+charset-normalizer==3.4.6
     # via requests
-click==8.2.1
+click==8.3.1
     # via
     #   black
     #   pip-tools
 colorama==0.4.6
     # via tox
-distlib==0.3.9
+distlib==0.4.0
     # via virtualenv
-docutils==0.21.2
+docutils==0.22.4
     # via
     #   sphinx
     #   sphinx-rtd-theme
-filelock==3.20.3
+filelock==3.25.2
     # via
+    #   python-discovery
     #   tox
     #   virtualenv
-flake8==7.2.0
+flake8==7.3.0
     # via -r requirements.in
-idna==3.10
+idna==3.11
     # via requests
-imagesize==1.4.1
+imagesize==2.0.0
     # via sphinx
 jinja2==3.1.6
     # via sphinx
-markupsafe==3.0.2
+librt==0.8.1
+    # via mypy
+markupsafe==3.0.3
     # via jinja2
 mccabe==0.7.0
     # via flake8
-mypy==1.15.0
+mypy==1.19.1
     # via -r requirements.in
 mypy-extensions==1.1.0
     # via
     #   black
     #   mypy
-packaging==25.0
+packaging==26.0
     # via
     #   black
     #   build
@@ -63,42 +64,47 @@ packaging==25.0
     #   tox
     #   wheel
 pathspec==1.0.4
-    # via black
-pip-tools==7.4.1
+    # via
+    #   black
+    #   mypy
+pip-tools==7.5.3
     # via -r requirements.in
-platformdirs==4.3.8
+platformdirs==4.9.4
     # via
     #   black
+    #   python-discovery
     #   tox
     #   virtualenv
 pluggy==1.6.0
     # via tox
-pycodestyle==2.13.0
+pycodestyle==2.14.0
     # via flake8
-pyflakes==3.3.2
+pyflakes==3.4.0
     # via flake8
-pygments==2.19.1
+pygments==2.19.2
     # via sphinx
-pyproject-api==1.9.1
+pyproject-api==1.10.0
     # via tox
 pyproject-hooks==1.2.0
     # via
     #   build
     #   pip-tools
+python-discovery==1.2.0
+    # via virtualenv
 pytokens==0.4.1
     # via black
-requests==2.32.4
+requests==2.32.5
     # via sphinx
-roman-numerals-py==3.1.0
+roman-numerals==4.1.0
     # via sphinx
 snowballstemmer==3.0.1
     # via sphinx
-sphinx==8.2.3
+sphinx==9.0.4
     # via
     #   -r requirements.in
     #   sphinx-rtd-theme
     #   sphinxcontrib-jquery
-sphinx-rtd-theme==3.0.2
+sphinx-rtd-theme==3.1.0
     # via -r requirements.in
 sphinxcontrib-applehelp==2.0.0
     # via sphinx
@@ -114,17 +120,19 @@ sphinxcontrib-qthelp==2.0.0
     # via sphinx
 sphinxcontrib-serializinghtml==2.0.0
     # via sphinx
-tox==4.26.0
+tomli-w==1.2.0
+    # via tox
+tox==4.50.3
     # via -r requirements.in
-types-pycurl==7.45.6.20250309
+types-pycurl==7.45.7.20260316
     # via -r requirements.in
-typing-extensions==4.13.2
+typing-extensions==4.15.0
     # via mypy
 urllib3==2.6.3
     # via requests
-virtualenv==20.36.1
+virtualenv==21.2.0
     # via tox
-wheel==0.46.2
+wheel==0.46.3
     # via pip-tools
 
 # The following packages are considered to be unsafe in a requirements file:
index 51c2cfc898b4871e37573c1c10f41947711ca230..c09eebc15f835c0a4af80c466deede9fb86f99f3 100644 (file)
@@ -434,7 +434,7 @@ class Locale:
 
     def format_day(
         self, date: datetime.datetime, gmt_offset: int = 0, dow: bool = True
-    ) -> bool:
+    ) -> str:
         """Formats the given date as a day of week.
 
         Example: "Monday, January 22". You can remove the day of week with
index 58f7423382c3fa6665a86a6ebf061edd9b5de894..28fa73094675165c8b0727fe4cfd3ad6212d607f 100644 (file)
@@ -69,8 +69,7 @@ class OAuth1ClientLoginHandler(RequestHandler, OAuthMixin):
             return
         yield self.authorize_redirect(http_client=self.settings["http_client"])
 
-    @gen.coroutine
-    def _oauth_get_user_future(self, access_token):
+    async def _oauth_get_user_future(self, access_token):
         if self.get_argument("fail_in_get_user", None):
             raise Exception("failing in get_user")
         if access_token != dict(key="uiop", secret="5678"):
index 33c92ae1b87fccff7af383a9af5ab0ce8cab0d01..36049e26be94705d7771b578e540ba99008c114e 100644 (file)
@@ -1624,7 +1624,7 @@ class CustomStaticFileTest(WebTestCase):
     def get_handlers(self):
         class MyStaticFileHandler(StaticFileHandler):
             @classmethod
-            def make_static_url(cls, settings, path):
+            def make_static_url(cls, settings, path, include_version=True):
                 version_hash = cls.get_version(settings, path)
                 extension_index = path.rindex(".")
                 before_version = path[:extension_index]