Hello community, here is the log from the commit of package python-docker for openSUSE:Leap:15.2 checked in at 2020-05-25 13:40:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-docker (Old) and /work/SRC/openSUSE:Leap:15.2/.python-docker.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docker" Mon May 25 13:40:23 2020 rev:21 rq:808624 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-docker/python-docker.changes 2020-01-15 15:48:43.771435809 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-docker.new.2738/python-docker.changes 2020-05-25 13:40:24.143115007 +0200 @@ -2 +2 @@ -Thu May 3 08:16:20 UTC 2018 - pablo.suarezhernan...@suse.com +Sun Feb 9 16:47:09 UTC 2020 - Arun Persaud <a...@gmx.de> @@ -4 +4,2 @@ -- Fix package building for SLE15 (bsc#1091663) +- specfile: + * update copyright year @@ -6,2 +7,212 @@ -- Added: - * 0001-Support-absolute-paths-for-in-context-Dockerfiles.patch +- update to version 4.2.0: + * Bugfixes + + Fix win32pipe.WaitNamedPipe throw exception in Windows + containers + + Use Hostname, Username, Port and ProxyCommand settings from + .ssh/config when on SSH + + Set host key policy for ssh transport to + paramiko.WarningPolicy() + + Set logging level of paramiko to warn + * Features + + Add support for docker contexts through docker.ContextAPI + +------------------------------------------------------------------- +Sun Nov 24 17:15:38 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * updated pytest requirement + +- update to version 4.1.0: + * Bugfixes + + Correct INDEX_URL logic in build.py _set_auth_headers + + Fix for empty auth keys in config.json + * Features + + Add NetworkAttachmentConfig for service create/update + * Miscellaneous + + Bump pytest to 4.3.1 + + Adjust --platform tests for changes in docker engine + + Update credentials-helpers to v0.6.3 + +------------------------------------------------------------------- +Sun Jul 28 16:15:10 UTC 2019 - Arun Persaud <a...@gmx.de> + +- update to version 4.0.2: + * Bugfixes + + Unified the way HealthCheck is created/configured + * Miscellaneous + + Bumped version of websocket-client + +- changes from version 4.0.1: + * Bugfixes + + Fixed an obsolete import in the credentials subpackage that + caused import errors in Python 3.7 + * Miscellaneous + + Docs building has been repaired + +- changes from version 4.0.0: + * Breaking changes + + Support for Python 3.3 and Python 3.4 has been dropped + + APIClient.update_service, APIClient.init_swarm, and + DockerClient.swarm.init now return a dict from the API's + response body + + In APIClient.build and DockerClient.images.build, the + use_config_proxy parameter now defaults to True + + init_path is no longer a valid parameter for HostConfig + * Features + + It is now possible to provide SCTP ports for port mappings + + ContainerSpecs now support the init parameter + + DockerClient.swarm.init and APIClient.init_swarm now support the + data_path_addr parameter + + APIClient.update_swarm and DockerClient.swarm.update now support + the rotate_manager_unlock_key parameter + + APIClient.update_service returns the API's response body as a + dict + + APIClient.init_swarm, and DockerClient.swarm.init now return the + API's response body as a dict + * Bugfixes + + Fixed PlacementPreference instances to produce a valid API type + + Fixed a bug where not setting a value for buildargs in build + could cause the library to attempt accessing attributes of a + None value + + Fixed a bug where setting the volume_driver parameter in + DockerClient.containers.create would result in an error + + APIClient.inspect_distribution now correctly sets the + authentication headers on the request, allowing it to be used + with private repositories This change also applies to + DockerClient.get_registry_data + +------------------------------------------------------------------- +Mon Apr 1 13:24:35 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 3.7.2: + * Fix base_url to keep TCP protocol on utils.py by letting the responsability of changing the + protocol to parse_host afterwards, letting base_url with the original value. + * XFAIL test_attach_stream_and_cancel on TLS + +------------------------------------------------------------------- +Tue Mar 26 13:36:58 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 3.7.1: + * Set a different default number (which is now 9) for SSH pools + * Adds a BaseHTTPAdapter with a close method to ensure that the pools is clean on close() + * Makes SSHHTTPAdapter reopen a closed connection when needed like the others + +------------------------------------------------------------------- +Thu Mar 7 16:40:17 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Remove no longer necessary pytest argument -k 'not MatchHostnameTest' + +------------------------------------------------------------------- +Tue Jan 15 09:29:02 UTC 2019 - Michal Vyskocil <mvysko...@opensuse.org> + +- Bump required version of pycreds to 0.4.0 (sync with requirements.txt) + +------------------------------------------------------------------- +Mon Jan 14 12:22:01 UTC 2019 - Michal Vyskocil <mvysko...@opensuse.org> + +- 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 <tchva...@suse.com> + +- Fix the fdupes call to match up reality + +------------------------------------------------------------------- +Sat Oct 20 15:33:00 UTC 2018 - Arun Persaud <a...@gmx.de> + +- update to version 3.5.1: + * Bumped version of pyOpenSSL in requirements.txt and setup.py to + prevent installation of a vulnerable version + * Docs fixes + +------------------------------------------------------------------- +Wed Aug 29 11:13:49 UTC 2018 - tchva...@suse.com + +- Fix build on older releases by not using new pytest syntax + for test selection + +------------------------------------------------------------------- +Sat Aug 11 16:13:17 UTC 2018 - a...@gmx.de + +- specfile: + * updated requirement python-docker-pycreds to 0.3.0 + +- update to version 3.5.0: + * Deprecation warning + + Support for Python 3.3 will be dropped in the 4.0.0 release + * Features + + Updated dependencies to ensure support for Python 3.7 + environments + + Added support for the uts_mode parameter in HostConfig + + The UpdateConfig constructor now allows rollback as a valid + value for failure_action + + Added support for rollback_config in APIClient.create_service, + APIClient.update_service, DockerClient.services.create and + Service.update. + * Bugfixes + + Credential helpers are now properly leveraged by the build + method + + Fixed a bug that caused placement preferences to be ignored when + provided to DockerClient.services.create + + Fixed a bug that caused a user value of 0 to be ignored in + APIClient.create_container and DockerClient.containers.create + +------------------------------------------------------------------- +Mon Jul 9 20:28:16 UTC 2018 - dmuel...@suse.com + +- fix build for older python 3.x versions + +------------------------------------------------------------------- +Sun Jul 1 17:44:06 UTC 2018 - a...@gmx.de + +- update to version 3.4.1: + * Bugfixes + + Fixed a bug that caused auth values in config files written + using one of the legacy formats to be ignored + + Fixed issues with handling of double-wildcard ** patterns in + .dockerignore files + +------------------------------------------------------------------- +Sun Jun 24 15:36:12 UTC 2018 - a...@gmx.de + +- update to version 3.4.0: + * Features + + The APIClient and DockerClient constructors now accept a + credstore_env parameter. When set, values in this dictionary are + added to the environment when executing the credential store + process. ++++ 24 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/python-docker/python-docker.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.python-docker.new.2738/python-docker.changes Old: ---- 0001-Support-absolute-paths-for-in-context-Dockerfiles.patch docker-2.6.1.tar.gz New: ---- 4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-docker.spec ++++++ --- /var/tmp/diff_new_pack.nuhHkl/_old 2020-05-25 13:40:24.575115937 +0200 +++ /var/tmp/diff_new_pack.nuhHkl/_new 2020-05-25 13:40:24.579115945 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-docker # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,45 +12,51 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-docker -Version: 2.6.1 +Version: 4.2.0 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 -Patch1: 0001-Support-absolute-paths-for-in-context-Dockerfiles.patch - +URL: https://github.com/docker/docker-py +Source0: https://github.com/docker/docker-py/archive/%{version}.tar.gz +BuildRequires: %{python_module docker-pycreds >= 0.4.0} BuildRequires: %{python_module mock} +BuildRequires: %{python_module paramiko >= 2.4.2} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests} +BuildRequires: %{python_module pytest >= 4.3.1} +BuildRequires: %{python_module pytest-cov >= 2.1.0} +BuildRequires: %{python_module pytest-timeout >= 1.2.1} +BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} -BuildRequires: %{python_module websocket-client} +BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module websocket-client >= 0.40.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -%ifpython2 -Requires: python-backports.ssl_match_hostname >= 3.5 -Requires: python-ipaddress >= 1.0.16 -%endif -Requires: python-docker-pycreds >= 0.2.1 -Requires: python-requests >= 2.5.3 -Requires: python-six >= 1.4.0 -Requires: python-websocket-client >= 0.32.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +Requires: python-docker-pycreds >= 0.4.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} +BuildArch: noarch +%if 0%{?suse_version} < 1320 +BuildRequires: %{oldpython} +BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5} +BuildRequires: python3 +%endif +%ifpython2 +Requires: %{oldpython}-backports.ssl_match_hostname >= 3.5 +Requires: %{oldpython}-ipaddress >= 1.0.16 +%endif %ifpython2 Obsoletes: %{oldpython}-docker-py < %{version} Provides: %{oldpython}-docker-py = %{version} @@ -61,24 +67,24 @@ A docker API client in Python %prep -%setup -q -n docker-%{version} -%patch1 -p1 +%setup -q -n docker-py-%{version} %build %python_build %install %python_install -%fdupes %{buildroot} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# % python_exec tests/test.py +%pytest tests/unit %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md -%dir %{python_sitelib}/* +%license LICENSE +%doc README.md +%dir %{python_sitelib}/docker +%dir %{python_sitelib}/docker-%{version}-*.egg-info %{python_sitelib}/docker/* -%{python_sitelib}/*egg-info/* +%{python_sitelib}/docker*egg-info/* %changelog ++++++ docker-2.6.1.tar.gz -> 4.2.0.tar.gz ++++++ ++++ 24692 lines of diff (skipped)