Merge pull request #322850 from fabaff/aiogithubapi-bump

python312Packages.aiogithubapi: 23.11.0 -> 24.6.0
This commit is contained in:
Fabian Affolter 2024-07-13 08:30:13 +02:00 committed by GitHub
commit 01ab27c10e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "aiogithubapi";
version = "23.11.0";
version = "24.6.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = "aiogithubapi";
rev = "refs/tags/${version}";
hash = "sha256-SbpfHKD4QJuCe3QG0GTvsffkuFiGPLEUXOVW9f1gyTI=";
hash = "sha256-z7l7Qx9Kg1FZ9nM0V2NzTyi3gbE2hakbc/GZ1CzDmKw=";
};
__darwinAllowLocalNetworking = true;
@ -33,24 +33,25 @@ buildPythonPackage rec {
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus
substituteInPlace pyproject.toml \
--replace 'version = "0"' 'version = "${version}"' \
--replace 'backoff = "^1.10.0"' 'backoff = "*"' \
--replace 'sigstore = "<2"' 'sigstore = "*"'
--replace-fail 'version = "0"' 'version = "${version}"'
'';
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
async-timeout
backoff
sigstore
];
# Optional dependencies for deprecated-verify are not added
# Only sigstore < 2 is supported
nativeCheckInputs = [
aresponses
pytest-asyncio
pytestCheckHook
sigstore
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
@ -70,7 +71,7 @@ buildPythonPackage rec {
description = "Python client for the GitHub API";
homepage = "https://github.com/ludeeus/aiogithubapi";
changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}