refs https://github.com/docker/compose/issues/5672
%define pypi_name docker
Summary: A Python library for the Docker Engine API
Name: python-%{module}
-Version: 2.5.1
+Version: 3.1.0
Release: 1
License: Apache v2.0
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-# Source0-md5: 7d917152976df075e6e90ee853df641f
+# Source0-md5: 63494b83e6825f4845d6996d87e0dbf2
Patch0: unpin-requirements.patch
URL: http://docker-py.readthedocs.org/
BuildRequires: rpm-pythonprov
---- docker-py-1.9.0/test-requirements.txt~ 2016-06-03 03:59:50.000000000 +0300
-+++ docker-py-1.9.0/test-requirements.txt 2016-09-01 16:51:41.334585017 +0300
+--- docker-3.1.0/test-requirements.txt~ 2017-10-27 00:11:50.000000000 +0300
++++ docker-3.1.0/test-requirements.txt 2018-02-26 20:01:57.334881524 +0200
@@ -1,5 +1,5 @@
-mock==1.0.1
-pytest==2.9.1
-coverage==3.7.1
-pytest-cov==2.1.0
--flake8==2.4.1
+-flake8==3.4.1
+mock>=1.0.1
-+pytest>=2.7.2
++pytest>=2.9.1
+coverage>=3.7.1
+pytest-cov>=2.1.0
-+flake8>=2.4.1
++flake8>=3.4.1