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 = [ 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";