From 7da316113071b88fec8809ded4cc48971934aeb4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 29 Sep 2024 17:04:25 +0200 Subject: [PATCH] python3Packages.elasticsearch-dsl: 8.14.0 -> 8.15.3 --- .../elasticsearch-dsl/default.nix | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/elasticsearch-dsl/default.nix b/pkgs/development/python-modules/elasticsearch-dsl/default.nix index bd9b460356cb..4c5abd162b56 100644 --- a/pkgs/development/python-modules/elasticsearch-dsl/default.nix +++ b/pkgs/development/python-modules/elasticsearch-dsl/default.nix @@ -1,28 +1,39 @@ { lib, buildPythonPackage, - fetchPypi, elasticsearch, + fetchPypi, python-dateutil, - six, + pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "elasticsearch-dsl"; - version = "8.14.0"; - format = "setuptools"; + version = "8.15.3"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchPypi { - inherit pname version; - hash = "sha256-MmxtzPMvH/PUyEiJOIWQd4REuhj3cK3uUvJHIcuXxMc="; + pname = "elasticsearch_dsl"; + inherit version; + hash = "sha256-QAX6Gr71wK3FJmiWwxd9Dpj/WsSWA8Nt2pBY1hb3klc="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ elasticsearch python-dateutil - six + typing-extensions ]; + optional-dependencies = { + async = [ elasticsearch ] ++ elasticsearch.optional-dependencies.async; + }; + # ImportError: No module named test_elasticsearch_dsl # Tests require a local instance of elasticsearch doCheck = false; @@ -35,6 +46,7 @@ buildPythonPackage rec { the official low-level client (elasticsearch-py). ''; homepage = "https://github.com/elasticsearch/elasticsearch-dsl-py"; + changelog = "https://github.com/elastic/elasticsearch-dsl-py/blob/v${version}/Changelog.rst"; license = licenses.asl20; maintainers = with maintainers; [ desiderius ]; };