Merge pull request #115211 from drewrisinger/dr-pr-qiskit-bump

This commit is contained in:
Sandro 2021-03-06 01:02:46 +01:00 committed by GitHub
commit 8fe81697a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 13 deletions

View file

@ -27,7 +27,8 @@
buildPythonPackage rec {
pname = "qiskit-aer";
version = "0.7.4";
version = "0.7.6";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -35,7 +36,7 @@ buildPythonPackage rec {
owner = "Qiskit";
repo = "qiskit-aer";
rev = version;
sha256 = "sha256-o6c1ZcGFZ3pwinzMTif1nqF29Wq0Nog1++ZoJGuiKxo=";
sha256 = "0595as4rxjrd5dqx54ywz3rjsjk0z7r41bq0z9r8y1h7zgvvlrmn";
};
nativeBuildInputs = [
@ -64,6 +65,7 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
'';
# Disable using conan for build
preBuild = ''
export DISABLE_CONAN=1
'';

View file

@ -22,6 +22,7 @@
, nbconvert
, nbformat
, pproxy
, qiskit-aer
, vcrpy
}:
@ -38,7 +39,7 @@ let
in
buildPythonPackage rec {
pname = "qiskit-ibmq-provider";
version = "0.11.1";
version = "0.12.1";
disabled = pythonOlder "3.6";
@ -46,7 +47,7 @@ buildPythonPackage rec {
owner = "Qiskit";
repo = pname;
rev = version;
sha256 = "0b5mnq8f5844idnsmp84lpkvlpszfwwi998yvggcgaayw1dbk53h";
sha256 = "1i5dj5dl0hxqd61bdflyy6yq958fj9qhf6s6m40n1vnql7g50gdx";
};
propagatedBuildInputs = [
@ -64,6 +65,7 @@ buildPythonPackage rec {
nbconvert
nbformat
pproxy
qiskit-aer
vcrpy
] ++ lib.optionals (!withVisualization) visualizationPackages;

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "qiskit";
# NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history
version = "0.23.5";
version = "0.24.0";
disabled = pythonOlder "3.6";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "qiskit";
repo = "qiskit";
rev = version;
sha256 = "sha256-qtMFztAeqNz0FSgQnOOrvAdPcbUCAal7KrVmpNvvBiY=";
sha256 = "1b78q75bi666v0yj33bkjlc40d2172dsq5yp1s2kkisjfa8qmh7h";
};
propagatedBuildInputs = [

View file

@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, rustPlatform
, fetchFromGitHub
# Check inputs
, pytestCheckHook
, networkx
, numpy
}:
buildPythonPackage rec {
pname = "retworkx";
version = "0.6.0";
version = "0.8.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Qiskit";
repo = "retworkx";
rev = version;
sha256 = "11n30ldg3y3y6qxg3hbj837pnbwjkqw3nxq6frds647mmmprrd20";
sha256 = "0plpri6a3d6f1000kmcah9066vq2i37d14bdf8sm96493fhpqhrd";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-heOBK8qi2nuc/Ib+I/vLzZ1fUUD/G/KTw9d7M4Hz5O0=";
hash = "sha256-+k779gmge8wDdoZrWn9ND47kUqt7pqe75Zuj2Byfefo=";
};
format = "pyproject";
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
# Needed b/c need to check AFTER python wheel is installed (using Rust Build, not buildPythonPackage)
doCheck = false;
doInstallCheck = true;
installCheckInputs = [ pytestCheckHook numpy ];
installCheckInputs = [ pytestCheckHook networkx numpy ];
preCheck = ''
export TESTDIR=$(mktemp -d)

View file

@ -6951,7 +6951,7 @@ in {
retrying = callPackage ../development/python-modules/retrying { };
retworkx = disabledIf (pythonOlder "3.5") (toPythonModule (callPackage ../development/python-modules/retworkx { }));
retworkx = callPackage ../development/python-modules/retworkx { };
rfc3986 = callPackage ../development/python-modules/rfc3986 { };