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

View File

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