From ec4e0c3ae35e73f6e883aed4ec36e3ece990593b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 22 Sep 2023 04:57:18 +0200 Subject: [PATCH 1/2] Remove redundant wheel dep from pyproject.toml Remove the redundant `wheel` dependency, as it is added by the backend automatically. Listing it explicitly in the documentation was a historical mistake and has been fixed since, see: https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9787c3bd..fed528d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools"] build-backend = "setuptools.build_meta" From 8ef795906302e1a5afaf4933d0aeec62736b351a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 22 Sep 2023 05:02:42 +0200 Subject: [PATCH 2/2] Remove unnecessary build deps from tox.ini The `build` packages creates an isolated venv to perform the actual build and installs build dependencies there, therefore making installing them in the tox environment unnecessary. --- tox.ini | 2 -- 1 file changed, 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5af4b6dd..1f99a1e1 100644 --- a/tox.ini +++ b/tox.ini @@ -71,8 +71,6 @@ commands = [testenv:build] deps = - setuptools - wheel build commands = python -m build