Unverified Commit b5845231 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.qcs-sdk-python: 0.21.22 -> 0.26.0 (#500086)

parents 0f889b86 ffd2f323
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
  opentelemetry-sdk,
  pytest-asyncio,
  pytestCheckHook,
  pythonAtLeast,
  qcs-api-client-common,
  quil,
  rustPlatform,
@@ -16,25 +15,22 @@

buildPythonPackage rec {
  pname = "qcs-sdk-python";
  version = "0.21.22";
  version = "0.26.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-sdk-rust";
    tag = "python/v${version}";
    hash = "sha256-uaoXSkc8yg+WZONgvRkOARaf9kvLKv6S+K5yMDuXbbA=";
    tag = "lib/v${version}";
    hash = "sha256-A404lYKGAigzsnqWO4BAphOK/Juj4Fa2EHXQO8N1U9I=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-/SkYzQisSACTedC4FsEp4rXXdWV5f64gA33I/Ubu80E=";
    hash = "sha256-NAcCZks5N1KPqeA5v72NAcJqHGexRU99yXQHg21vkPA=";
  };

  buildAndTestSubdir = "crates/python";
  buildAndTestSubdir = "crates/lib";

  nativeBuildInputs = [
    rustPlatform.cargoSetupHook
@@ -71,11 +67,11 @@ buildPythonPackage rec {
  ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "python/v";
    rev-prefix = "lib/v";
  };

  meta = {
    changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/crates/python/CHANGELOG.md";
    changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/${buildAndTestSubdir}/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;
+3 −3
Original line number Diff line number Diff line
@@ -10,19 +10,19 @@

buildPythonPackage rec {
  pname = "quil";
  version = "0.34.0";
  version = "0.35.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rigetti";
    repo = "quil-rs";
    tag = "quil-rs/v${version}";
    hash = "sha256-to6eKStXiJPqP22kN+gNiroiBUFiK7Q84BuTZHMr5SI=";
    hash = "sha256-QWW8+cup81eyedDTU3jgslNanaj0+D2jI5XQMS3ZUIo=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-vNa4RUIecCHDb9rvMdiC8jtBdM/6C2bKagX1YkSMuhk=";
    hash = "sha256-cIWnTuxoFqkl+0W6NH9DwNokq7RKdNggFLwPYgkbHho=";
  };

  buildAndTestSubdir = "quil-rs";