From 8af2714a0465ebb6254e17fef37668fcb1c8b6a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 11 Jun 2026 16:29:32 +0200 Subject: [PATCH] Prune wheel and setuptools-rust from build-system (#6268) For wheel the setuptools documentation notes: > Historically this documentation has unnecessarily listed wheel in > the requires list, and many projects still do that. This is not > recommended, as the backend no longer requires the wheel package, > and listing it explicitly causes it to be unnecessarily required for > source distribution builds. https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use For setuptools-rust I could not find any Rust extension that need to be built. The introduction goes back to c132ccd14, where css-inline, a rust component, was added as a dependency. --- Dockerfile | 3 +-- pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a59e0bdf7..871d04d9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,7 @@ COPY vite.config.ts /pretix/vite.config.ts RUN pip3 install -U \ pip \ - setuptools \ - wheel && \ + setuptools && \ cd /pretix && \ PRETIX_DOCKER_BUILD=TRUE pip3 install \ -e ".[memcached]" \ diff --git a/pyproject.toml b/pyproject.toml index 7a0a318b4..e620c588f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,8 +139,6 @@ build-backend = "backend" backend-path = ["_build"] requires = [ "setuptools", - "setuptools-rust", - "wheel", "importlib_metadata", "tomli", ]