From 61b29bc3ab94d281b5589a3e033a99f003df23e3 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 17:42:38 +0100 Subject: [PATCH] python312Packages.python-octaviaclient: migrate to pythonRelaxDepsHook --- .../python-modules/python-octaviaclient/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/python-octaviaclient/default.nix b/pkgs/development/python-modules/python-octaviaclient/default.nix index bbd3b5f4d02a..a0c03c4c881b 100644 --- a/pkgs/development/python-modules/python-octaviaclient/default.nix +++ b/pkgs/development/python-modules/python-octaviaclient/default.nix @@ -38,11 +38,8 @@ buildPythonPackage rec { hash = "sha256-cXReOIfgC5Fx5gT0vF/pV7QwEuC2YfnW4OE+m7nqr20="; }; - postPatch = '' - # somehow python-neutronclient cannot be found despite it being supplied - substituteInPlace requirements.txt \ - --replace-fail "python-neutronclient>=6.7.0" "" - ''; + # somehow python-neutronclient cannot be found despite it being supplied + pythonRemoveDeps = [ "python-neutronclient" ]; build-system = [ setuptools