Merge pull request #63480 from jonringer/bump_py_docker

pythonPackages.docker: 3.7.2 -> 4.0.2
This commit is contained in:
Mario Rodas 2019-08-04 09:56:46 -05:00 committed by GitHub
commit 876ed94c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,33 +1,43 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi, isPy27
, six, requests, websocket_client , backports_ssl_match_hostname
, ipaddress, backports_ssl_match_hostname, docker_pycreds , mock
, paramiko
, pytest
, requests
, six
, websocket_client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.7.2"; version = "4.0.2";
pname = "docker"; pname = "docker";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c456ded5420af5860441219ff8e51cdec531d65f4a9e948ccd4133e063b72f50"; sha256 = "0r1i46h8x1vfvadayyvmh5hc6mpzgv3vvp6pv4g1wavamya2wnyc";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
six six
requests requests
websocket_client websocket_client
ipaddress paramiko
backports_ssl_match_hostname ] ++ stdenv.lib.optional isPy27 backports_ssl_match_hostname;
docker_pycreds
checkInputs = [
mock
pytest
]; ];
# Flake8 version conflict # Other tests touch network
doCheck = false; checkPhase = ''
${pytest}/bin/pytest tests/unit/
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An API client for docker written in Python"; description = "An API client for docker written in Python";
homepage = https://github.com/docker/docker-py; homepage = https://github.com/docker/docker-py;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ maintainers = with maintainers; [ jonringer ];
];
}; };
} }