From 697cd3f2d329f745fc1839ef4c8ac3719414a3c1 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Mon, 31 Jul 2023 19:37:19 -0700 Subject: [PATCH] python3.pkgs.qcodes: add build and test dependencies and fix constraints --- pkgs/development/python-modules/qcodes/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/qcodes/default.nix b/pkgs/development/python-modules/qcodes/default.nix index db565e11d02df..75042a72d8d74 100644 --- a/pkgs/development/python-modules/qcodes/default.nix +++ b/pkgs/development/python-modules/qcodes/default.nix @@ -4,6 +4,7 @@ , pythonOlder , setuptools , versioningit +, wheel # mandatory , broadbean @@ -37,6 +38,7 @@ , slack-sdk # test +, pip , pytestCheckHook , deepdiff , hypothesis @@ -61,9 +63,15 @@ buildPythonPackage rec { sha256 = "sha256-zKn9LN7FBxKUfYSxUV1O6fB2s/B5bQpGDZTrK4DcxmU="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'versioningit ~=' 'versioningit >=' + ''; + nativeBuildInputs = [ setuptools versioningit + wheel ]; propagatedBuildInputs = [ @@ -110,6 +118,7 @@ buildPythonPackage rec { deepdiff hypothesis lxml + pip pytest-asyncio pytest-mock pytest-rerunfailures