tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.biothings-client: fix build
Tom Hunze
11 months ago
92b142d8
4997b19d
+16
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
biothings-client
default.nix
+16
-6
pkgs/development/python-modules/biothings-client/default.nix
reviewed
···
3
3
buildPythonPackage,
4
4
fetchFromGitHub,
5
5
setuptools,
6
6
+
httpx,
6
7
pytestCheckHook,
7
7
-
requests,
8
8
+
pytest-asyncio,
8
9
}:
9
10
buildPythonPackage rec {
10
11
pname = "biothings-client";
···
19
20
};
20
21
21
22
build-system = [ setuptools ];
22
22
-
dependencies = [ requests ];
23
23
+
dependencies = [ httpx ];
23
24
pythonImportsCheck = [ "biothings_client" ];
24
24
-
nativeCheckInputs = [ pytestCheckHook ];
25
25
+
26
26
+
nativeCheckInputs = [
27
27
+
pytestCheckHook
28
28
+
pytest-asyncio
29
29
+
];
25
30
26
31
pytestFlagsArray = [
27
32
# All other tests make network requests to exercise the API
28
28
-
"tests/gene.py::TestGeneClient::test_http"
29
29
-
"tests/test.py::TestBiothingsClient::test_generate_settings_from_url"
30
30
-
"tests/variant.py::TestVariantClient::test_format_hgvs"
33
33
+
"tests/test_async.py::test_generate_async_settings"
34
34
+
"tests/test_async.py::test_url_protocol"
35
35
+
"tests/test_async.py::test_async_client_proxy_discovery"
36
36
+
"tests/test_async_variant.py::test_format_hgvs"
37
37
+
"tests/test_sync.py::test_generate_settings"
38
38
+
"tests/test_sync.py::test_url_protocol"
39
39
+
"tests/test_sync.py::test_client_proxy_discovery"
40
40
+
"tests/test_variant.py::test_format_hgvs"
31
41
];
32
42
33
43
meta = {