summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/debugpy
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-10-19 00:07:13 +0000
committerGitHub <noreply@github.com>2021-10-19 00:07:13 +0000
commitfce8110371f679d520c857fc43d1191de052d798 (patch)
tree5a03330644fca554a8f694e307281df0d81bf1b0 /pkgs/development/python-modules/debugpy
parentd769c58ee8c008d29caa0dcfd45373ad64e00264 (diff)
parent1e9e6e7427cca39d3a78f87c9d8193972f7873fc (diff)
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/debugpy')
-rw-r--r--pkgs/development/python-modules/debugpy/default.nix25
1 files changed, 8 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix
index 4392a3c2ecf4..183548f5f944 100644
--- a/pkgs/development/python-modules/debugpy/default.nix
+++ b/pkgs/development/python-modules/debugpy/default.nix
@@ -4,26 +4,26 @@
, fetchFromGitHub
, substituteAll
, gdb
+, django
, flask
+, gevent
, psutil
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, requests
-, isPy27
-, django
-, gevent
+, isPy3k
}:
buildPythonPackage rec {
pname = "debugpy";
- version = "1.4.3";
+ version = "1.5.0";
src = fetchFromGitHub {
owner = "Microsoft";
repo = pname;
rev = "v${version}";
- hash = "sha256-ULxVoZuMNDL0Win/+55RnbkCPZ8OI8nhSKshvJOMFQ4=";
+ sha256 = "sha256-xgxKyqtSqKITwze7DKDdkxZlq1mWM+x4C/eJlUJmYuk=";
};
patches = [
@@ -65,30 +65,21 @@ buildPythonPackage rec {
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")}
)'';
+ doCheck = isPy3k;
checkInputs = [
+ django
flask
+ gevent
psutil
pytest-timeout
pytest-xdist
pytestCheckHook
requests
- ] ++ lib.optionals (!isPy27) [
- django
- gevent
];
# Override default arguments in pytest.ini
pytestFlagsArray = [ "--timeout=0" "-n=$NIX_BUILD_CORES" ];
- disabledTests = lib.optionals isPy27 [
- # django 1.11 is the last version to support Python 2.7
- # and is no longer built in nixpkgs
- "django"
-
- # gevent fails to import zope.interface with Python 2.7
- "gevent"
- ];
-
pythonImportsCheck = [ "debugpy" ];
meta = with lib; {