diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-12-06 19:57:55 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-08 13:48:30 +0000 |
commit | bf3aadfdd39aa197e18bade671fab6726349ffa4 (patch) | |
tree | 698567af766ed441d757b57a7b21e68d4a342a2b /nixpkgs/pkgs/development/python-modules/gidgethub | |
parent | f4afc5a01d9539ce09e47494e679c51f80723d07 (diff) | |
parent | 99665eb45f58d959d2cb9e49ddb960c79d596f33 (diff) | |
download | nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.gz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.bz2 nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.lz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.xz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.zst nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.zip |
Merge commit '99665eb45f58d959d2cb9e49ddb960c79d596f33'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/gidgethub')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/gidgethub/default.nix | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/gidgethub/default.nix b/nixpkgs/pkgs/development/python-modules/gidgethub/default.nix index 691af2eda849..144a48f59324 100644 --- a/nixpkgs/pkgs/development/python-modules/gidgethub/default.nix +++ b/nixpkgs/pkgs/development/python-modules/gidgethub/default.nix @@ -2,43 +2,47 @@ , buildPythonPackage , fetchPypi , pythonOlder -, setuptools -, pytest-runner -, pytest -, pytest-asyncio -, twisted -, treq -, tornado -, aiohttp , uritemplate , pyjwt +, pytestCheckHook +, aiohttp +, httpx +, importlib-resources +, pytest-asyncio +, pytest-tornasync }: buildPythonPackage rec { pname = "gidgethub"; - version = "5.0.1"; + version = "5.2.0"; + format = "flit"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "3efbd6998600254ec7a2869318bd3ffde38edc3a0d37be0c14bc46b45947b682"; + sha256 = "sha256-w1m3aRlOcvmE0uMo3g7o64G3AjQrCkTcXOuskhBOz0s="; }; - nativeBuildInputs = [ setuptools pytest-runner ]; - checkInputs = [ pytest pytest-asyncio twisted treq tornado aiohttp ]; propagatedBuildInputs = [ uritemplate pyjwt ]; - postPatch = '' - substituteInPlace setup.py \ - --replace "extras_require=extras_require," "extras_require=None," - ''; + checkInputs = [ + pytestCheckHook + aiohttp + httpx + importlib-resources + pytest-asyncio + pytest-tornasync + ]; - # requires network (reqests github.com) - doCheck = false; + disabledTests = [ + # Require internet connection + "test__request" + "test_get" + ]; meta = with lib; { description = "An async GitHub API library"; |