From 213d00a8fa88f6a7bb07e6da71e741de6d1850f7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 16 May 2025 11:52:26 -0700 Subject: [PATCH] python3Packages.cirq-pasqal: replace broken dependency substitution with relaxed dep --- pkgs/development/python-modules/cirq-pasqal/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/cirq-pasqal/default.nix b/pkgs/development/python-modules/cirq-pasqal/default.nix index 62d946ea4617..db0e5d2455b5 100644 --- a/pkgs/development/python-modules/cirq-pasqal/default.nix +++ b/pkgs/development/python-modules/cirq-pasqal/default.nix @@ -13,13 +13,12 @@ buildPythonPackage rec { sourceRoot = "${src.name}/${pname}"; - postPatch = '' - substituteInPlace requirements.txt \ - --replace-fail "requests~=2.18" "requests" - ''; - build-system = [ setuptools ]; + pythonRelaxDeps = [ + "requests" + ]; + dependencies = [ cirq-core requests