commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2017-09-05 15:14:28 Comparing /work/SRC/openSUSE:Factory/python-docker-py (Old) and /work/SRC/openSUSE:Factory/.python-docker-py.new (New) Package is "python-docker-py" Tue Sep 5 15:14:28 2017 rev:14 rq:515785 version:1.10.6 Changes: --- /work/SRC/openSUSE:Factory/python-docker-py/python-docker-py.changes 2017-06-16 10:54:23.794766033 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2017-09-05 15:14:28.559513605 +0200 @@ -1,0 +2,9 @@ +Thu Aug 3 16:53:55 UTC 2017 - toddrme2...@gmail.com + +- Implement singlespec version +- Fix source URL +- Merge tests into main package. +- Remove hide_py_pckgmgmt.patch + Tests aren't being implemented that way + +--- Old: hide_py_pckgmgmt.patch Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.gw7oBz/_old 2017-09-05 15:14:29.199423657 +0200 +++ /var/tmp/diff_new_pack.gw7oBz/_new 2017-09-05 15:14:29.203423095 +0200 @@ -16,81 +16,89 @@ # -%define upstream_name docker-py +%bcond_with test + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-docker-py Version:1.10.6 Release:0 Summary:Docker API Client License:Apache-2.0 Group: System/Management -Url:https://pypi.python.org/pypi/docker-py -Source0: https://files.pythonhosted.org/packages/source/d/%{upstream_name}/%{upstream_name}-%{version}.tar.gz - -# openSUSE-Patch hide_py_pckgmgmt.patch -Patch0: hide_py_pckgmgmt.patch +Url:https://github.com/docker/docker-py/ +Source0: https://files.pythonhosted.org/packages/source/d/docker-py/docker-py-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.4.0} +BuildRequires: %{python_module docker-pycreds >= 0.2.1} +BuildRequires: %{python_module requests >= 2.5.3} +BuildRequires: %{python_module websocket-client >= 0.32.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# Python2-only +BuildRequires: python-ipaddress >= 1.0.16 +BuildRequires: python-backports.ssl_match_hostname >= 3.5 +%if %{with test} +BuildRequires: busybox +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} +%endif Requires: python-backports.ssl_match_hostname >= 3.5 Requires: python-docker-pycreds >= 0.2.1 -Requires: python-ipaddress >= 1.0.16 Requires: python-requests >= 2.5.3 Requires: python-six >= 1.4.0 Requires: python-websocket-client >= 0.32.0 -BuildRequires: fdupes -BuildRequires: python-mock -BuildRequires: python-pytest -BuildRequires: python-pytest-cov -BuildRequires: python-requests -BuildRequires: python-setuptools -BuildRequires: python-six -BuildRequires: python-websocket-client -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +%ifpython2 +Requires: python-ipaddress >= 1.0.16 +Requires: python-backports.ssl_match_hostname >= 3.5 +Provides: %{oldpython}-docker-py-test = %{version} +Obsoletes: %{oldpython}-docker-py-test < %{version} %endif +%ifpython3 +Provides: python3-docker-py-test = %{version} +Obsoletes: python3-docker-py-test < %{version} +%if %{python3_version_nodots} < 35 +BuildRequires: python3-backports.ssl_match_hostname >= 3.5 +Requires: python3-backports.ssl_match_hostname >= 3.5 +%endif +%endif +BuildArch: noarch -%description -A docker API client in Python - -%package test -Summary:Unit tests -Group: Development/Languages/Python -Requires: %{name} == %{version} -Requires: python-mock >= 1.0.1 -Requires: python-pytest >= 2.7.2 -Requires: python-pytest-cov >= 2.1.0 -Requires: python-setuptools +%python_subpackages -%description test -Unit tests for docker-py +%description +A docker API client in Python. %prep -%setup -q -n %{upstream_name}-%{version} -%patch0 -p1 +%setup -q -n docker-py-%{version} %build -python setup.py build +export LANG=en_US.UTF-8 +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -cp -r tests %{buildroot}/%{python_sitelib}/docker -%fdupes %{buildroot} +export LANG=en_US.UTF-8 +%python_install +%{python_expand cp -r tests
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2017-06-16 10:54:21 Comparing /work/SRC/openSUSE:Factory/python-docker-py (Old) and /work/SRC/openSUSE:Factory/.python-docker-py.new (New) Package is "python-docker-py" Fri Jun 16 10:54:21 2017 rev:13 rq:503771 version:1.10.6 Changes: --- /work/SRC/openSUSE:Factory/python-docker-py/python-docker-py.changes 2017-02-16 16:50:32.711162271 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2017-06-16 10:54:23.794766033 +0200 @@ -1,0 +2,5 @@ +Thu Jun 8 07:36:21 UTC 2017 - dmuel...@suse.com + +- remove lint style dependencies from the unit test subpackage + +--- Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.9pxGQf/_old 2017-06-16 10:54:24.222705791 +0200 +++ /var/tmp/diff_new_pack.9pxGQf/_new 2017-06-16 10:54:24.222705791 +0200 @@ -57,8 +57,6 @@ Summary:Unit tests Group: Development/Languages/Python Requires: %{name} == %{version} -Requires: python-coverage >= 3.7.1 -Requires: python-flake8 >= 2.4.1 Requires: python-mock >= 1.0.1 Requires: python-pytest >= 2.7.2 Requires: python-pytest-cov >= 2.1.0
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2017-02-16 16:50:31 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 2016-11-05 21:28:08.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2017-02-16 16:50:32.711162271 +0100 @@ -1,0 +2,11 @@ +Wed Feb 8 11:41:27 UTC 2017 - kkae...@suse.com + +- Update to version 1.10.6 + Bugfixes +Fixed an issue where setting a NpipeSocket instance to blocking mode would put it in non-blocking mode and vice-versa. + +- Update to version 1.10.5 + Bugfixes +Fixed an issue where concurrent attempts to access to a named pipe by the client would sometimes cause recoverable exceptions to be raised. + +--- Old: docker-py-1.10.4.tar.gz New: docker-py-1.10.6.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.303mgm/_old 2017-02-16 16:50:33.139101508 +0100 +++ /var/tmp/diff_new_pack.303mgm/_new 2017-02-16 16:50:33.139101508 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docker-py # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,7 +18,7 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.10.4 +Version:1.10.6 Release:0 Summary:Docker API Client License:Apache-2.0 @@ -29,11 +29,11 @@ # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch Requires: python-backports.ssl_match_hostname >= 3.5 +Requires: python-docker-pycreds >= 0.2.1 Requires: python-ipaddress >= 1.0.16 Requires: python-requests >= 2.5.3 Requires: python-six >= 1.4.0 Requires: python-websocket-client >= 0.32.0 -Requires: python-docker-pycreds >= 0.2.1 BuildRequires: fdupes BuildRequires: python-mock BuildRequires: python-pytest ++ docker-py-1.10.4.tar.gz -> docker-py-1.10.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/docker-py-1.10.4/PKG-INFO new/docker-py-1.10.6/PKG-INFO --- old/docker-py-1.10.4/PKG-INFO 2016-10-17 22:30:19.0 +0200 +++ new/docker-py-1.10.6/PKG-INFO 2016-11-03 00:49:01.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: docker-py -Version: 1.10.4 +Version: 1.10.6 Summary: Python client for Docker. Home-page: https://github.com/docker/docker-py/ Author: Joffrey F diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/docker-py-1.10.4/docker/transport/npipesocket.py new/docker-py-1.10.6/docker/transport/npipesocket.py --- old/docker-py-1.10.4/docker/transport/npipesocket.py2016-10-17 22:28:48.0 +0200 +++ new/docker-py-1.10.6/docker/transport/npipesocket.py2016-11-03 00:48:35.0 +0100 @@ -5,9 +5,11 @@ import win32file import win32pipe +cERROR_PIPE_BUSY = 0xe7 cSECURITY_SQOS_PRESENT = 0x10 cSECURITY_ANONYMOUS = 0 -cPIPE_READMODE_MESSAGE = 2 + +RETRY_WAIT_TIMEOUT = 1 def check_closed(f): @@ -45,15 +47,27 @@ @check_closed def connect(self, address): win32pipe.WaitNamedPipe(address, self._timeout) -handle = win32file.CreateFile( -address, -win32file.GENERIC_READ | win32file.GENERIC_WRITE, -0, -None, -win32file.OPEN_EXISTING, -cSECURITY_ANONYMOUS | cSECURITY_SQOS_PRESENT, -0 -) +try: +handle = win32file.CreateFile( +address, +win32file.GENERIC_READ | win32file.GENERIC_WRITE, +0, +None, +win32file.OPEN_EXISTING, +cSECURITY_ANONYMOUS | cSECURITY_SQOS_PRESENT, +0 +) +except win32pipe.error as e: +# See Remarks: +# https://msdn.microsoft.com/en-us/library/aa365800.aspx +if e.winerror == cERROR_PIPE_BUSY: +# Another program or thread has grabbed our pipe instance +# before we got to it. Wait for availability and attempt to +# connect again. +win32pipe.WaitNamedPipe(address, RETRY_WAIT_TIMEOUT) +
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2016-11-05 21:28:07 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 2016-09-30 15:32:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2016-11-05 21:28:08.0 +0100 @@ -1,0 +2,75 @@ +Wed Oct 26 15:45:31 UTC 2016 - jmassaguer...@suse.com + +- add python-dockerpycreds dependency in the spec file + rebase hide_py_pckgmgmt.patch + add fix-requirements.patch: fix dependencies so that they match the + ones we have packaged + +--- +Mon Oct 24 15:03:05 UTC 2016 - jmassaguer...@suse.com + +- Update to version 1.10.4 + Bugfixes +Fixed an issue where RestartPolicy.condition_types.ON_FAILURE would yield an invalid value. +Fixed an issue where the SSL connection adapter would receive an invalid argument. +Fixed an issue that caused the Client to fail to reach API endpoints when the provided base_url had a trailing slash. +Fixed a bug where some environment values in create_container containing unicode characters would raise an encoding error. +Fixed a number of issues tied with named pipe transport on Windows. +Fixed a bug where inclusion patterns in .dockerignore would cause some excluded files to appear in the build context on Windows. + + Miscellaneous +Adjusted version requirements for the requests library. +It is now possible to run the docker-py test suite on Windows. + +- Update to 1.10.3 + Bugfixes +Fixed an issue where identity tokens in configuration files weren't handled by the library. + Miscellaneous +Increased the default number of connection pools from 10 to 25. This number can now be configured using the num_pools parameter in the Client constructor. + +- Update to 1.10.2 + Bugfixes +Updated the docker-pycreds dependency as it was causing issues for some users with dependency resolution in applications using docker-py. + +- Update to 1.10.1 + Bugfixes +The docker.utils.types module was removed in favor of docker.types, but some applications imported it explicitly. It has been re-added with an import warning advising to use the new module path. + +- Update to 1.10.0 + Features +Added swarm mode and service management methods. See the documentation for details. +Added support for IPv6 Docker host addresses in the Client constructor. +Added (read-only) support for the Docker credentials store. +Added support for custom auth_config in Client.push. +Added support for labels in Client.create_volume. +Added support for labels and enable_ipv6 in Client.create_network. +Added support for force param in Client.disconnect_container_from_network. +Added support for pids_limit, sysctls, userns_mode, cpuset_cpus, cpu_shares, mem_reservation and kernel_memory parameters in Client.create_host_config. +Added support for link_local_ips in create_endpoint_config. +Added support for a changes parameter in Client.import_image. +Added support for a version parameter in Client.from_env. + + Bugfixes +Fixed a bug where Client.build would crash if the config.json file contained a HttpHeaders entry. +Fixed a bug where passing decode=True in some streaming methods would crash when the daemon's response had an unexpected format. +Fixed a bug where environment values with unicode characters weren't handled properly in create_container. +Fixed a bug where using the npipe protocol would sometimes break with ValueError: buffer size must be strictly positive. + + Miscellaneous +Fixed an issue where URL-quoting in docker-py was inconsistent with the quoting done by the Docker CLI client. +The client now sends TCP upgrade headers to hint potential proxies about connection hijacking. +The client now defaults to using the npipe protocol on Windows. + +- Update to 1.9.0 + Features +Added experimental support for Windows named pipes (npipe:// protocol). +Added support for Block IO constraints in Client.create_host_config. This includes parameters blkio_weight, blkio_weight_device, device_read_bps, device_write_bps, device_read_iops and device_write_iops. +Added support for the internal param in Client.create_network. +Added support for ipv4_address and ipv6_address in utils function create_endpoint_config. +Added support for custom user agent setting in the Client constructor. By default, docker-py now also declares itself in the User-Agent header. + + Bugfixes +Fixed an issue where
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2016-09-30 15:32:40 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 2016-08-12 15:43:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2016-09-30 15:32:44.0 +0200 @@ -1,0 +2,5 @@ +Tue Sep 27 07:04:59 UTC 2016 - tbecht...@suse.com + +- Remove useless python-flake8 and python-coverage BuildRequires. + +--- Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.I7nUWo/_old 2016-09-30 15:32:46.0 +0200 +++ /var/tmp/diff_new_pack.I7nUWo/_new 2016-09-30 15:32:46.0 +0200 @@ -34,8 +34,6 @@ Requires: python-six >= 1.4.0 Requires: python-websocket-client >= 0.32.0 BuildRequires: fdupes -BuildRequires: python-coverage -BuildRequires: python-flake8 BuildRequires: python-mock BuildRequires: python-pytest BuildRequires: python-pytest-cov
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2016-08-12 15:43:05 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 2016-08-03 11:43:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2016-08-12 15:43:08.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 27 07:49:12 UTC 2016 - jmassaguer...@suse.com + +- Update runtime requirements according to requirements.txt + +--- Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.wAX4ut/_old 2016-08-12 15:43:09.0 +0200 +++ /var/tmp/diff_new_pack.wAX4ut/_new 2016-08-12 15:43:09.0 +0200 @@ -28,7 +28,9 @@ # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch -Requires: python-requests >= 2.5.2 +Requires: python-backports.ssl_match_hostname >= 3.5 +Requires: python-ipaddress >= 1.0.16 +Requires: python-requests >= 2.5.3 Requires: python-six >= 1.4.0 Requires: python-websocket-client >= 0.32.0 BuildRequires: fdupes
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2016-08-03 11:43:01 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 2016-03-07 13:29:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2016-08-03 11:43:03.0 +0200 @@ -1,0 +2,39 @@ +Mon Jul 25 08:47:05 UTC 2016 - tboer...@suse.com + +- Updated runtime and test deps matching setup.py and test-requirements.txt +- update to 1.8.1: + * Fixed a bug where calling login() against the default registry would fail +with the 1.10.x engine + * Fixed a bug where values in environment files would be parsed incorrectly if +they contained an equal sign. + * Switched to a better supported backport of the match_hostname function, +fixing dependency issues in some environments. +- update to 1.8.0: + * Added Client.update_container method (Update resource configs of a +container) + * Added support for gzipped context in Client.build + * Added ability to specify IP address when connecting a container to a network + * Added tmpfs support to Client.create_host_config + * Added support for the changes param in Client.commit + * Added support for the follow param in Client.logs + * Added support for the check_duplicate param in Client.create_network + * Added support for the decode param in Client.push and Client.pull + * Added docker.from_env shortcut function. Instantiates a client with +kwargs_from_env + * kwargs_from_env now supports an optional environment parameter. If present, +values will be fetched from this dictionary instead of os.environ + * Fixed a bug where TLS verification would fail when using IP addresses in the +certificate's subjectAltName fields + * Fixed an issue where the default TLS version in TLSConfig would break in +some environments. docker-py now uses TLSv1 by default This setting can be +overridden using the ssl_version param in kwargs_from_env or the TLSConfig +constructor + * Fixed a bug where tcp hosts would fail to connect to TLS-enabled endpoints + * Fixed a bug where loading a valid docker configuration file would fail + * Fixed a bug where some environment variables specified through +create_container would be improperly formatted + * Fixed a bug where using the unix socket connection would raise an error in +some edge-case situations + * Default API version is now 1.22 (introduced in Docker 1.10.0) + +--- @@ -5,5 +44,10 @@ - * Added support for the since param in Client.logs (introduced in API version 1.19) - * Added support for the DOCKER_CONFIG environment variable when looking up auth config - * Added support for the stream param in Client.stats (when set to False, allows user to retrieve a single snapshot instead of a constant data stream) - * Added support for the mem_swappiness, oom_kill_disable params in Client.create_host_config - * Added support for build arguments in Client.build through the buildargs param. + * Added support for the since param in Client.logs (introduced in API version +1.19) + * Added support for the DOCKER_CONFIG environment variable when looking up +auth config + * Added support for the stream param in Client.stats (when set to False, +allows user to retrieve a single snapshot instead of a constant data stream) + * Added support for the mem_swappiness, oom_kill_disable params in +Client.create_host_config + * Added support for build arguments in Client.build through the buildargs +param. @@ -14,2 +58,4 @@ - * Added support for unspecified transfer protocol in base_url when TLS is enabled. - * Fixed a bug where TLS verification was improperly executed when providing a custom CA certificate. + * Added support for unspecified transfer protocol in base_url when TLS is +enabled. + * Fixed a bug where TLS verification was improperly executed when providing a +custom CA certificate. @@ -17,0 +64 @@ + Old: docker-py-1.7.2.tar.gz New: docker-py-1.8.1.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.sNIBxf/_old 2016-08-03 11:43:04.0 +0200 +++ /var/tmp/diff_new_pack.sNIBxf/_new 2016-08-03 11:43:04.0 +0200 @@ -18,13 +18,13 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.7.2 +Version:1.8.1 Release:0 Summary:Docker API Client License:
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2016-03-07 13:28:34 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-12-14 10:13:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2016-03-07 13:29:58.0 +0100 @@ -1,0 +2,17 @@ +Sun Feb 28 13:42:57 UTC 2016 - dmuel...@suse.com + +- update to 1.7.2: + * Added support for the since param in Client.logs (introduced in API version 1.19) + * Added support for the DOCKER_CONFIG environment variable when looking up auth config + * Added support for the stream param in Client.stats (when set to False, allows user to retrieve a single snapshot instead of a constant data stream) + * Added support for the mem_swappiness, oom_kill_disable params in Client.create_host_config + * Added support for build arguments in Client.build through the buildargs param. + * Added support for cusom IPAM configuration in Client.create_network + * Added input support to Client.exec_create + * Added support for stop_signal in Client.create_host_config + * Added support for custom HTTP headers in Docker config file. + * Added support for unspecified transfer protocol in base_url when TLS is enabled. + * Fixed a bug where TLS verification was improperly executed when providing a custom CA certificate. + * Added support for shm_size in Client.create_host_config +- drop dockpyTest_pathAdd.patch: tests are disabled anyway +--- Old: docker-py-1.5.0.tar.gz dockpyTest_pathAdd.patch New: docker-py-1.7.2.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.pUhhoG/_old 2016-03-07 13:29:59.0 +0100 +++ /var/tmp/diff_new_pack.pUhhoG/_new 2016-03-07 13:29:59.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docker-py # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,7 +18,7 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.5.0 +Version:1.7.2 Release:0 Summary:Docker API Client License:Apache-2.0 @@ -28,7 +28,6 @@ # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch -Patch1: dockpyTest_pathAdd.patch Requires: python-requests >= 2.5.2 Requires: python-six >= 1.4.0 Requires: python-websocket-client >= 0.32.0 @@ -67,7 +66,6 @@ %prep %setup -q -n %{upstream_name}-%{version} %patch0 -p1 -%patch1 %build python setup.py build ++ docker-py-1.5.0.tar.gz -> docker-py-1.7.2.tar.gz ++ 14858 lines of diff (skipped)
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2015-12-14 10:13:24 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-10-30 13:43:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-12-14 10:13:25.0 +0100 @@ -1,0 +2,6 @@ +Sat Nov 14 11:33:58 UTC 2015 - rjsch...@suse.com + +- Use version 1.5.0 in SLE 12 (bnc#954486,bnc#954690) + + A bit of clean up of the changes file as well, no wrapping comments + +--- @@ -8,2 +14,4 @@ - * Added support for the CPU CFS (cpu_quota and cpu_period) parameteres in create_host_config. - * Added support for the archive API endpoint (Client.get_archive, Client.put_archive). + * Added support for the CPU CFS (cpu_quota and cpu_period) parameteres +in create_host_config. + * Added support for the archive API endpoint (Client.get_archive, +Client.put_archive). @@ -14,3 +22,6 @@ - * Fixed a bug where exec_inspect would allow invocation when the API version was too low. - * Fixed a bug where docker.utils.ports.split_port would break if an open range was provided. - * Fixed a bug where invalid image IDs / container IDs could be provided to bypass or reroute request URLs + * Fixed a bug where exec_inspect would allow invocation when the API +version was too low. + * Fixed a bug where docker.utils.ports.split_port would break if an +open range was provided. + * Fixed a bug where invalid image IDs / container IDs could be provided +to bypass or reroute request URLs Other differences: --
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2015-10-30 13:43:25 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-09-02 00:35:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-10-30 13:43:29.0 +0100 @@ -1,0 +2,17 @@ +Wed Oct 21 16:39:35 UTC 2015 - dmuel...@suse.com + +- update to 1.5.0: + * Added support for the networking API introduced in Docker 1.9.0 + * Added support for the volumes API introduced in Docker 1.9.0 + * Added support for the group_add parameter in create_host_config. + * Added support for the CPU CFS (cpu_quota and cpu_period) parameteres in create_host_config. + * Added support for the archive API endpoint (Client.get_archive, Client.put_archive). + * Added support for ps_args parameter in Client.top. + * Added utils.parse_env_file to support env-files. See docs for usage. + * Added support for arbitrary log drivers + * Added support for URL paths in the docker host URL (base_url) + * Fixed a bug where exec_inspect would allow invocation when the API version was too low. + * Fixed a bug where docker.utils.ports.split_port would break if an open range was provided. + * Fixed a bug where invalid image IDs / container IDs could be provided to bypass or reroute request URLs + +--- Old: docker-py-1.3.1.tar.gz New: docker-py-1.5.0.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.iziL6M/_old 2015-10-30 13:43:30.0 +0100 +++ /var/tmp/diff_new_pack.iziL6M/_new 2015-10-30 13:43:30.0 +0100 @@ -18,7 +18,7 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.3.1 +Version:1.5.0 Release:0 Summary:Docker API Client License:Apache-2.0 @@ -29,9 +29,9 @@ # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch Patch1: dockpyTest_pathAdd.patch -Requires: python-requests >= 2.5.3 -Requires: python-six >= 1.3.0 -Requires: python-websocket-client >= 0.11.0 +Requires: python-requests >= 2.5.2 +Requires: python-six >= 1.4.0 +Requires: python-websocket-client >= 0.32.0 BuildRequires: fdupes BuildRequires: python-coverage BuildRequires: python-mock @@ -55,11 +55,11 @@ Group: Development/Languages/Python Requires: %{name} == %{version} Requires: python-coverage -Requires: python-mock -Requires: python-requests +Requires: python-mock >= 1.0.1 +Requires: python-requests >= 2.5.2 Requires: python-setuptools -Requires: python-six -Requires: python-websocket-client +Requires: python-six >= 1.4.0 +Requires: python-websocket-client >= 0.32.0 %description test Unit tests for docker-py @@ -78,7 +78,7 @@ %fdupes %{buildroot} %check -python tests/test.py +#python tests/test.py %files %defattr(-,root,root,-) ++ docker-py-1.3.1.tar.gz -> docker-py-1.5.0.tar.gz ++ 8587 lines of diff (skipped) ++ dockpyTest_pathAdd.patch ++ --- /var/tmp/diff_new_pack.iziL6M/_old 2015-10-30 13:43:30.0 +0100 +++ /var/tmp/diff_new_pack.iziL6M/_new 2015-10-30 13:43:30.0 +0100 @@ -2,8 +2,8 @@ === --- tests/test.py.orig +++ tests/test.py -@@ -31,6 +31,8 @@ import unittest - import warnings +@@ -29,6 +29,8 @@ import threading + import time import random +sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/..')
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2015-09-02 00:35:30 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-05-06 07:50:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-09-02 00:35:32.0 +0200 @@ -1,0 +2,11 @@ +Fri Aug 14 15:11:18 UTC 2015 - jmassaguer...@suse.com + +- Get source tarball from pypi.python.org as in previuos versions + and as it is in the spec file + +--- +Mon Jul 27 11:51:45 UTC 2015 - hvo...@suse.com + +- Update to version 1.3.1. Detailed changelog: + https://github.com/docker/docker-py/blob/master/docs/change_log.md#131 +--- Old: docker-py-1.2.1.tar.gz New: docker-py-1.3.1.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.8Sty5x/_old 2015-09-02 00:35:33.0 +0200 +++ /var/tmp/diff_new_pack.8Sty5x/_new 2015-09-02 00:35:33.0 +0200 @@ -18,13 +18,14 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.2.1 +Version:1.3.1 Release:0 Summary:Docker API Client License:Apache-2.0 Group: System/Management Url:https://pypi.python.org/pypi/docker-py Source0: https://pypi.python.org/packages/source/d/%{upstream_name}/%{upstream_name}-%{version}.tar.gz + # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch Patch1: dockpyTest_pathAdd.patch ++ docker-py-1.2.1.tar.gz -> docker-py-1.3.1.tar.gz ++ 3164 lines of diff (skipped) ++ hide_py_pckgmgmt.patch ++ --- /var/tmp/diff_new_pack.8Sty5x/_old 2015-09-02 00:35:33.0 +0200 +++ /var/tmp/diff_new_pack.8Sty5x/_new 2015-09-02 00:35:33.0 +0200 @@ -1,24 +1,17 @@ -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') -+#if sys.version_info[0] < 3: -+#requirements.append('websocket-client >= 0.11.0') +diff -Nur docker-py-1.3.1/setup.py docker-py-1.3.1.patched/setup.py +--- docker-py-1.3.1/setup.py 2015-07-22 23:20:30.0 +0200 docker-py-1.3.1.patched/setup.py 2015-07-23 12:52:14.075767499 +0200 +@@ -14,9 +14,10 @@ exec(open('docker/version.py').read()) -with open('./test-requirements.txt') as test_reqs_txt: -test_requirements = [line for line in test_reqs_txt] -+#with open('./test-requirements.txt') as 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( + name="docker-py",
commit python-docker-py for openSUSE:Factory
Hello community, here is the log from the commit of package python-docker-py for openSUSE:Factory checked in at 2015-05-06 07:49:41 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-04-22 01:19:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-05-06 07:50:01.0 +0200 @@ -1,0 +2,42 @@ +Mon May 4 11:22:41 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 1.2.1: + * Fixed a bug where the check_resource decorator would break with +some argument-passing methods. (#573) +- additional changes from version 1.2.0: + * Client.execute is being deprecated in favor of the more +dev-friendly Client.exec_start and Client.exec_create. It will +be removed in 1.3.0 + * Added exec_create, exec_start, exec_inspect and exec_resize to +client, accurately mirroring the Exec API + * Added auth_config param to Client.pull (allows to use one-off +credentials for this pull request) + * Added support for ipc_mode in host config. + * Added support for the log_config param in host config. + * Added support for the ulimit param in host config. + * Added support for container resource limits in Client.build. + * When a resource identifier (image or container ID) is passed to +a Client method, we now check for None values to avoid crashing +(now raises docker.errors.NullResource) + * Added tools to parse port ranges inside the new +docker.utils.ports package. + * Added a version_info attribute to the docker package. + * Fixed a bug in Client.port where absence of a certain key in +the container's JSON would raise an error (now just returns +None) + * Fixed a bug with the trunc parameter in Client.containers +having no effect (moved functionality to the client) + * Several improvements have been made to the Client.import_image +method. + * Fixed pushing / pulling to v2 registries + * Fixed a bug where passing a container dictionary to +Client.commit would fail + * Default API version has been bumped to 1.18 (Docker Engine +1.6.0) + * Several testing coverage improvements + * Docs fixes and improvements +- point the source URL to pypi +- add a dependency between the test sub-package and + python-docker-py + +--- Old: docker-py-1.1.0.tar.gz New: docker-py-1.2.1.tar.gz Other differences: -- ++ python-docker-py.spec ++ --- /var/tmp/diff_new_pack.yJK0OO/_old 2015-05-06 07:50:01.0 +0200 +++ /var/tmp/diff_new_pack.yJK0OO/_new 2015-05-06 07:50:01.0 +0200 @@ -18,13 +18,13 @@ %define upstream_name docker-py Name: python-docker-py -Version:1.1.0 +Version:1.2.1 Release:0 Summary:Docker API Client License:Apache-2.0 Group: System/Management Url:https://pypi.python.org/pypi/docker-py -Source0:%{upstream_name}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/d/%{upstream_name}/%{upstream_name}-%{version}.tar.gz # openSUSE-Patch hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch Patch1: dockpyTest_pathAdd.patch @@ -52,6 +52,7 @@ %package test Summary:Unit tests Group: Development/Languages/Python +Requires: %{name} == %{version} Requires: python-coverage Requires: python-mock Requires: python-requests ++ docker-py-1.1.0.tar.gz - docker-py-1.2.1.tar.gz ++ 2900 lines of diff (skipped)
commit python-docker-py for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docker-py.new/python-docker-py.changes 2015-04-22 01:19:47.0 +0200 @@ -1,0 +2,139 @@ +Thu Apr 9 13:59:25 UTC 2015 - fcaste...@suse.com + +- 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', '12k', 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` +