Loading pkgs/development/python-modules/cf-xarray/default.nix 0 → 100644 +79 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , dask , fetchFromGitHub , matplotlib , pint , pooch , pytestCheckHook , pythonOlder , regex , rich , scipy , setuptools , setuptools-scm , shapely , wheel , xarray }: buildPythonPackage rec { pname = "cf-xarray"; version = "0.8.6"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "xarray-contrib"; repo = "cf-xarray"; rev = "refs/tags/v${version}"; hash = "sha256-qcoHz/yZoPVu0uBKKx4AV7MOokiuXSCaWPD/92VlRFk="; }; nativeBuildInputs = [ setuptools setuptools-scm wheel xarray ]; propagatedBuildInputs = [ xarray ]; passthru.optional-dependencies = { all = [ matplotlib pint pooch regex rich shapely ]; }; nativeCheckInputs = [ dask pytestCheckHook scipy ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "cf_xarray" ]; disabledTestPaths = [ # Tests require network access "cf_xarray/tests/test_accessor.py" "cf_xarray/tests/test_helpers.py" ]; meta = with lib; { description = "An accessor for xarray objects that interprets CF attributes"; homepage = "https://github.com/xarray-contrib/cf-xarray"; changelog = "https://github.com/xarray-contrib/cf-xarray/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; } pkgs/development/python-modules/qcodes-loop/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,11 @@ buildPythonPackage rec { export HOME="$TMPDIR" ''; disabledTests = [ # AssertionError: False is not true "TestHDF5_Format" ]; meta = with lib; { description = "Features previously in QCoDeS"; homepage = "https://github.com/QCoDeS/Qcodes_loop"; Loading pkgs/development/python-modules/qcodes/default.nix +33 −42 Original line number Diff line number Diff line { lib , broadbean , buildPythonPackage , cf-xarray , dask , deepdiff , fetchPypi , pythonOlder , setuptools , versioningit , wheel # mandatory , broadbean , h5netcdf , h5py , hypothesis , importlib-metadata , ipywidgets , ipykernel , ipython , ipywidgets , jsonschema , lxml , matplotlib , numpy , opencensus Loading @@ -21,54 +21,44 @@ , opentelemetry-api , packaging , pandas , pyvisa , ruamel-yaml , tabulate , typing-extensions , tqdm , uncertainties , websockets , wrapt , xarray , ipython , pillow , rsa # optional , qcodes-loop , slack-sdk # test , pip , pytestCheckHook , deepdiff , hypothesis , lxml , pytest-asyncio , pytest-mock , pytest-rerunfailures , pytest-xdist , pytestCheckHook , pythonOlder , pyvisa , pyvisa-sim , qcodes-loop , rsa , ruamel-yaml , setuptools , sphinx , tabulate , tqdm , typing-extensions , uncertainties , versioningit , websockets , wheel , wrapt , xarray }: buildPythonPackage rec { pname = "qcodes"; version = "0.40.0"; version = "0.41.1"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; sha256 = "sha256-C8/ltX3tSxCbbheuel3BjIkRBl/E92lK709QYx+2FL0="; hash = "sha256-3Ncg51E4KYbvzlEyesVbTmzmz+UPfFkj3tudVbNYqHQ="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace 'versioningit ~=' 'versioningit >=' ''; nativeBuildInputs = [ setuptools versioningit Loading @@ -77,6 +67,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ broadbean cf-xarray dask h5netcdf h5py ipykernel Loading Loading @@ -109,13 +101,8 @@ buildPythonPackage rec { loop = [ qcodes-loop ]; slack = [ slack-sdk ]; }; __darwinAllowLocalNetworking = true; nativeCheckInputs = [ deepdiff hypothesis Loading @@ -130,6 +117,8 @@ buildPythonPackage rec { sphinx ]; __darwinAllowLocalNetworking = true; pytestFlagsArray = [ # Follow upstream with settings "--durations=20" Loading @@ -138,6 +127,8 @@ buildPythonPackage rec { disabledTestPaths = [ # Test depends on qcodes-loop, causing a cyclic dependency "qcodes/tests/dataset/measurement/test_load_legacy_data.py" # TypeError "qcodes/tests/dataset/test_dataset_basic.py" ]; disabledTests = [ Loading @@ -161,8 +152,8 @@ buildPythonPackage rec { ''; meta = with lib; { changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}"; description = "Python-based data acquisition framework"; changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}"; downloadPage = "https://github.com/QCoDeS/Qcodes"; homepage = "https://qcodes.github.io/Qcodes/"; license = licenses.mit; Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,8 @@ self: super: with self; { certvalidator = callPackage ../development/python-modules/certvalidator { }; cf-xarray = callPackage ../development/python-modules/cf-xarray { }; cffi = callPackage ../development/python-modules/cffi { }; cffsubr = callPackage ../development/python-modules/cffsubr { }; Loading Loading
pkgs/development/python-modules/cf-xarray/default.nix 0 → 100644 +79 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , dask , fetchFromGitHub , matplotlib , pint , pooch , pytestCheckHook , pythonOlder , regex , rich , scipy , setuptools , setuptools-scm , shapely , wheel , xarray }: buildPythonPackage rec { pname = "cf-xarray"; version = "0.8.6"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "xarray-contrib"; repo = "cf-xarray"; rev = "refs/tags/v${version}"; hash = "sha256-qcoHz/yZoPVu0uBKKx4AV7MOokiuXSCaWPD/92VlRFk="; }; nativeBuildInputs = [ setuptools setuptools-scm wheel xarray ]; propagatedBuildInputs = [ xarray ]; passthru.optional-dependencies = { all = [ matplotlib pint pooch regex rich shapely ]; }; nativeCheckInputs = [ dask pytestCheckHook scipy ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "cf_xarray" ]; disabledTestPaths = [ # Tests require network access "cf_xarray/tests/test_accessor.py" "cf_xarray/tests/test_helpers.py" ]; meta = with lib; { description = "An accessor for xarray objects that interprets CF attributes"; homepage = "https://github.com/xarray-contrib/cf-xarray"; changelog = "https://github.com/xarray-contrib/cf-xarray/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }
pkgs/development/python-modules/qcodes-loop/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,11 @@ buildPythonPackage rec { export HOME="$TMPDIR" ''; disabledTests = [ # AssertionError: False is not true "TestHDF5_Format" ]; meta = with lib; { description = "Features previously in QCoDeS"; homepage = "https://github.com/QCoDeS/Qcodes_loop"; Loading
pkgs/development/python-modules/qcodes/default.nix +33 −42 Original line number Diff line number Diff line { lib , broadbean , buildPythonPackage , cf-xarray , dask , deepdiff , fetchPypi , pythonOlder , setuptools , versioningit , wheel # mandatory , broadbean , h5netcdf , h5py , hypothesis , importlib-metadata , ipywidgets , ipykernel , ipython , ipywidgets , jsonschema , lxml , matplotlib , numpy , opencensus Loading @@ -21,54 +21,44 @@ , opentelemetry-api , packaging , pandas , pyvisa , ruamel-yaml , tabulate , typing-extensions , tqdm , uncertainties , websockets , wrapt , xarray , ipython , pillow , rsa # optional , qcodes-loop , slack-sdk # test , pip , pytestCheckHook , deepdiff , hypothesis , lxml , pytest-asyncio , pytest-mock , pytest-rerunfailures , pytest-xdist , pytestCheckHook , pythonOlder , pyvisa , pyvisa-sim , qcodes-loop , rsa , ruamel-yaml , setuptools , sphinx , tabulate , tqdm , typing-extensions , uncertainties , versioningit , websockets , wheel , wrapt , xarray }: buildPythonPackage rec { pname = "qcodes"; version = "0.40.0"; version = "0.41.1"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; sha256 = "sha256-C8/ltX3tSxCbbheuel3BjIkRBl/E92lK709QYx+2FL0="; hash = "sha256-3Ncg51E4KYbvzlEyesVbTmzmz+UPfFkj3tudVbNYqHQ="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace 'versioningit ~=' 'versioningit >=' ''; nativeBuildInputs = [ setuptools versioningit Loading @@ -77,6 +67,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ broadbean cf-xarray dask h5netcdf h5py ipykernel Loading Loading @@ -109,13 +101,8 @@ buildPythonPackage rec { loop = [ qcodes-loop ]; slack = [ slack-sdk ]; }; __darwinAllowLocalNetworking = true; nativeCheckInputs = [ deepdiff hypothesis Loading @@ -130,6 +117,8 @@ buildPythonPackage rec { sphinx ]; __darwinAllowLocalNetworking = true; pytestFlagsArray = [ # Follow upstream with settings "--durations=20" Loading @@ -138,6 +127,8 @@ buildPythonPackage rec { disabledTestPaths = [ # Test depends on qcodes-loop, causing a cyclic dependency "qcodes/tests/dataset/measurement/test_load_legacy_data.py" # TypeError "qcodes/tests/dataset/test_dataset_basic.py" ]; disabledTests = [ Loading @@ -161,8 +152,8 @@ buildPythonPackage rec { ''; meta = with lib; { changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}"; description = "Python-based data acquisition framework"; changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}"; downloadPage = "https://github.com/QCoDeS/Qcodes"; homepage = "https://qcodes.github.io/Qcodes/"; license = licenses.mit; Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,8 @@ self: super: with self; { certvalidator = callPackage ../development/python-modules/certvalidator { }; cf-xarray = callPackage ../development/python-modules/cf-xarray { }; cffi = callPackage ../development/python-modules/cffi { }; cffsubr = callPackage ../development/python-modules/cffsubr { }; Loading