Skip to content

Commit 651b632

Browse files
authored
Wheel is not part of the defautl requries (#192)
1 parent 46dc443 commit 651b632

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: pyproject-fmt
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.11.8"
27+
rev: "v0.11.9"
2828
hooks:
2929
- id: ruff-format
3030
- id: ruff

pyproject.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ dynamic = [
4646
"version",
4747
]
4848
dependencies = [
49-
"packaging>=24.2",
49+
"packaging>=25",
5050
"tomli>=2.2.1; python_version<'3.11'",
5151
]
5252
optional-dependencies.docs = [
5353
"furo>=2024.8.6",
54-
"sphinx-autodoc-typehints>=3",
54+
"sphinx-autodoc-typehints>=3.2",
5555
]
5656
optional-dependencies.testing = [
5757
"covdefaults>=2.3",
58-
"pytest>=8.3.4",
59-
"pytest-cov>=6",
58+
"pytest>=8.3.5",
59+
"pytest-cov>=6.1.1",
6060
"pytest-mock>=3.14",
61-
"setuptools>=75.8",
61+
"setuptools>=80.3.1",
6262
]
6363
urls.Changelog = "https://github.com/tox-dev/pyproject-api/releases"
6464
urls.Homepage = "https://pyproject-api.readthedocs.io"

src/pyproject_api/_frontend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class Frontend(ABC):
176176
#: backend key when the ``pyproject.toml`` does not specify it
177177
LEGACY_BUILD_BACKEND: str = "setuptools.build_meta:__legacy__"
178178
#: backend requirements when the ``pyproject.toml`` does not specify it
179-
LEGACY_REQUIRES: tuple[Requirement, ...] = (Requirement("setuptools >= 40.8.0"), Requirement("wheel"))
179+
LEGACY_REQUIRES: tuple[Requirement, ...] = (Requirement("setuptools >= 40.8.0"),)
180180

181181
def __init__( # noqa: PLR0913, PLR0917
182182
self,

tests/test_frontend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_create_no_pyproject(tmp_path: Path) -> None:
225225
assert result[2] == "setuptools.build_meta"
226226
assert result[3] == "__legacy__"
227227
assert all(isinstance(i, Requirement) for i in result[4])
228-
assert [str(i) for i in result[4]] == ["setuptools>=40.8.0", "wheel"]
228+
assert [str(i) for i in result[4]] == ["setuptools>=40.8.0"]
229229
assert result[5] is True
230230

231231

tox.ini

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
requires =
3-
tox>=4.23.2
4-
tox-uv>=1.17
3+
tox>=4.25
4+
tox-uv>=1.25
55
env_list =
66
fix
77
3.13
@@ -57,7 +57,7 @@ commands =
5757
[testenv:type]
5858
description = run type check on code base
5959
deps =
60-
mypy==1.14.1
60+
mypy==1.15
6161
set_env =
6262
{tty:MYPY_FORCE_COLOR = 1}
6363
commands =
@@ -69,8 +69,8 @@ description = check that the long description is valid
6969
skip_install = true
7070
deps =
7171
check-wheel-contents>=0.6.1
72-
twine>=6.0.1
73-
uv>=0.5.18
72+
twine>=6.1
73+
uv>=0.7.2
7474
commands =
7575
uv build --sdist --wheel --out-dir {env_tmp_dir} .
7676
twine check {env_tmp_dir}{/}*

0 commit comments

Comments
 (0)