diff --git a/.python-version-default b/.python-version-default index e4fba218..24ee5b1b 100644 --- a/.python-version-default +++ b/.python-version-default @@ -1 +1 @@ -3.12 +3.13 diff --git a/tox.ini b/tox.ini index 84cc22c0..1f1de556 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ commands = mypy: mypy tests/typing_example.py mypy: mypy src/attrs/__init__.pyi src/attr/__init__.pyi src/attr/_typing_compat.pyi src/attr/_version_info.pyi src/attr/converters.pyi src/attr/exceptions.pyi src/attr/filters.pyi src/attr/setters.pyi src/attr/validators.pyi -[testenv:py3{8,10,12}-tests] +[testenv:py3{8,10,13}-tests] extras = cov # Python 3.6+ has a number of compile-time warnings on invalid string escapes. # PYTHONWARNINGS=d makes them visible during the tox run. @@ -39,9 +39,9 @@ commands = coverage run -m pytest {posargs:-n auto --dist loadfile} [testenv:coverage-report] # Keep base_python in-sync with .python-version-default -base_python = py312 +base_python = py313 # Keep depends in-sync with testenv above that has cov extra. -depends = py3{8,10,12} +depends = py3{8,10,13}-tests skip_install = true deps = coverage[toml]>=5.3 commands = @@ -97,7 +97,7 @@ commands = cog -rP README.md docs/index.md [testenv:pre-commit] skip_install = true -deps = pre-commit +deps = pre-commit-uv commands = pre-commit run --all-files