From 158296e8490b5c93bdd6745103d0814382b1b080 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 May 2025 19:04:07 +0200 Subject: [PATCH] python313Packages.elastic-transport: cleanup --- .../python-modules/elastic-transport/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/elastic-transport/default.nix b/pkgs/development/python-modules/elastic-transport/default.nix index 690e6c89b93a..394d3cd16331 100644 --- a/pkgs/development/python-modules/elastic-transport/default.nix +++ b/pkgs/development/python-modules/elastic-transport/default.nix @@ -9,6 +9,7 @@ opentelemetry-sdk, orjson, pytest-asyncio, + pytest-cov-stub, pytest-httpserver, pytestCheckHook, pythonOlder, @@ -33,14 +34,9 @@ buildPythonPackage rec { hash = "sha256-LWSvE88wEwMxRi6IZsMkIRP8UTRfImC9QZnuka1oiso="; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov-report=term-missing --cov=elastic_transport" "" - ''; - build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ urllib3 certifi ]; @@ -52,6 +48,7 @@ buildPythonPackage rec { opentelemetry-sdk orjson pytest-asyncio + pytest-cov-stub pytest-httpserver pytestCheckHook requests @@ -87,7 +84,7 @@ buildPythonPackage rec { meta = with lib; { description = "Transport classes and utilities shared among Python Elastic client libraries"; - homepage = "https://github.com/elasticsearch/elastic-transport-python"; + homepage = "https://github.com/elastic/elastic-transport-python"; changelog = "https://github.com/elastic/elastic-transport-python/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ];