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
7
, qiskit-terra
8
8
, requests
9
9
, requests_ntlm
10
10
-
, websockets
10
10
+
, websocket-client
11
11
# Visualization inputs
12
12
-
, withVisualization ? false
12
12
+
, withVisualization ? true
13
13
, ipython
14
14
, ipyvuetify
15
15
, ipywidgets
···
23
23
, nbformat
24
24
, pproxy
25
25
, qiskit-aer
26
26
+
, websockets
26
27
, vcrpy
27
28
}:
28
29
···
39
40
in
40
41
buildPythonPackage rec {
41
42
pname = "qiskit-ibmq-provider";
42
42
-
version = "0.13.1";
43
43
+
version = "0.18.0";
43
44
44
45
disabled = pythonOlder "3.6";
45
46
···
47
48
owner = "Qiskit";
48
49
repo = pname;
49
50
rev = version;
50
50
-
hash = "sha256-DlHlXncttzGo4uVoh2aQ7urW6krN3ej2sJ/EwuxeF2I=";
51
51
+
sha256 = "sha256-mVgR9vq9UpM/3VED4hpEev8YAoZY1URAxu7pVv+cjU8=";
51
52
};
52
53
53
54
propagatedBuildInputs = [
···
56
57
qiskit-terra
57
58
requests
58
59
requests_ntlm
59
59
-
websockets
60
60
+
websocket-client
60
61
] ++ lib.optionals withVisualization visualizationPackages;
61
62
63
63
+
postPatch = ''
64
64
+
substituteInPlace setup.py --replace "websocket-client>=1.0.1" "websocket-client"
65
65
+
'';
66
66
+
62
67
# Most tests require credentials to run on IBMQ
63
68
checkInputs = [
64
69
pytestCheckHook
···
67
72
pproxy
68
73
qiskit-aer
69
74
vcrpy
75
75
+
websockets
70
76
] ++ lib.optionals (!withVisualization) visualizationPackages;
71
77
72
78
pythonImportsCheck = [ "qiskit.providers.ibmq" ];
···
75
81
"test_old_api_url"
76
82
"test_non_auth_url"
77
83
"test_non_auth_url_with_hub"
84
84
+
"test_coder_optimizers" # TODO: reenable when package scikit-quant is packaged, either in NUR or nixpkgs
78
85
79
86
# slow tests
80
87
"test_websocket_retry_failure"