15
0
forked from pool/python-docker

Accepting request 665716 from home:mvyskocil:branches:devel:languages:python

- update to 3.7.0 (mandatory for latest docker-compose) 
  * Added support for multiplexed streams (for `attach` and `exec_start`). Learn
    more at https://docker-py.readthedocs.io/en/stable/user_guides/multiplex.html
  * Added the `use_config_proxy` parameter to the following methods:
    `APIClient.build`, `APIClient.create_container`, `DockerClient.images.build`
     and `DockerClient.containers.run` (`False` by default). **This parameter**
    **will become `True` by default in the 4.0.0 release.**
  * Placement preferences for Swarm services are better validated on the client
    and documentation has been updated accordingly
  * see https://github.com/docker/docker-py/releases/tag/3.7.0
    https://github.com/docker/docker-py/releases/tag/3.6.0 for more
    info

OBS-URL: https://build.opensuse.org/request/show/665716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal
2019-01-14 12:31:30 +00:00
committed by Git OBS Bridge
parent 6f011e1953
commit 7689030c7c
4 changed files with 31 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-docker
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,29 +19,31 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-docker
Version: 3.5.1
Version: 3.7.0
Release: 0
Summary: Docker API Client
License: Apache-2.0
Group: System/Management
URL: https://github.com/docker/docker-py
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
Source0: https://github.com/docker/docker-py/archive/%{version}.tar.gz
BuildRequires: %{python_module docker-pycreds >= 0.3.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module paramiko >= 2.4.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.9.1}
BuildRequires: %{python_module pytest-cov >= 2.1.0}
BuildRequires: %{python_module pytest-timeout >= 1.2.1}
BuildRequires: %{python_module requests >= 2.14.2}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: %{python_module websocket-client >= 0.32.0}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module websocket-client >= 0.40.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docker-pycreds >= 0.3.0
Requires: python-requests >= 2.14.2
Requires: python-six >= 1.4.0
Requires: python-websocket-client >= 0.32.0
Requires: python-paramiko >= 2.4.2
Requires: python-requests >= 2.20.0
Requires: python-six >= 1.10.0
Requires: python-websocket-client >= 0.40.0
# docker-py got renamed to docker in 2017
Obsoletes: python-docker-py < %{version}
Provides: python-docker-py = %{version}
@@ -65,7 +67,7 @@ Provides: %{oldpython}-docker-py = %{version}
A docker API client in Python
%prep
%setup -q -n docker-%{version}
%setup -q -n docker-py-%{version}
%build
%python_build