python311Packages.qcodes: 0.38.1 -> 0.39.0
Changelog: https://github.com/QCoDeS/Qcodes/releases/tag/v0.39.0
This commit is contained in:
parent
1a7901ad23
commit
95864211d2
1 changed files with 25 additions and 13 deletions
|
@ -10,7 +10,6 @@
|
||||||
, h5netcdf
|
, h5netcdf
|
||||||
, h5py
|
, h5py
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, importlib-resources
|
|
||||||
, ipywidgets
|
, ipywidgets
|
||||||
, ipykernel
|
, ipykernel
|
||||||
, jsonschema
|
, jsonschema
|
||||||
|
@ -35,6 +34,7 @@
|
||||||
|
|
||||||
# optional
|
# optional
|
||||||
, qcodes-loop
|
, qcodes-loop
|
||||||
|
, slack-sdk
|
||||||
|
|
||||||
# test
|
# test
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -51,17 +51,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "qcodes";
|
pname = "qcodes";
|
||||||
version = "0.38.1";
|
version = "0.39.0";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-whUGkRvYQOdYxWoj7qhv2kiiyTwq3ZLLipI424PBzFg=";
|
sha256 = "sha256-zKn9LN7FBxKUfYSxUV1O6fB2s/B5bQpGDZTrK4DcxmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools versioningit ];
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
versioningit
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
broadbean
|
broadbean
|
||||||
|
@ -90,20 +93,20 @@ buildPythonPackage rec {
|
||||||
rsa
|
rsa
|
||||||
] ++ lib.optionals (pythonOlder "3.10") [
|
] ++ lib.optionals (pythonOlder "3.10") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
|
||||||
importlib-resources
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
loop = [
|
loop = [
|
||||||
qcodes-loop
|
qcodes-loop
|
||||||
];
|
];
|
||||||
|
slack = [
|
||||||
|
slack-sdk
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
|
||||||
deepdiff
|
deepdiff
|
||||||
hypothesis
|
hypothesis
|
||||||
lxml
|
lxml
|
||||||
|
@ -111,25 +114,34 @@ buildPythonPackage rec {
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
pytestCheckHook
|
||||||
pyvisa-sim
|
pyvisa-sim
|
||||||
sphinx
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
# Follow upstream with settings
|
||||||
|
"--durations=20"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# depends on qcodes-loop, causing a cyclic dependency
|
# depends on qcodes-loop, causing a cyclic dependency
|
||||||
"qcodes/tests/dataset/measurement/test_load_legacy_data.py"
|
"qcodes/tests/dataset/measurement/test_load_legacy_data.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "qcodes" ];
|
pythonImportsCheck = [
|
||||||
|
"qcodes"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
export HOME="$TMPDIR"
|
export HOME="$TMPDIR"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "https://qcodes.github.io/Qcodes/";
|
homepage = "https://qcodes.github.io/Qcodes/";
|
||||||
description = "Python-based data acquisition framework";
|
description = "Python-based data acquisition framework";
|
||||||
license = lib.licenses.mit;
|
changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}";
|
||||||
maintainers = with lib.maintainers; [ evilmav ];
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ evilmav ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue