Browse Source

ref: update tools to target python 3.13 (#84104)

<!-- Describe your PR here. -->
anthony sottile 1 month ago
parent
commit
d7913fe525
4 changed files with 5 additions and 5 deletions
  1. 1 1
      .pre-commit-config.yaml
  2. 2 2
      requirements-dev-frozen.txt
  3. 1 1
      requirements-dev.txt
  4. 1 1
      setup.cfg

+ 1 - 1
.pre-commit-config.yaml

@@ -22,7 +22,7 @@ repos:
       - id: pyupgrade
         name: pyupgrade
         entry: pyupgrade
-        args: ['--py312-plus']
+        args: ['--py313-plus']
         language: system
         types: [python]
       # Configuration for black exists in pyproject.toml,

+ 2 - 2
requirements-dev-frozen.txt

@@ -161,7 +161,7 @@ python-rapidjson==1.8
 python-u2flib-server==5.0.0
 python-utils==3.3.3
 python3-saml==1.15.0
-pyupgrade==3.17.0
+pyupgrade==3.19.1
 pyuwsgi==2.0.28.post1
 pyvat==1.3.15
 pyyaml==6.0.2
@@ -210,7 +210,7 @@ symbolic==12.12.0
 tiktoken==0.8.0
 time-machine==2.16.0
 tldextract==5.1.2
-tokenize-rt==5.2.0
+tokenize-rt==6.1.0
 tomli==2.0.1
 toronado==0.1.0
 tqdm==4.66.4

+ 1 - 1
requirements-dev.txt

@@ -29,7 +29,7 @@ black>=24.10.0
 flake8>=7
 flake8-bugbear>=22.10
 flake8-logging>=1.5
-pyupgrade>=3.17
+pyupgrade>=3.19.1
 isort>=5.10.1
 
 # For tools/. To be moved into redistributable dev environments.

+ 1 - 1
setup.cfg

@@ -21,7 +21,7 @@ classifiers =
 
 [options]
 packages = find:
-python_requires = >=3.11
+python_requires = >=3.13
 include_package_data = True
 package_dir =
     =src