Skip to content

Commit

Permalink
Merge pull request #109529 from yevhenshymotiuk/pipx-0.16.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 17, 2021
2 parents 132835f + 13c4bc8 commit 68398d2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pkgs/development/python-modules/pipx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
, userpath
, argcomplete
, packaging
, importlib-metadata
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "pipx";
version = "0.15.6.0";
version = "0.16.0.0";

disabled = pythonOlder "3.6";

Expand All @@ -19,10 +20,16 @@ buildPythonPackage rec {
owner = "pipxproject";
repo = pname;
rev = version;
sha256 = "1yffswayjfkmq86ygisja0mkg55pqj9pdml5nc0z05222sfnvn1a";
sha256 = "08mn7vm8iw20pg0gfn491y1jx8wcyjijps6f1hy7ipzd5ckynscn";
};

propagatedBuildInputs = [ userpath argcomplete packaging ];
propagatedBuildInputs = [
userpath
argcomplete
packaging
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];

checkInputs = [ pytestCheckHook ];

Expand All @@ -31,17 +38,20 @@ buildPythonPackage rec {
'';

# disable tests, which require internet connection
pytestFlagsArray = [ "--ignore=tests/test_install_all_packages.py" ];
disabledTests = [
"install"
"inject"
"ensure_null_pythonpath"
"missing_interpreter"
"cache"
"internet"
"run"
"runpip"
"upgrade"
"suffix"
"legacy_venv"
"determination"
];

meta = with lib; {
Expand Down

0 comments on commit 68398d2

Please sign in to comment.