17
0

Accepting request 878607 from home:cbcoutinho:branches:devel:languages:python

-  Update to 1.28.5, drop python2

OBS-URL: https://build.opensuse.org/request/show/878607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker-compose?expand=0&rev=41
This commit is contained in:
2021-03-12 17:46:24 +00:00
committed by Git OBS Bridge
parent 013c77e396
commit 22ebe55fcc
4 changed files with 135 additions and 40 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:576b0f81d1a1325941b3ce3436efd51f28b9ecd85b10dd6daa7d51793e187b30
size 280769

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3ff8f0352eb4055c4c483cb498aeff7c90195fa679f3caf7098a2d6fa6030e5
size 286344

View File

@@ -1,3 +1,112 @@
-------------------------------------------------------------------
Fri Mar 12 16:23:17 UTC 2021 - Chris Coutinho <chrisbcoutinho@gmail.com>
- Update to 1.28.5
1.28.5 (2021-02-25)
Bugs
Fix OpenSSL version mismatch error when shelling out to the ssh client (via bump to docker-py 4.4.4 which contains the fix)
Add missing build flags to the native builder: platform, isolation and extra_hosts
Remove info message on native build
Avoid fetching logs when service logging driver is set to 'none'
1.28.4 (2021-02-18)
Bugs
Fix SSH port parsing by bumping docker-py to 4.4.3
Miscellaneous
Bump Python to 3.7.10
1.28.3 (2021-02-17)
Bugs
Fix SSH hostname parsing when it contains leading s/h, and remove the quiet option that was hiding the error (via docker-py bump to 4.4.2)
Fix key error for '--no-log-prefix' option
Fix incorrect CLI environment variable name for service profiles: COMPOSE_PROFILES instead of COMPOSE_PROFILE
Fix fish completion
Miscellaneous
Bump cryptography to 3.3.2
Remove log driver filter
1.28.2 (2021-01-26)
Miscellaneous
CI setup update
1.28.1 (2021-01-25)
Bugs
Revert to Python 3.7 bump for Linux static builds
Add bash completion for docker-compose logs|up --no-log-prefix
1.28.0 (2021-01-20)
Features
Support for Nvidia GPUs via device requests
Support for service profiles
Change the SSH connection approach to the Docker CLI's via shellout to the local SSH client (old behaviour enabled by setting COMPOSE_PARAMIKO_SSH environment variable)
Add flag to disable log prefix
Add flag for ansi output control
Bugs
Make parallel_pull=True by default
Bring back warning for configs in non-swarm mode
Take --file in account when defining project_dir
On compose up, attach only to services we read logs from
Miscellaneous
Make COMPOSE_DOCKER_CLI_BUILD=1 the default
Add usage metrics
Sync schema with COMPOSE specification
Improve failure report for missing mandatory environment variables
Bump attrs to 20.3.0
Bump more_itertools to 8.6.0
Bump cryptograhy to 3.2.1
Bump cffi to 1.14.4
Bump virtualenv to 20.2.2
Bump bcrypt to 3.2.0
Bump gitpython to 3.1.11
Bump docker-py to 4.4.1
Bump Python to 3.9
Linux: bump Debian base image from stretch to buster (required for Python 3.9)
macOS: OpenSSL 1.1.1g to 1.1.1h, Python 3.7.7 to 3.9.0
Bump pyinstaller 4.1
Loosen restriction on base images to latest minor
Updates of READMEs
1.27.4 (2020-09-24)
Bugs
Remove path checks for bind mounts
Fix port rendering to output long form syntax for non-v1
Add protocol to the docker socket address
1.27.3 (2020-09-16)
Bugs
Merge max_replicas_per_node on docker-compose config
Fix depends_on serialization on docker-compose config
Fix scaling when some containers are not running on docker-compose up
Enable relative paths for driver_opts.device for local driver
Allow strings for cpus fields
1.27.2 (2020-09-10)
Bugs
Fix bug on docker-compose run container attach
1.27.1 (2020-09-10)
Bugs
Fix docker-compose run when service.scale is specified
Allow driver property for external networks as temporary workaround for swarm network propagation issue
Pin new internal schema version to 3.9 as the default
Preserve the version when configured in the compose file
1.27.0 (2020-09-07)
Features
Merge 2.x and 3.x compose formats and align with COMPOSE_SPEC schema
Implement service mode for ipc
Pass COMPOSE_PROJECT_NAME environment variable in container mode
Make run behave in the same way as up
Use docker build on docker-compose run when COMPOSE_DOCKER_CLI_BUILD environment variable is set
Use docker-py default API version for engine queries (auto)
Parse network_mode on build
Bugs
Ignore build context path validation when building is not required
Fix float to bytes conversion via docker-py bump to 4.3.1
Fix scale bug when deploy section is set
Fix docker-py bump in setup.py
Fix experimental build failure detection
Fix context propagation to docker cli
Miscellaneous
Drop support for Python 2.7
Bump docker-py to 4.3.1
Bump tox to 3.19.0
Bump virtualenv to 20.0.30
Add script for docs syncronization
-------------------------------------------------------------------
Thu Feb 25 10:32:51 UTC 2021 - Duncan Mac-Vicar <dmacvicar@suse.com>

View File

@@ -17,29 +17,30 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%define skip_python2 1
Name: python-docker-compose
Version: 1.26.2
Version: 1.28.5
Release: 0
Summary: Tool to define and run complex applications using Docker
License: Apache-2.0
Group: System/Management
URL: https://pypi.python.org/pypi/docker-compose
Source0: https://files.pythonhosted.org/packages/source/d/docker-compose/docker-compose-%{version}.tar.gz
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module cached-property >= 1.2.0}
BuildRequires: %{python_module PyYAML >= 5.3.1}
BuildRequires: %{python_module cached-property >= 1.5.1}
BuildRequires: %{python_module ddt >= 1.2.2}
BuildRequires: %{python_module distro >= 1.5.0}
BuildRequires: %{python_module docker >= 3.7.0}
BuildRequires: %{python_module docker >= 4.4.4}
BuildRequires: %{python_module dockerpty >= 0.4.1}
BuildRequires: %{python_module docopt >= 0.6.1}
BuildRequires: %{python_module jsonschema >= 2.6}
BuildRequires: %{python_module docopt >= 0.6.2}
BuildRequires: %{python_module jsonschema >= 3.2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dotenv >= 0.13.0}
BuildRequires: %{python_module python-dotenv >= 0.14.0}
BuildRequires: %{python_module requests >= 2.25.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.3.0}
BuildRequires: %{python_module texttable >= 0.9.1}
BuildRequires: %{python_module websocket-client >= 0.32.0}
BuildRequires: %{python_module texttable >= 1.6.2}
BuildRequires: %{python_module websocket-client >= 0.57.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?suse_version} >= 1500
@@ -48,42 +49,27 @@ Suggests: podman >= 3.0
%else
Requires: docker
%endif
Requires: python-PySocks >= 1.5.6
Requires: python-PyYAML >= 3.10
Requires: python-cached-property >= 1.2.0
Requires: python-PySocks >= 1.7.1
Requires: python-PyYAML >= 5.3.1
Requires: python-cached-property >= 1.5.1
Requires: python-chardet >= 3.0.4
Requires: python-distro >= 1.5.0
Requires: python-docker >= 4.2.2
Requires: python-docker-pycreds >= 0.3.0
Requires: python-docker >= 4.4.4
Requires: python-docker-pycreds >= 0.4.0
Requires: python-dockerpty >= 0.4.1
Requires: python-docopt >= 0.6.1
Requires: python-idna >= 2.5
Requires: python-jsonschema >= 2.5.1
Requires: python-python-dotenv >= 0.13.0
Requires: python-requests >= 2.20.0
Requires: python-docopt >= 0.6.2
Requires: python-idna >= 2.10
Requires: python-jsonschema >= 3.2
Requires: python-python-dotenv >= 0.14.0
Requires: python-requests >= 2.24.0
Requires: python-six >= 1.3.0
Requires: python-texttable >= 0.9.0
Requires: python-websocket-client >= 0.32.0
Requires: python-texttable >= 1.6.2
Requires: python-websocket-client >= 0.57.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
Provides: docker-compose = %{version}
Obsoletes: docker-compose < %{version}
%if %{with python2}
BuildRequires: python2-backports.shutil_get_terminal_size >= 1.0.0
BuildRequires: python2-backports.ssl_match_hostname >= 3.5
BuildRequires: python2-enum34 >= 1.0.4
BuildRequires: python2-ipaddress >= 1.0.16
BuildRequires: python2-mock >= 1.0.1
BuildRequires: python2-subprocess32 >= 3.5.4
%endif
%ifpython2
Requires: python-backports.shutil_get_terminal_size >= 1.0.0
Requires: python-backports.ssl_match_hostname >= 3.5
Requires: python-enum34 >= 1.0.4
Requires: python-ipaddress >= 1.0.16
Requires: python-subprocess32 >= 3.5.4
%endif
%python_subpackages
%description