3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #83748 from veprbl/pr/python_docker_dontUseSetuptoolsCheck

pythonPackages.docker: use dontUseSetuptoolsCheck
This commit is contained in:
Dmitry Kalinkin 2020-04-05 00:41:06 -04:00 committed by GitHub
commit f601ab37c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,9 +18,7 @@ buildPythonPackage rec {
sha256 = "0bkj1xfp6mnvk1i9hl5awsmwi07q6iwwsjznd7kvrx5m19i6dbnx";
};
nativeBuildInputs = [
pytestCheckHook
] ++ lib.optional isPy27 mock;
nativeBuildInputs = lib.optional isPy27 mock;
propagatedBuildInputs = [
paramiko
@ -29,12 +27,15 @@ buildPythonPackage rec {
websocket_client
] ++ lib.optional isPy27 backports_ssl_match_hostname;
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "tests/unit" ];
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
disabledTests = lib.optionals stdenv.isDarwin [ "stream_response" "socket_file" ];
# skip setuptoolsCheckPhase
doCheck = false;
dontUseSetuptoolsCheck = true;
meta = with lib; {
description = "An API client for docker written in Python";