From ecf41568e50cfba990a18ebf2f7b921ab8a978f3 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Thu, 14 Nov 2024 07:46:17 +0800 Subject: [PATCH] python3Packages.aiogithubapi: fix build --- .../python-modules/aiogithubapi/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/aiogithubapi/default.nix b/pkgs/development/python-modules/aiogithubapi/default.nix index 7ff1bd6b6722..5f4a3c28d154 100644 --- a/pkgs/development/python-modules/aiogithubapi/default.nix +++ b/pkgs/development/python-modules/aiogithubapi/default.nix @@ -51,27 +51,24 @@ buildPythonPackage rec { aresponses pytest-asyncio pytestCheckHook - sigstore ]; pytestFlagsArray = [ "--asyncio-mode=auto" ]; preCheck = '' export HOME=$(mktemp -d) + + # Need sigstore is an optional dependencies and need <2 + rm -rf tests/test_helper.py ''; pythonImportsCheck = [ "aiogithubapi" ]; - disabledTests = [ - # sigstore.errors.TUFError: Failed to refresh TUF metadata - "test_sigstore" - ]; - - meta = with lib; { + meta = { description = "Python client for the GitHub API"; homepage = "https://github.com/ludeeus/aiogithubapi"; changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }