From 46b2cd89f10f55a9f671a28c27d7f5dfc188be1ee4aa05f6c30fb0161ec9ac88 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 11 Oct 2017 10:39:13 +0000 Subject: [PATCH] Accepting request 533199 from home:apersaud:branches:devel:languages:python - specfile: * added obsoletes %oldpython - update to version 2.5.1: * Bugfixes + Fixed a bug where patterns ending with ** in .dockerignore would raise an exception + Fixed a bug where using attach with the stream argument set to False would raise an exception - changes from version 2.5.0: * Features + Added support for the squash parameter in APIClient.build and DockerClient.images.build. + When using API version 1.23 or above, load_image will now return a generator of progress as JSON dicts. + remove_image now returns the content of the API's response. * Bugfixes + Fixed an issue where the auto_remove parameter in DockerClient.containers.run was not taken into account. + Fixed a bug where .dockerignore patterns starting with a slash were ignored. + Fixed an issue with the handling of ** patterns in .dockerignore + Fixed a bug where building FROM a private Docker Hub image when not using a cred store would fail. + Fixed a bug where calling create_service or update_service with task_template as a dict would raise an exception. + Fixed the handling of TTY-enabled containers in attach and exec_run. + DockerClient.containers.run will no longer attempt to stream logs if the log driver doesn't support the operation. * Miscellaneous + Added extra requirements for better TLS support on some platforms. These can be installed or required through the docker[tls] notation. OBS-URL: https://build.opensuse.org/request/show/533199 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=3 --- docker-2.4.2.tar.gz | 3 --- docker-2.5.1.tar.gz | 3 +++ python-docker.changes | 39 +++++++++++++++++++++++++++++++++++++++ python-docker.spec | 20 ++++++++++++-------- 4 files changed, 54 insertions(+), 11 deletions(-) delete mode 100644 docker-2.4.2.tar.gz create mode 100644 docker-2.5.1.tar.gz diff --git a/docker-2.4.2.tar.gz b/docker-2.4.2.tar.gz deleted file mode 100644 index 1c74c37..0000000 --- a/docker-2.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:216ffa6daaecf55895f2207ebff84e48e554fe95826de6d95fa60081e8347486 -size 152554 diff --git a/docker-2.5.1.tar.gz b/docker-2.5.1.tar.gz new file mode 100644 index 0000000..f51a17a --- /dev/null +++ b/docker-2.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880 +size 155088 diff --git a/python-docker.changes b/python-docker.changes index 895931b..7de48e3 100644 --- a/python-docker.changes +++ b/python-docker.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed Oct 4 15:49:03 UTC 2017 - arun@gmx.de + +- specfile: + * added obsoletes %oldpython + +- update to version 2.5.1: + * Bugfixes + + Fixed a bug where patterns ending with ** in .dockerignore would + raise an exception + + Fixed a bug where using attach with the stream argument set to + False would raise an exception + +- changes from version 2.5.0: + * Features + + Added support for the squash parameter in APIClient.build and + DockerClient.images.build. + + When using API version 1.23 or above, load_image will now return + a generator of progress as JSON dicts. + + remove_image now returns the content of the API's response. + * Bugfixes + + Fixed an issue where the auto_remove parameter in + DockerClient.containers.run was not taken into account. + + Fixed a bug where .dockerignore patterns starting with a slash + were ignored. + + Fixed an issue with the handling of ** patterns in .dockerignore + + Fixed a bug where building FROM a private Docker Hub image when + not using a cred store would fail. + + Fixed a bug where calling create_service or update_service with + task_template as a dict would raise an exception. + + Fixed the handling of TTY-enabled containers in attach and + exec_run. + + DockerClient.containers.run will no longer attempt to stream + logs if the log driver doesn't support the operation. + * Miscellaneous + + Added extra requirements for better TLS support on some + platforms. These can be installed or required through the + docker[tls] notation. + ------------------------------------------------------------------- Fri Sep 29 12:24:51 UTC 2017 - tbechtold@suse.com diff --git a/python-docker.spec b/python-docker.spec index ff2d47a..a7a3c8f 100644 --- a/python-docker.spec +++ b/python-docker.spec @@ -15,26 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-docker -Version: 2.4.2 +Version: 2.5.1 Release: 0 Summary: Docker API Client License: Apache-2.0 Group: System/Management Url: https://pypi.python.org/pypi/docker Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: fdupes BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module pip} BuildRequires: %{python_module websocket-client} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %ifpython2 Requires: python-backports.ssl_match_hostname >= 3.5 Requires: python-ipaddress >= 1.0.16 @@ -46,9 +47,12 @@ Requires: python-websocket-client >= 0.32.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch # docker-py got renamed to docker in 2017 -Obsoletes: python-docker-py < %{version} -Provides: python-docker-py = %{version} - +Obsoletes: python-docker-py < %{version} +Provides: python-docker-py = %{version} +%ifpython2 +Obsoletes: %{oldpython}-docker-py < %{version} +Provides: %{oldpython}-docker-py = %{version} +%endif %python_subpackages %description