From 65981df52bb82827db8556e0ece66d7bef0f0398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Feb 2025 18:51:28 -0800 Subject: [PATCH] python313Packages.qcs-sdk-python: 0.21.4 -> 0.21.12 Diff: https://github.com/rigetti/qcs-sdk-rust/compare/refs/tags/python/v0.21.4...0.21.12 Changelog: https://github.com/rigetti/qcs-sdk-rust/blob/python/v0.21.12/crates/python/CHANGELOG.md --- .../python-modules/qcs-sdk-python/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/qcs-sdk-python/default.nix b/pkgs/development/python-modules/qcs-sdk-python/default.nix index 4f3d4ac0e538..1dba755dab02 100644 --- a/pkgs/development/python-modules/qcs-sdk-python/default.nix +++ b/pkgs/development/python-modules/qcs-sdk-python/default.nix @@ -18,26 +18,24 @@ buildPythonPackage rec { pname = "qcs-sdk-python"; - version = "0.21.4"; + version = "0.21.12"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "rigetti"; repo = "qcs-sdk-rust"; - rev = "python/v${version}"; - hash = "sha256-PIU/JPf4GcTl0LeT+BkzZTRzKUQT2BvNzBWP9+/RCKM="; + tag = "python/v${version}"; + hash = "sha256-5tabdxMvYW0g2k48MTAm15+o/OI7yFyL19xirUBN7D4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-j2qEjmmeUy+nqOrklGXW/tsGqNAs2SxuvVPW2ywXlsA="; + hash = "sha256-YOBI0q7OsjFhoQUO2K4Q3CprcxHgJbTmg+klXj41p0o="; }; buildAndTestSubdir = "crates/python"; - build-system = [ + nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; @@ -69,13 +67,14 @@ buildPythonPackage rec { "test_conjugate_pauli_by_clifford" "test_execute_qvm" "test_generate_randomized_benchmark_sequence" + "test_get_instruction_set_actitecture_public" "test_get_report" "test_get_version_info" "test_list_quantum_processors_timeout" ]; meta = { - changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.rev}/crates/python/CHANGELOG.md"; + changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/crates/python/CHANGELOG.md"; description = "Python interface for the QCS Rust SDK"; homepage = "https://github.com/rigetti/qcs-sdk-rust/tree/main/crates/python"; license = lib.licenses.asl20;