python310Packages.elasticsearch-dsl: remove ipaddress dependency

This commit is contained in:
Sandro Jäckel 2022-05-30 05:42:13 +02:00 committed by Jonathan Ringer
parent 049be08db3
commit 30d5e6068a

View file

@ -1,9 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, elasticsearch
, ipaddress
, python-dateutil
, six
}:
@ -17,8 +15,7 @@ buildPythonPackage rec {
sha256 = "c4a7b93882918a413b63bed54018a1685d7410ffd8facbc860ee7fd57f214a6d";
};
propagatedBuildInputs = [ elasticsearch python-dateutil six ]
++ lib.optional (!isPy3k) ipaddress;
propagatedBuildInputs = [ elasticsearch python-dateutil six ];
# ImportError: No module named test_elasticsearch_dsl
# Tests require a local instance of elasticsearch