Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.pkgs.qcodes: add build and test dependencies and fix constraints #246912

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/qcodes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, pythonOlder
, setuptools
, versioningit
, wheel

# mandatory
, broadbean
Expand Down Expand Up @@ -37,6 +38,7 @@
, slack-sdk

# test
, pip
, pytestCheckHook
, deepdiff
, hypothesis
Expand All @@ -61,9 +63,15 @@ buildPythonPackage rec {
sha256 = "sha256-zKn9LN7FBxKUfYSxUV1O6fB2s/B5bQpGDZTrK4DcxmU=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace 'versioningit ~=' 'versioningit >='
'';

nativeBuildInputs = [
setuptools
versioningit
wheel
];

propagatedBuildInputs = [
Expand Down Expand Up @@ -110,6 +118,7 @@ buildPythonPackage rec {
deepdiff
hypothesis
lxml
pip
pytest-asyncio
pytest-mock
pytest-rerunfailures
Expand Down