Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2015-04-22 01:19:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-docker-py (Old) and /work/SRC/openSUSE:Factory/.python-docker-py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docker-py" Changes: -------- --- /work/SRC/openSUSE:Factory/python-docker-py/python-docker-py.changes 2015-02-18 20:36:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-04-22 01:19:47.000000000 +0200 @@ -1,0 +2,139 @@ +Thu Apr 9 13:59:25 UTC 2015 - [email protected] + +- Updated to 1.1.0 + * Features + * Added `dockerfile` param support to `Client.build` (mirrors + `docker build -f` behavior) + * Added the ability to specify `'auto'` as `version` in `Client.__init__`, + allowing the constructor to autodetect the daemon's API version. + * Bugfixes + * Fixed a bug where decoding a result stream using the `decode` parameter + would break when using Python 3.x + * Fixed a bug where some files in `.dockerignore` weren't being handled + properly + * Fixed `resolve_authconfig` issues by bringing it closer to Docker Engine's + behavior. This should fix all issues encountered with private registry auth + * Fixed an issue where passwords containing a colon weren't being handled + properly. + * Bumped `requests` version requirement, which should fix most of the SSL + issues encountered recently. + * Miscellaneous + * Several integration test improvements. + * Fixed some unclosed resources in unit tests. + * Several docs improvements. +- Version 1.0.0 + * Features + * Added new `Client.rename` method (`docker rename`) + * Added now `Client.stats` method (`docker stats`) + * Added `read_only` param support to `utils.create_host_config` and + `Client.start` (`docker run --read-only`) + * Added `pid_mode` param support to `utils.create_host_config` and + `Client.start` (`docker run --pid='host'`) + * Added `since`, `until` and `filters` params to `Client.events`. + * Added `decode` parameter to `Client.stats` and `Client.events` to decode + JSON objects on the fly (False by default). +- Bugfixes + * Fixed a bug that caused `Client.build` to crash when the provided source was + a remote source. +- Miscellaneous + * Default API version has been bumped to 1.17 (Docker Engine 1.5.0) + * `Client.timeout` is now a public attribute, and users are encouraged to use it + when request timeouts need to be changed at runtime. + * Added `Client.api_version` as a read-only property. + * The `memswap_limit` argument in `Client.create_container` now accepts string + type values similar to `mem_limit` ('6g', '120000k', etc.) + * Improved documentation +- Version 0.7.2 + * Features + * Added support for `mac_address` in `Client.create_container` + * Bugfixes + * Fixed a bug where streaming responses (`pull`, `push`, `logs`, etc.) were + unreliable (#300) + * Fixed a bug where resolve_authconfig wouldn't properly resolve configuration + for private repositories (#468) + * Fixed a bug where some errors wouldn't be properly constructed in + `client.py`, leading to unhelpful exceptions bubbling up (#466) + * Fixed a bug where `Client.build` would try to close context when externally + provided (`custom_context == True`) (#458) + * Fixed an issue in `create_host_config` where empty sequences wouldn't be + interpreted properly (#462) + * Miscellaneous + * Added `resolve_authconfig` tests. +- Version 0.7.1 + * Bugfixes + * `setup.py` now indicates a maximum version of requests to work around the + boot2docker / `assert_hostname` bug. + * Removed invalid exception when using the Registry Hub's FQDN when pulling. + * Fixed an issue where early HTTP errors weren't handled properly in streaming + responses. + * Fixed a bug where sockets would close unexpectedly using Python 3.x + * Various fixes for integration tests. + * Miscellaneous + * Small doc fixes +- Version 0.7.0 + * Breaking changes + * Passing `dns` or `volumes_from` in `Client.start` with API version < 1.10 + will now raise an exception (previously only triggered a warning) + * Features + * Added support for `host_config` in `Client.create_container` + * Added utility method `docker.utils.create_host_config` to help build a + proper `HostConfig` dictionary. + * Added support for the `pull` parameter in `Client.build` + * Added support for the `forcerm` parameter in `Client.build` + * Added support for `extra_hosts` in `Client.start` + * Added support for a custom `timeout` in `Client.wait` + * Added support for custom `.dockercfg` loading in `Client.login` + (`dockercfg_path` argument) + * Bugfixes + * Fixed a bug where some output wouldn't be streamed properly in streaming + chunked responses + * Fixed a bug where the `devices` param didn't recognize the proper delimiter + * `Client.login` now properly expands the `registry` URL if provided. + * Fixed a bug where unicode characters in passed for `environment` in + `create_container` would break. + * Miscellaneous + * Several unit tests and integration tests improvements. + * `Client` constructor now enforces passing the `version` parameter as a + string. + * Build context files are now ordered by filename when creating the archive + (for consistency with docker mainline behavior) +- Version 0.6.0 + * **This version introduces breaking changes!** + * Breaking changes + * The default SSL protocol is now the highest TLS v1.x (was SSL v2.3 before) + (Poodle fix) + * The `history` command now returns a dict instead of a raw JSON string. + * Features + * Added the `execute` command. + * Added `pause` and `unpause` commands. + * Added support fo the `cpuset` param in `create_container` + * Added support for host devices (`devices` param in `start`) + * Added support for the `tail` param in `logs`. + * Added support for the `filters` param in `images` and `containers` + * The `kwargs_from_env` method is now available in the `docker.utils` + module. This should make it easier for boot2docker user to connect + to their daemon. + * Bugfixes + * Fixed a bug where empty directories weren't correctly included when + providing a context to `Client.build`. + * Fixed a bug where UNIX socket connections weren't properly cleaned up, + causing `ResourceWarning`s to appear in some cases. + * Fixed a bug where docker-py would crash if the docker daemon was stopped + while reading a streaming response + * Fixed a bug with streaming responses in Python 3 + * `remove_image` now supports a dict containing an `Id` key as its `id` + parameter (similar to other methods requiring a resource ID) + * Documentation + * Added new MkDocs documentation. Currently hosted on + [ReadTheDocs](http://docker-py.readthedocs.org/en/latest/) + * Miscellaneous + * Added tests to sdist + * Added a Makefile for running tests in Docker + * Updated Dockerfile + +------------------------------------------------------------------- +Wed Mar 4 16:19:29 UTC 2015 - [email protected] + +- Use updated version in SLES 12 in support of bnc#915479 + +------------------------------------------------------------------- Old: ---- docker-py-0.5.3.tar.gz New: ---- docker-py-1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-docker-py.spec ++++++ --- /var/tmp/diff_new_pack.7akXIN/_old 2015-04-22 01:19:47.000000000 +0200 +++ /var/tmp/diff_new_pack.7akXIN/_new 2015-04-22 01:19:47.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-docker-py # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,17 +18,17 @@ %define upstream_name docker-py Name: python-docker-py -Version: 0.5.3 +Version: 1.1.0 Release: 0 Summary: Docker API Client License: Apache-2.0 Group: System/Management -Url: https://github.com/dotcloud/docker-py +Url: https://pypi.python.org/pypi/docker-py Source0: %{upstream_name}-%{version}.tar.gz # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch Patch1: dockpyTest_pathAdd.patch -Requires: python-requests >= 2.2.1 +Requires: python-requests >= 2.5.3 Requires: python-six >= 1.3.0 Requires: python-websocket-client >= 0.11.0 BuildRequires: fdupes @@ -64,7 +64,7 @@ %prep %setup -q -n %{upstream_name}-%{version} -%patch0 +%patch0 -p1 %patch1 %build ++++++ docker-py-0.5.3.tar.gz -> docker-py-1.1.0.tar.gz ++++++ ++++ 5223 lines of diff (skipped) ++++++ dockpyTest_pathAdd.patch ++++++ --- /var/tmp/diff_new_pack.7akXIN/_old 2015-04-22 01:19:48.000000000 +0200 +++ /var/tmp/diff_new_pack.7akXIN/_new 2015-04-22 01:19:48.000000000 +0200 @@ -1,8 +1,10 @@ +Index: tests/test.py +=================================================================== --- tests/test.py.orig +++ tests/test.py -@@ -25,6 +25,8 @@ import tempfile - import unittest - import gzip +@@ -31,6 +31,8 @@ import unittest + import warnings + import random +sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/..') + ++++++ hide_py_pckgmgmt.patch ++++++ --- /var/tmp/diff_new_pack.7akXIN/_old 2015-04-22 01:19:48.000000000 +0200 +++ /var/tmp/diff_new_pack.7akXIN/_new 2015-04-22 01:19:48.000000000 +0200 @@ -1,17 +1,10 @@ ---- setup.py.orig -+++ setup.py -@@ -6,18 +6,18 @@ from setuptools import setup - ROOT_DIR = os.path.dirname(__file__) - SOURCE_DIR = os.path.join(ROOT_DIR) - --requirements = [ -- 'requests >= 2.2.1', -- 'six >= 1.3.0', --] -+#requirements = [ -+# 'requests >= 2.2.1', -+# 'six >= 1.3.0', -+#] +diff --git a/setup.py b/setup.py +index b63cc92..944c3cc 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,13 +11,15 @@ requirements = [ + 'six >= 1.3.0', + ] -if sys.version_info[0] < 3: - requirements.append('websocket-client >= 0.11.0') @@ -24,17 +17,8 @@ - test_requirements = [line for line in test_reqs_txt] +#with open('./test-requirements.txt') as test_reqs_txt: +# test_requirements = [line for line in test_reqs_txt] ++requirements = [] ++test_requirements = [] setup( -@@ -26,8 +26,8 @@ setup( - description="Python client for Docker.", - packages=['docker', 'docker.auth', 'docker.unixconn', 'docker.utils', - 'docker.ssladapter'], -- install_requires=requirements, -- tests_require=test_requirements, -+# install_requires=requirements, -+# tests_require=test_requirements, - zip_safe=False, - test_suite='tests', - classifiers=[
