From a9a1041404e3ec578e7ffe5117ee498f627892fc Mon Sep 17 00:00:00 2001 From: R. Ryantm Date: Sat, 20 Apr 2024 14:21:53 +0000 Subject: python312Packages.githubkit: 0.11.3 -> 0.11.4 --- pkgs/development/python-modules/githubkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index ac9ed0be67d5..8c2e54f8f1c4 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "githubkit"; - version = "0.11.3"; + version = "0.11.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "yanyongyu"; repo = "githubkit"; rev = "refs/tags/v${version}"; - hash = "sha256-GRuEzRqDfhLCanuQnCkMXmDnfNkLFb35Gixl9pWmA8w="; + hash = "sha256-uxXRDavp5c3e1MOZR2B4wUxEHh6K81avTeaIVsOdup8="; }; pythonRelaxDeps = [ -- cgit 1.4.1 From 44cd302796135026a743cc442485670adada14ee Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:46:02 +0200 Subject: python312Packages.githubkit: refactor --- pkgs/development/python-modules/githubkit/default.nix | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index 8c2e54f8f1c4..8c5284f65129 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -10,7 +10,6 @@ , pytest-xdist , pytestCheckHook , pythonOlder -, pythonRelaxDepsHook , typing-extensions }: @@ -28,10 +27,6 @@ buildPythonPackage rec { hash = "sha256-uxXRDavp5c3e1MOZR2B4wUxEHh6K81avTeaIVsOdup8="; }; - pythonRelaxDeps = [ - "hishel" - ]; - postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "--cov=githubkit --cov-append --cov-report=term-missing" "" @@ -39,7 +34,6 @@ buildPythonPackage rec { build-system = [ poetry-core - pythonRelaxDepsHook ]; dependencies = [ -- cgit 1.4.1 From f4fe9076efaab3b11885e69b4f4020a95d40c6ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:46:37 +0200 Subject: python312Packages.githubkit: foramt with nixfmt --- .../python-modules/githubkit/default.nix | 47 +++++++++------------- 1 file changed, 19 insertions(+), 28 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index 8c5284f65129..3a8f62f6a02d 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -1,16 +1,17 @@ -{ lib -, anyio -, buildPythonPackage -, fetchFromGitHub -, hishel -, httpx -, poetry-core -, pydantic -, pyjwt -, pytest-xdist -, pytestCheckHook -, pythonOlder -, typing-extensions +{ + lib, + anyio, + buildPythonPackage, + fetchFromGitHub, + hishel, + httpx, + poetry-core, + pydantic, + pyjwt, + pytest-xdist, + pytestCheckHook, + pythonOlder, + typing-extensions, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { --replace-fail "--cov=githubkit --cov-append --cov-report=term-missing" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ hishel @@ -48,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 @@ -68,9 +61,7 @@ buildPythonPackage rec { pytest-xdist ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); - pythonImportsCheck = [ - "githubkit" - ]; + pythonImportsCheck = [ "githubkit" ]; disabledTests = [ # Tests require network access -- cgit 1.4.1