lol

python312Packages.biothings-client: fix build

Tom Hunze 92b142d8 4997b19d

+16 -6
+16 -6
pkgs/development/python-modules/biothings-client/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 5 setuptools, 6 + httpx, 6 7 pytestCheckHook, 7 - requests, 8 + pytest-asyncio, 8 9 }: 9 10 buildPythonPackage rec { 10 11 pname = "biothings-client"; ··· 19 20 }; 20 21 21 22 build-system = [ setuptools ]; 22 - dependencies = [ requests ]; 23 + dependencies = [ httpx ]; 23 24 pythonImportsCheck = [ "biothings_client" ]; 24 - nativeCheckInputs = [ pytestCheckHook ]; 25 + 26 + nativeCheckInputs = [ 27 + pytestCheckHook 28 + pytest-asyncio 29 + ]; 25 30 26 31 pytestFlagsArray = [ 27 32 # All other tests make network requests to exercise the API 28 - "tests/gene.py::TestGeneClient::test_http" 29 - "tests/test.py::TestBiothingsClient::test_generate_settings_from_url" 30 - "tests/variant.py::TestVariantClient::test_format_hgvs" 33 + "tests/test_async.py::test_generate_async_settings" 34 + "tests/test_async.py::test_url_protocol" 35 + "tests/test_async.py::test_async_client_proxy_discovery" 36 + "tests/test_async_variant.py::test_format_hgvs" 37 + "tests/test_sync.py::test_generate_settings" 38 + "tests/test_sync.py::test_url_protocol" 39 + "tests/test_sync.py::test_client_proxy_discovery" 40 + "tests/test_variant.py::test_format_hgvs" 31 41 ]; 32 42 33 43 meta = {