Skip to content

Commit d203877

Browse files
committed
Fix CI
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
1 parent 47faa48 commit d203877

File tree

5 files changed

+31
-23
lines changed

5 files changed

+31
-23
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
rev: v2.4.1
1414
hooks:
1515
- id: codespell
16-
additional_dependencies: ["tomli>=2.1"]
16+
additional_dependencies: ["tomli>=2.2.1"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
1818
rev: "v2.5.0"
1919
hooks:
@@ -32,7 +32,7 @@ repos:
3232
rev: 1.19.1
3333
hooks:
3434
- id: blacken-docs
35-
additional_dependencies: [black==24.10]
35+
additional_dependencies: [black==25.1]
3636
- repo: https://github.com/pre-commit/pygrep-hooks
3737
rev: v1.10.0
3838
hooks:

pyproject.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.4",
5-
"hatchling>=1.26.3",
5+
"hatchling>=1.27",
66
]
77

88
[project]
@@ -50,21 +50,21 @@ dynamic = [
5050
"version",
5151
]
5252
dependencies = [
53-
"cachetools>=5.5",
53+
"cachetools>=5.5.1",
5454
"chardet>=5.2",
5555
"colorama>=0.4.6",
5656
"filelock>=3.16.1",
5757
"packaging>=24.2",
5858
"platformdirs>=4.3.6",
5959
"pluggy>=1.5",
6060
"pyproject-api>=1.8",
61-
"tomli>=2.1; python_version<'3.11'",
61+
"tomli>=2.2.1; python_version<'3.11'",
6262
"typing-extensions>=4.12.2; python_version<'3.11'",
63-
"virtualenv>=20.27.1",
63+
"virtualenv>=20.29.1",
6464
]
6565
optional-dependencies.test = [
6666
"devpi-process>=1.0.2",
67-
"pytest>=8.3.3",
67+
"pytest>=8.3.4",
6868
"pytest-mock>=3.14",
6969
]
7070
urls.Documentation = "https://tox.wiki"
@@ -89,29 +89,29 @@ test = [
8989
"distlib>=0.3.9",
9090
"flaky>=3.8.1",
9191
"hatch-vcs>=0.4",
92-
"hatchling>=1.26.3",
93-
"psutil>=6.1",
94-
"pytest>=8.3.3",
92+
"hatchling>=1.27",
93+
"psutil>=6.1.1",
94+
"pytest>=8.3.4",
9595
"pytest-cov>=5",
9696
"pytest-mock>=3.14",
9797
"pytest-xdist>=3.6.1",
9898
"re-assert>=1.1",
99-
"setuptools>=75.1; python_version<='3.8'",
100-
"setuptools>=75.6; python_version>'3.8'",
99+
"setuptools>=75.3; python_version<='3.8'",
100+
"setuptools>=75.8; python_version>'3.8'",
101101
"time-machine>=2.15; implementation_name!='pypy'",
102-
"wheel>=0.45",
102+
"wheel>=0.45.1",
103103
]
104104
type = [
105-
"mypy==1.13",
105+
"mypy==1.15",
106106
"types-cachetools>=5.5.0.20240820",
107107
"types-chardet>=5.0.4.6",
108108
{ include-group = "test" },
109109
]
110110
docs = [
111111
"furo>=2024.8.6",
112112
"sphinx>=8.1.3",
113-
"sphinx-argparse-cli>=1.18.2",
114-
"sphinx-autodoc-typehints>=2.5",
113+
"sphinx-argparse-cli>=1.19",
114+
"sphinx-autodoc-typehints>=3.0.1",
115115
"sphinx-copybutton>=0.5.2",
116116
"sphinx-inline-tabs>=2023.4.21",
117117
"sphinxcontrib-towncrier>=0.2.1a0",
@@ -121,12 +121,12 @@ fix = [
121121
"pre-commit-uv>=4.1.4",
122122
]
123123
pkg-meta = [
124-
"check-wheel-contents>=0.6",
125-
"twine>=5.1.1",
126-
"uv>=0.5.3",
124+
"check-wheel-contents>=0.6.1",
125+
"twine>=6.1",
126+
"uv>=0.5.29",
127127
]
128128
release = [
129-
"gitpython>=3.1.43",
129+
"gitpython>=3.1.44",
130130
"packaging>=24.2",
131131
"towncrier>=24.8",
132132
]

src/tox/config/cli/parser.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Literal, Optional, Sequence, Tuple, Type, TypeVar, cast
1313

1414
from colorama import Fore
15-
from typing_extensions import Self
1615

1716
from tox.config.loader.str_convert import StrConvert
1817
from tox.plugin import NAME
@@ -21,6 +20,11 @@
2120
from .env_var import get_env_var
2221
from .ini import IniConfig
2322

23+
if sys.version_info >= (3, 11): # pragma: >=3.11 cover
24+
from typing import Self
25+
else: # pragma: <3.11 cover
26+
from typing_extensions import Self
27+
2428
if TYPE_CHECKING:
2529
from tox.session.state import State
2630

src/tox/util/spinner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
from typing import IO, TYPE_CHECKING, NamedTuple, Sequence, TypeVar
1212

1313
from colorama import Fore
14-
from typing_extensions import Self
14+
15+
if sys.version_info >= (3, 11): # pragma: >=3.11 cover
16+
from typing import Self
17+
else: # pragma: <3.11 cover
18+
from typing_extensions import Self
1519

1620
if TYPE_CHECKING:
1721
from types import TracebackType

tox.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
requires = ["tox>=4.23.2"]
1+
requires = ["tox>=4.24.1"]
22
env_list = ["fix", "3.13", "3.12", "3.11", "3.10", "3.9", "3.8", "cov", "type", "docs", "pkg_meta"]
33
skip_missing_interpreters = true
44

0 commit comments

Comments
 (0)