python313Packages.aiogithubapi: refactor

Changed files
+5 -5
pkgs
development
python-modules
aiogithubapi
+5 -5
pkgs/development/python-modules/aiogithubapi/default.nix
···
pytestCheckHook,
pythonOlder,
sigstore,
+
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
···
version = "25.5.0";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ludeeus";
···
};
__darwinAllowLocalNetworking = true;
-
-
pythonRelaxDeps = [ "async-timeout" ];
postPatch = ''
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
···
--replace-fail 'version = "0"' 'version = "${version}"'
'';
+
pythonRelaxDeps = [ "async-timeout" ];
+
build-system = [ poetry-core ];
dependencies = [
···
aresponses
pytest-asyncio
pytestCheckHook
+
writableTmpDirAsHomeHook
];
pytestFlags = [ "--asyncio-mode=auto" ];
preCheck = ''
-
export HOME=$(mktemp -d)
-
# Need sigstore is an optional dependencies and need <2
rm -rf tests/test_helper.py
'';