python3Packages.aiogithubapi: fix build

This commit is contained in:
wxt
2024-11-14 15:51:30 +08:00
parent 1afe1f27d3
commit ecf41568e5
@@ -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 ];
};
}