Merge pull request #305562 from r-ryantm/auto-update/python312Packages.githubkit

python312Packages.githubkit: 0.11.3 -> 0.11.4
This commit is contained in:
Fabian Affolter 2024-04-21 13:14:19 +02:00 committed by GitHub
commit 1114b274e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 36 deletions

View File

@ -1,22 +1,22 @@
{ lib
, anyio
, buildPythonPackage
, fetchFromGitHub
, hishel
, httpx
, poetry-core
, pydantic
, pyjwt
, pytest-xdist
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, typing-extensions
{
lib,
anyio,
buildPythonPackage,
fetchFromGitHub,
hishel,
httpx,
poetry-core,
pydantic,
pyjwt,
pytest-xdist,
pytestCheckHook,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "githubkit";
version = "0.11.3";
version = "0.11.4";
pyproject = true;
disabled = pythonOlder "3.8";
@ -25,22 +25,15 @@ buildPythonPackage rec {
owner = "yanyongyu";
repo = "githubkit";
rev = "refs/tags/v${version}";
hash = "sha256-GRuEzRqDfhLCanuQnCkMXmDnfNkLFb35Gixl9pWmA8w=";
hash = "sha256-uxXRDavp5c3e1MOZR2B4wUxEHh6K81avTeaIVsOdup8=";
};
pythonRelaxDeps = [
"hishel"
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov=githubkit --cov-append --cov-report=term-missing" ""
'';
build-system = [
poetry-core
pythonRelaxDepsHook
];
build-system = [ poetry-core ];
dependencies = [
hishel
@ -54,15 +47,9 @@ buildPythonPackage rec {
anyio
pyjwt
];
jwt = [
pyjwt
];
auth-app = [
pyjwt
];
auth-oauth-device = [
anyio
];
jwt = [ pyjwt ];
auth-app = [ pyjwt ];
auth-oauth-device = [ anyio ];
auth = [
anyio
pyjwt
@ -74,9 +61,7 @@ buildPythonPackage rec {
pytest-xdist
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"githubkit"
];
pythonImportsCheck = [ "githubkit" ];
disabledTests = [
# Tests require network access