From 4454b79e369e4bbe6a926e0434bae94d78b49538 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 19 Jun 2025 13:51:19 +0200 Subject: [PATCH] python3Packages.vllm: relax setuptools --- pkgs/development/python-modules/vllm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 33f3ef4369c7..61e2634cdad7 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -283,7 +283,8 @@ buildPythonPackage rec { postPatch = '' # pythonRelaxDeps does not cover build-system substituteInPlace pyproject.toml \ - --replace-fail "torch ==" "torch >=" + --replace-fail "torch ==" "torch >=" \ + --replace-fail "setuptools>=77.0.3,<80.0.0" "setuptools" # Ignore the python version check because it hard-codes minor versions and # lags behind `ray`'s python interpreter support