python311Packages.cirq-rigetti: switch to pythonRelaxDepsHook

+15 -13
+15 -13
pkgs/development/python-modules/cirq-rigetti/default.nix
··· 31 31 32 32 sourceRoot = "${src.name}/${pname}"; 33 33 34 + pythonRelaxDeps = [ 35 + "attrs" 36 + "certifi" 37 + "h11" 38 + "httpcore" 39 + "httpx" 40 + "idna" 41 + "iso8601" 42 + "pydantic" 43 + "pyjwt" 44 + "pyquil" 45 + "qcs-api-client" 46 + "rfc3986" 47 + ]; 48 + 34 49 postPatch = '' 35 - substituteInPlace requirements.txt \ 36 - --replace "attrs~=20.3.0" "attrs" \ 37 - --replace "certifi~=2021.5.30" "certifi" \ 38 - --replace "h11~=0.9.0" "h11" \ 39 - --replace "httpcore~=0.11.1" "httpcore" \ 40 - --replace "httpx~=0.15.5" "httpx" \ 41 - --replace "idna~=2.10" "idna" \ 42 - --replace "pyjwt~=1.7.1" "pyjwt" \ 43 - --replace "qcs-api-client~=0.8.0" "qcs-api-client" \ 44 - --replace "iso8601~=0.1.14" "iso8601" \ 45 - --replace "rfc3986~=1.5.0" "rfc3986" \ 46 - --replace "pyquil~=3.0.0" "pyquil" \ 47 - --replace "pydantic~=1.8.2" "pydantic" 48 50 # Remove outdated test 49 51 rm cirq_rigetti/service_test.py 50 52 '';