mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #160193 from fabaff/bump-pyquil
python3Packages.pyquil: 3.0.1 -> 3.1.0
This commit is contained in:
commit
c7614033ce
@ -42,6 +42,8 @@ buildPythonPackage rec {
|
||||
--replace "pyjwt~=1.7.1" "pyjwt" \
|
||||
--replace "qcs-api-client~=0.8.0" "qcs-api-client" \
|
||||
--replace "iso8601~=0.1.14" "iso8601" \
|
||||
--replace "rfc3986~=1.5.0" "rfc3986" \
|
||||
--replace "pyquil~=3.0.0" "pyquil" \
|
||||
--replace "pydantic~=1.8.2" "pydantic"
|
||||
# Remove outdated test
|
||||
rm cirq_rigetti/service_test.py
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, importlib-metadata
|
||||
, ipython
|
||||
, lark
|
||||
@ -23,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyquil";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -32,17 +31,9 @@ buildPythonPackage rec {
|
||||
owner = "rigetti";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OU7/LjcpCxvqlcfdlm5ll4f0DYXf0yxNprM8Muu2wyg=";
|
||||
sha256 = "sha256-ejfzxCf2NucK/hfzswHu3h4DPPZQY8vkMAQ51XDRWKU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "pyquil-pr-1404-unpin-qcs-api-client-version-pyproject.patch";
|
||||
url = "https://github.com/rigetti/pyquil/commit/2e35a4fdf65262fdf39c5091aeddfa3f3564925a.patch";
|
||||
sha256 = "sha256-KGDNU2wpzsuifQSbbkoMwaFXspHW6zyIJ5GRZbw+lUY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
@ -97,7 +88,9 @@ buildPythonPackage rec {
|
||||
"test_classical"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyquil" ];
|
||||
pythonImportsCheck = [
|
||||
"pyquil"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for creating Quantum Instruction Language (Quil) programs";
|
||||
|
Loading…
Reference in New Issue
Block a user