aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/executor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/executor/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/executor/default.nix23
1 files changed, 14 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/executor/default.nix b/nixpkgs/pkgs/development/python-modules/executor/default.nix
index 8d9b379187b..3e14074f186 100644
--- a/nixpkgs/pkgs/development/python-modules/executor/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/executor/default.nix
@@ -1,26 +1,31 @@
-{ lib, buildPythonPackage, fetchFromGitHub, coloredlogs, property-manager, fasteners, pytest, mock, virtualenv }:
+{ lib, buildPythonPackage, fetchFromGitHub, isPy27, coloredlogs, property-manager, fasteners, pytestCheckHook, mock, virtualenv }:
buildPythonPackage rec {
pname = "executor";
- version = "21.3";
+ version = "23.1";
+ disabled = isPy27;
src = fetchFromGitHub {
owner = "xolox";
repo = "python-executor";
rev = version;
- sha256 = "0rc14vjx3d6irfaw0pczzw1pn0xjl7xikv32hc1fvxv2ibnldv5d";
+ sha256 = "1jfmagw126di0qd82bydwvryqcxc54pqja3rbx3ny3fv1ahi5s7k";
};
propagatedBuildInputs = [ coloredlogs property-manager fasteners ];
- checkInputs = [ pytest mock virtualenv ];
+ checkInputs = [ pytestCheckHook mock virtualenv ];
# ignore impure tests
- checkPhase = ''
- pytest . -k "not option and not retry \
- and not remote and not ssh \
- and not foreach and not local_context"
- '';
+ disabledTests = [
+ "option"
+ "retry"
+ "remote"
+ "ssh"
+ "foreach"
+ "local_context"
+ "release" # meant to be ran on ubuntu to succeed
+ ];
meta = with lib; {
description = "Programmer friendly subprocess wrapper";