python3Packages.pipx: 0.15.6.0 -> 0.16.0.0

This commit is contained in:
Yevhen Shymotiuk 2021-01-16 15:52:28 +02:00
parent 6b0ba74baa
commit 13c4bc8a98
No known key found for this signature in database
GPG Key ID: F79099398148756F

View File

@ -5,12 +5,13 @@
, userpath , userpath
, argcomplete , argcomplete
, packaging , packaging
, importlib-metadata
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pipx"; pname = "pipx";
version = "0.15.6.0"; version = "0.16.0.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -19,10 +20,16 @@ buildPythonPackage rec {
owner = "pipxproject"; owner = "pipxproject";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1yffswayjfkmq86ygisja0mkg55pqj9pdml5nc0z05222sfnvn1a"; sha256 = "08mn7vm8iw20pg0gfn491y1jx8wcyjijps6f1hy7ipzd5ckynscn";
}; };
propagatedBuildInputs = [ userpath argcomplete packaging ]; propagatedBuildInputs = [
userpath
argcomplete
packaging
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
@ -31,6 +38,7 @@ buildPythonPackage rec {
''; '';
# disable tests, which require internet connection # disable tests, which require internet connection
pytestFlagsArray = [ "--ignore=tests/test_install_all_packages.py" ];
disabledTests = [ disabledTests = [
"install" "install"
"inject" "inject"
@ -38,10 +46,12 @@ buildPythonPackage rec {
"missing_interpreter" "missing_interpreter"
"cache" "cache"
"internet" "internet"
"run"
"runpip" "runpip"
"upgrade" "upgrade"
"suffix" "suffix"
"legacy_venv" "legacy_venv"
"determination"
]; ];
meta = with lib; { meta = with lib; {