Merge pull request #178571 from gador/fix-python-jenkins

python3Packages.python-jenkins: remove deprecated unittest2
main
Fabian Affolter 2 years ago committed by GitHub
commit 02dc24cb08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      pkgs/development/python-modules/python-jenkins/default.nix

@ -10,8 +10,8 @@
, multi_key_dict
, testscenarios
, requests
, unittest2
, requests-mock
, stestr
}:
buildPythonPackage rec {
@ -33,16 +33,16 @@ buildPythonPackage rec {
buildInputs = [ mock ];
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
checkInputs = [ unittest2 testscenarios requests-mock ];
checkPhase = ''
unit2
'';
checkInputs = [ stestr testscenarios requests-mock ];
checkPhase = ''
stestr run
'';
meta = with lib; {
description = "Python bindings for the remote Jenkins API";
homepage = "https://pypi.python.org/pypi/python-jenkins";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ gador ];
};
}

Loading…
Cancel
Save