lol

Merge pull request #141887 from kira-bruneau/pythonPackages.debugpy

authored by

Sandro and committed by
GitHub
fbaffb3f f12ffac9

+8 -17
+8 -17
pkgs/development/python-modules/debugpy/default.nix
··· 4 4 , fetchFromGitHub 5 5 , substituteAll 6 6 , gdb 7 + , django 7 8 , flask 9 + , gevent 8 10 , psutil 9 11 , pytest-timeout 10 12 , pytest-xdist 11 13 , pytestCheckHook 12 14 , requests 13 - , isPy27 14 - , django 15 - , gevent 15 + , isPy3k 16 16 }: 17 17 18 18 buildPythonPackage rec { 19 19 pname = "debugpy"; 20 - version = "1.4.3"; 20 + version = "1.5.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "Microsoft"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - hash = "sha256-ULxVoZuMNDL0Win/+55RnbkCPZ8OI8nhSKshvJOMFQ4="; 26 + sha256 = "sha256-xgxKyqtSqKITwze7DKDdkxZlq1mWM+x4C/eJlUJmYuk="; 27 27 }; 28 28 29 29 patches = [ ··· 65 65 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")} 66 66 )''; 67 67 68 + doCheck = isPy3k; 68 69 checkInputs = [ 70 + django 69 71 flask 72 + gevent 70 73 psutil 71 74 pytest-timeout 72 75 pytest-xdist 73 76 pytestCheckHook 74 77 requests 75 - ] ++ lib.optionals (!isPy27) [ 76 - django 77 - gevent 78 78 ]; 79 79 80 80 # Override default arguments in pytest.ini 81 81 pytestFlagsArray = [ "--timeout=0" "-n=$NIX_BUILD_CORES" ]; 82 - 83 - disabledTests = lib.optionals isPy27 [ 84 - # django 1.11 is the last version to support Python 2.7 85 - # and is no longer built in nixpkgs 86 - "django" 87 - 88 - # gevent fails to import zope.interface with Python 2.7 89 - "gevent" 90 - ]; 91 82 92 83 pythonImportsCheck = [ "debugpy" ]; 93 84