python312Packages.qcs-sdk-python: 0.21.18 -> 0.21.19 (#448218)

This commit is contained in:
dotlambda
2025-10-04 22:02:53 +00:00
committed by GitHub
@@ -1,8 +1,8 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
opentelemetry-api,
opentelemetry-sdk,
pytest-asyncio,
@@ -11,25 +11,24 @@
qcs-api-client-common,
quil,
rustPlatform,
libiconv,
syrupy,
}:
buildPythonPackage rec {
pname = "qcs-sdk-python";
version = "0.21.18";
version = "0.21.19";
pyproject = true;
src = fetchFromGitHub {
owner = "rigetti";
repo = "qcs-sdk-rust";
tag = "python/v${version}";
hash = "sha256-uN9SQnQR5y4gyJeQI5H04hT1OL1ZQBwCdz8GkNMMTLY=";
hash = "sha256-116+DbsvLBNWjyeGcm3+zrmY9HKWONii2Me0XjEGACo=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-PqQMG8RKF8Koz796AeoG/X9SeL1TruwOVPqwfKuq984=";
hash = "sha256-+F7PRBg73GFSeUCmt5NWa+gBhuZU5J7F5TGqRJKqwGc=";
};
buildAndTestSubdir = "crates/python";
@@ -48,10 +47,6 @@ buildPythonPackage rec {
tracing-opentelemetry = [ opentelemetry-api ];
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
nativeCheckInputs = [
opentelemetry-sdk
pytest-asyncio
@@ -72,6 +67,10 @@ buildPythonPackage rec {
"test_qvm_tracing"
];
passthru.updateScript = gitUpdater {
rev-prefix = "python/v";
};
meta = {
changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/crates/python/CHANGELOG.md";
description = "Python interface for the QCS Rust SDK";