lol

python312Packages.qcodes-contrib-drivers: 0.22.0 -> 0.23.0

Diff: https://github.com/QCoDeS/Qcodes_contrib_drivers/compare/refs/tags/v0.22.0...v0.23.0

Changelog: https://github.com/QCoDeS/Qcodes_contrib_drivers/releases/tag/v0.23.0

+20 -24
+20 -24
pkgs/development/python-modules/qcodes-contrib-drivers/default.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildPythonPackage, 4 - pythonOlder, 5 5 fetchFromGitHub, 6 - fetchpatch2, 6 + 7 + # build-system 7 8 setuptools, 8 9 versioningit, 10 + 11 + # dependencies 12 + autobahn, 9 13 cffi, 10 - qcodes, 11 14 packaging, 12 15 pandas, 13 - pytestCheckHook, 16 + qcodes, 17 + python-dotenv, 18 + 19 + # tests 14 20 pytest-mock, 21 + pytestCheckHook, 15 22 pyvisa-sim, 16 - stdenv, 23 + writableTmpDirAsHomeHook, 17 24 }: 18 25 19 26 buildPythonPackage rec { 20 27 pname = "qcodes-contrib-drivers"; 21 - version = "0.22.0"; 28 + version = "0.23.0"; 22 29 pyproject = true; 23 - 24 - disabled = pythonOlder "3.9"; 25 30 26 31 src = fetchFromGitHub { 27 32 owner = "QCoDeS"; 28 33 repo = "Qcodes_contrib_drivers"; 29 34 tag = "v${version}"; 30 - sha256 = "sha256-/W5oC5iqYifMR3/s7aSQ2yTJNmkemkc0KVxIU0Es3zY="; 35 + hash = "sha256-m2idBaQl2OVhrY5hcLTeXY6BycGf0ufa/ySgxaU2L/4="; 31 36 }; 32 37 33 - patches = [ 34 - (fetchpatch2 { 35 - name = "numpy-v2-compat.patch"; 36 - url = "https://github.com/QCoDeS/Qcodes_contrib_drivers/commit/fc792779dbc0b023bdccfe8877dac192d75a88db.patch?full_index=1"; 37 - hash = "sha256-G+/IVG9a4mOFudpqEpI+Q/+WwF6lm2nRKjODCdzWHe0="; 38 - }) 39 - ]; 40 - 41 38 build-system = [ 42 39 setuptools 43 40 versioningit 44 41 ]; 45 42 46 43 dependencies = [ 44 + autobahn 47 45 cffi 48 - qcodes 49 46 packaging 50 47 pandas 48 + qcodes 49 + python-dotenv 51 50 ]; 52 51 53 52 nativeCheckInputs = [ 54 - pytestCheckHook 55 53 pytest-mock 54 + pytestCheckHook 56 55 pyvisa-sim 56 + writableTmpDirAsHomeHook 57 57 ]; 58 58 59 59 pythonImportsCheck = [ "qcodes_contrib_drivers" ]; 60 60 61 61 disabledTests = 62 - lib.optionals (stdenv.hostPlatform.isDarwin) [ 62 + lib.optionals stdenv.hostPlatform.isDarwin [ 63 63 # At index 13 diff: 'sour6:volt 0.29000000000000004' != 'sour6:volt 0.29' 64 64 "test_stability_diagram_external" 65 65 ] ··· 67 67 # AssertionError: assert ['outp:trig4:...9999996', ...] == ['outp:trig4:...t 0.266', ...] 68 68 "test_stability_diagram_external" 69 69 ]; 70 - 71 - postInstall = '' 72 - export HOME="$TMPDIR" 73 - ''; 74 70 75 71 meta = { 76 72 description = "User contributed drivers for QCoDeS";