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

python3Packages.qcs-api-client-common: 0.11.8 -> 0.15.0 (#489639)

parents 8884a115 754bffa5
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -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 = [
+4 −0
Original line number Diff line number Diff line
@@ -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";