From bcc940bc1e92685d5a21531ae02da1266f27e35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 11 Feb 2026 19:22:47 -0800 Subject: [PATCH 1/2] python3Packages.qcs-api-client-common: 0.11.8 -> 0.15.0 Diff: https://github.com/rigetti/qcs-api-client-rust/compare/common/v0.11.8...common/v0.15.0 Changelog: https://github.com/rigetti/qcs-api-client-rust/blob/common/v0.15.0/qcs-api-client-common/CHANGELOG-py.md --- .../python-modules/qcs-api-client-common/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/qcs-api-client-common/default.nix b/pkgs/development/python-modules/qcs-api-client-common/default.nix index 8d6f221a3879..d241f7d80576 100644 --- a/pkgs/development/python-modules/qcs-api-client-common/default.nix +++ b/pkgs/development/python-modules/qcs-api-client-common/default.nix @@ -9,7 +9,6 @@ pytest-asyncio, pytest-mock, pytestCheckHook, - pythonAtLeast, rustc, rustPlatform, syrupy, @@ -17,22 +16,19 @@ buildPythonPackage rec { pname = "qcs-api-client-common"; - version = "0.11.8"; + version = "0.15.0"; pyproject = true; - # error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12) - disabled = pythonAtLeast "3.13"; - src = fetchFromGitHub { owner = "rigetti"; repo = "qcs-api-client-rust"; tag = "common/v${version}"; - hash = "sha256-IJaclIGuLWyTaVnnK1MblSZjIqjaMjLCFfY1CLn6Rao="; + hash = "sha256-ksB71Vd9PbKAHll2Y5VrCspsyUyhXwthHl2yVl6MQ7U="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-luLg4VR7Nwm6g1UYckKmN9iy1MvNezYh9g21ADMX/yU="; + hash = "sha256-QvMeCzpHGMVjqYs0i3gpzY6Zk4rGiXyTopzaQMLWBcA="; }; buildAndTestSubdir = "qcs-api-client-common"; @@ -52,8 +48,6 @@ buildPythonPackage rec { preCheck = '' cd ${buildAndTestSubdir} - # import from $out - rm -r qcs_api_client_common ''; nativeCheckInputs = [ From 754bffa5be6faa28110295f26db3e6cc39e617e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 11 Feb 2026 19:35:41 -0800 Subject: [PATCH 2/2] python3Packages.qcs-sdk-python: disable on Python >= 3.13 It fails to build with error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12) --- pkgs/development/python-modules/qcs-sdk-python/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/qcs-sdk-python/default.nix b/pkgs/development/python-modules/qcs-sdk-python/default.nix index a87642a979e1..05b0aa611699 100644 --- a/pkgs/development/python-modules/qcs-sdk-python/default.nix +++ b/pkgs/development/python-modules/qcs-sdk-python/default.nix @@ -7,6 +7,7 @@ opentelemetry-sdk, pytest-asyncio, pytestCheckHook, + pythonAtLeast, qcs-api-client-common, quil, rustPlatform, @@ -18,6 +19,9 @@ buildPythonPackage rec { version = "0.21.22"; pyproject = true; + # error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12) + disabled = pythonAtLeast "3.13"; + src = fetchFromGitHub { owner = "rigetti"; repo = "qcs-sdk-rust";