git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.PyGithub: 1.45 -> 1.47

Upstream dropped python2 support in 1.45, so the `nixpkgs-update` bot has not been successful in bumping it. While this still does not run the test suite, it gets us closer.

commitd20a62ae85d9effe31ee218c54d5e0eac68e30c4 authorBenjamin Hipple <bhipple@protonmail.com> dateSat 4 Apr 2020, 11:26 (7 years ago) parent6620221
1 file changed+19−6
pkgs/development/python-modules/pyGithub/default.nix+19−6
pkgs/development/python-modules/pyGithub/default.nix+19−6
@@ -1,22 +1,35 @@
1−{ stdenv, fetchFromGitHub
2−, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
1+{ stdenv
2+, buildPythonPackage
3+, cryptography
4+, deprecated
5+, fetchFromGitHub
6+, httpretty
7+, isPy3k
8+, parameterized
9+, pyjwt
10+, pytestCheckHook
11+, requests }:
312
413buildPythonPackage rec {
514 pname = "PyGithub";
6− version = "1.45";
15+ version = "1.47";
16+ disabled = !isPy3k;
717
818 src = fetchFromGitHub {
919 owner = "PyGithub";
1020 repo = "PyGithub";
1121 rev = "v${version}";
12− sha256 = "1aiyqwdxpcr7yzz7aqmmjn1g2ajs5bpbln4sax5zw19dqi6qgp9z";
22+ sha256 = "0zvp1gib2lryw698vxkbdv40n3lsmdlhwp7vdcg41dqqa5nfryhn";
1323 };
1424
15− propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
25+ checkInputs = [ httpretty parameterized pytestCheckHook ];
26+ propagatedBuildInputs = [ cryptography deprecated pyjwt requests ];
27+
28+ # Test suite makes REST calls against github.com
1629 doCheck = false;
1730
1831 meta = with stdenv.lib; {
19− homepage = https://github.com/PyGithub/PyGithub;
32+ homepage = "https://github.com/PyGithub/PyGithub";
2033 description = "A Python (2 and 3) library to access the GitHub API v3";
2134 platforms = platforms.all;
2235 license = licenses.gpl3;