Merge pull request #235026 from fabaff/pyquil-bump

python311Packages.pyquil: 3.5.0 -> 3.5.2
This commit is contained in:
Fabian Affolter 2023-05-30 23:06:34 +02:00 committed by GitHub
commit 7fe5f82a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, deprecated
, fetchFromGitHub
, importlib-metadata
, ipython
@ -20,13 +21,15 @@
, retry
, rpcq
, scipy
, tenacity
, types-deprecated
, types-python-dateutil
, types-retry
}:
buildPythonPackage rec {
pname = "pyquil";
version = "3.5.0";
version = "3.5.2";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -35,7 +38,7 @@ buildPythonPackage rec {
owner = "rigetti";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Fr9SnAzDHaSKp0AYra/gCZOJ5Fzcx1EO56ahZQZP2Ss=";
hash = "sha256-Iarmi3W4OFa72BEZPLJqMZghYMv1UrDERc4yQjchXj8=";
};
pythonRelaxDeps = [
@ -49,6 +52,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
deprecated
lark
networkx
numpy
@ -56,6 +60,8 @@ buildPythonPackage rec {
retry
rpcq
scipy
tenacity
types-deprecated
types-python-dateutil
types-retry
] ++ lib.optionals (pythonOlder "3.8") [

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-deprecated";
version = "1.2.9.2";
format = "setuptools";
src = fetchPypi {
pname = "types-Deprecated";
inherit version;
hash = "sha256-kWFv1nRfi/LUV/u779FM3kODjp8AoEtaDq5Pwfe7xpc=";
};
# Modules has no tests
doCheck = false;
pythonImportsCheck = [
"deprecated-stubs"
];
meta = with lib; {
description = "Typing stubs for Deprecated";
homepage = "https://pypi.org/project/types-Deprecated/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12440,6 +12440,8 @@ self: super: with self; {
types-decorator = callPackage ../development/python-modules/types-decorator { };
types-deprecated = callPackage ../development/python-modules/types-deprecated { };
types-docutils = callPackage ../development/python-modules/types-docutils { };
types-enum34 = callPackage ../development/python-modules/types-enum34 { };