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

View File

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