From 7689030c7c5e705bb1e3e79de730b95962f2e621ea1d64bbfe6c14401a3e2a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 14 Jan 2019 12:31:30 +0000 Subject: [PATCH] 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 --- 3.7.0.tar.gz | 3 +++ docker-3.5.1.tar.gz | 3 --- python-docker.changes | 16 ++++++++++++++++ python-docker.spec | 22 ++++++++++++---------- 4 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 3.7.0.tar.gz delete mode 100644 docker-3.5.1.tar.gz diff --git a/3.7.0.tar.gz b/3.7.0.tar.gz new file mode 100644 index 0000000..18f88e5 --- /dev/null +++ b/3.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:635fcf04dd60d4c1aacc27e8a5e045be3132c046bde01333c1014cc7f0ba5b2a +size 220407 diff --git a/docker-3.5.1.tar.gz b/docker-3.5.1.tar.gz deleted file mode 100644 index d6367fc..0000000 --- a/docker-3.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbe82af9b94ccced752527c8de07fa20267f9634b48674ba478a0bb4000a0b1e -size 176370 diff --git a/python-docker.changes b/python-docker.changes index b8eb9b9..456d20f 100644 --- a/python-docker.changes +++ b/python-docker.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Jan 14 12:22:01 UTC 2019 - Michal Vyskocil + +- 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 + ------------------------------------------------------------------- Wed Nov 14 11:57:19 UTC 2018 - Tomáš Chvátal diff --git a/python-docker.spec b/python-docker.spec index 96881c2..4d178ba 100644 --- a/python-docker.spec +++ b/python-docker.spec @@ -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