Unverified Commit 5e30349b authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #312021 from josephst/20240515-python-quil

parents 7e5a6e7d 6dd55d22
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  iso8601,
  poetry-core,
  pydantic,
  pydantic-settings,
  pyjwt,
  pytest-asyncio,
  pytestCheckHook,
@@ -60,6 +61,7 @@ buildPythonPackage rec {
    httpx
    iso8601
    pydantic
    pydantic-settings
    pyjwt
    python-dateutil
    retrying
+9 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-asyncio,
@@ -7,6 +8,8 @@
  pythonOlder,
  quil,
  rustPlatform,
  darwin,
  libiconv,
  syrupy,
}:

@@ -40,6 +43,12 @@ buildPythonPackage rec {

  dependencies = [ quil ];

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security
    darwin.apple_sdk.frameworks.SystemConfiguration
    libiconv
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
+4 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
@@ -7,6 +8,7 @@
  numpy,
  pytestCheckHook,
  syrupy,
  libiconv
}:

buildPythonPackage rec {
@@ -40,6 +42,8 @@ buildPythonPackage rec {
    rustPlatform.maturinBuildHook
  ];

  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];

  dependencies = [ numpy ];

  pythonImportsCheck = [ "numpy" ];