Unverified Commit 1114b274 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

python312Packages.githubkit: 0.11.3 -> 0.11.4
parents 2b5f0948 f4fe9076
Loading
Loading
Loading
Loading
+21 −36
Original line number Diff line number Diff line
{ 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