python313Packages.elastic-transport: cleanup

This commit is contained in:
Martin Weinelt 2025-05-21 19:04:07 +02:00 committed by Robert Schütz
parent 76b0f12844
commit 158296e849

View file

@ -9,6 +9,7 @@
opentelemetry-sdk, opentelemetry-sdk,
orjson, orjson,
pytest-asyncio, pytest-asyncio,
pytest-cov-stub,
pytest-httpserver, pytest-httpserver,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
@ -33,14 +34,9 @@ buildPythonPackage rec {
hash = "sha256-LWSvE88wEwMxRi6IZsMkIRP8UTRfImC9QZnuka1oiso="; hash = "sha256-LWSvE88wEwMxRi6IZsMkIRP8UTRfImC9QZnuka1oiso=";
}; };
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov-report=term-missing --cov=elastic_transport" ""
'';
build-system = [ setuptools ]; build-system = [ setuptools ];
propagatedBuildInputs = [ dependencies = [
urllib3 urllib3
certifi certifi
]; ];
@ -52,6 +48,7 @@ buildPythonPackage rec {
opentelemetry-sdk opentelemetry-sdk
orjson orjson
pytest-asyncio pytest-asyncio
pytest-cov-stub
pytest-httpserver pytest-httpserver
pytestCheckHook pytestCheckHook
requests requests
@ -87,7 +84,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Transport classes and utilities shared among Python Elastic client libraries"; 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}"; changelog = "https://github.com/elastic/elastic-transport-python/releases/tag/${src.tag}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];