tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.qiskit-ibmq-provider: 0.13.1 -> 0.18.0
Drew Risinger
4 years ago
89ef192d
829f8c10
+12
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
qiskit-ibmq-provider
default.nix
+12
-5
pkgs/development/python-modules/qiskit-ibmq-provider/default.nix
···
7
, qiskit-terra
8
, requests
9
, requests_ntlm
10
-
, websockets
11
# Visualization inputs
12
-
, withVisualization ? false
13
, ipython
14
, ipyvuetify
15
, ipywidgets
···
23
, nbformat
24
, pproxy
25
, qiskit-aer
0
26
, vcrpy
27
}:
28
···
39
in
40
buildPythonPackage rec {
41
pname = "qiskit-ibmq-provider";
42
-
version = "0.13.1";
43
44
disabled = pythonOlder "3.6";
45
···
47
owner = "Qiskit";
48
repo = pname;
49
rev = version;
50
-
hash = "sha256-DlHlXncttzGo4uVoh2aQ7urW6krN3ej2sJ/EwuxeF2I=";
51
};
52
53
propagatedBuildInputs = [
···
56
qiskit-terra
57
requests
58
requests_ntlm
59
-
websockets
60
] ++ lib.optionals withVisualization visualizationPackages;
61
0
0
0
0
62
# Most tests require credentials to run on IBMQ
63
checkInputs = [
64
pytestCheckHook
···
67
pproxy
68
qiskit-aer
69
vcrpy
0
70
] ++ lib.optionals (!withVisualization) visualizationPackages;
71
72
pythonImportsCheck = [ "qiskit.providers.ibmq" ];
···
75
"test_old_api_url"
76
"test_non_auth_url"
77
"test_non_auth_url_with_hub"
0
78
79
# slow tests
80
"test_websocket_retry_failure"
···
7
, qiskit-terra
8
, requests
9
, requests_ntlm
10
+
, websocket-client
11
# Visualization inputs
12
+
, withVisualization ? true
13
, ipython
14
, ipyvuetify
15
, ipywidgets
···
23
, nbformat
24
, pproxy
25
, qiskit-aer
26
+
, websockets
27
, vcrpy
28
}:
29
···
40
in
41
buildPythonPackage rec {
42
pname = "qiskit-ibmq-provider";
43
+
version = "0.18.0";
44
45
disabled = pythonOlder "3.6";
46
···
48
owner = "Qiskit";
49
repo = pname;
50
rev = version;
51
+
sha256 = "sha256-mVgR9vq9UpM/3VED4hpEev8YAoZY1URAxu7pVv+cjU8=";
52
};
53
54
propagatedBuildInputs = [
···
57
qiskit-terra
58
requests
59
requests_ntlm
60
+
websocket-client
61
] ++ lib.optionals withVisualization visualizationPackages;
62
63
+
postPatch = ''
64
+
substituteInPlace setup.py --replace "websocket-client>=1.0.1" "websocket-client"
65
+
'';
66
+
67
# Most tests require credentials to run on IBMQ
68
checkInputs = [
69
pytestCheckHook
···
72
pproxy
73
qiskit-aer
74
vcrpy
75
+
websockets
76
] ++ lib.optionals (!withVisualization) visualizationPackages;
77
78
pythonImportsCheck = [ "qiskit.providers.ibmq" ];
···
81
"test_old_api_url"
82
"test_non_auth_url"
83
"test_non_auth_url_with_hub"
84
+
"test_coder_optimizers" # TODO: reenable when package scikit-quant is packaged, either in NUR or nixpkgs
85
86
# slow tests
87
"test_websocket_retry_failure"