python310Packages.docker: 6.0.0 -> 6.0.1

This commit is contained in:
Fabian Affolter 2022-11-07 14:27:49 +01:00
parent d3c9c4df6b
commit ce752bc694

View file

@ -14,13 +14,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "docker"; pname = "docker";
version = "6.0.0"; version = "6.0.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-GeMwRwr0AWfSk7A1JXjB+iLXSzTT7fXU/5DrwgO7svE="; hash = "sha256-iWxCguXHr1xF6LaDsLDDOTKXT+blD8aQagqDYWqz2pc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -47,10 +48,16 @@ buildPythonPackage rec {
]; ];
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
disabledTests = lib.optionals stdenv.isDarwin [ "api_test" "stream_response" "socket_file" ]; disabledTests = lib.optionals stdenv.isDarwin [
"api_test" "stream_response" "socket_file"
];
dontUseSetuptoolsCheck = true; dontUseSetuptoolsCheck = true;
pythonImportsCheck = [
"docker"
];
meta = with lib; { meta = with 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";