forked from pool/python-docker
Accepting request 1094902 from home:ojkastl_buildservice:Branch_devel_languages_python
large update to 6.1.3 to fix builds; recreated spec file using py2pack OBS-URL: https://build.opensuse.org/request/show/1094902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=52
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d916a26b62970e7c2f554110ed6af04c7ccff8e9f81ad17d0d40c75637e227fb
|
||||
size 209485
|
||||
3
docker-6.1.3.tar.gz
Normal file
3
docker-6.1.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa6d17830045ba5ef0168d5eaa34d37beeb113948c413affe1d5991fc11f9a20
|
||||
size 259301
|
||||
@@ -1,3 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 13:38:27 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 6.1.3:
|
||||
* Bugfixes
|
||||
- Fix eventlet compatibility (#3132)
|
||||
- update to 6.1.2:
|
||||
* Bugfixes
|
||||
- Fix for socket timeouts on long docker exec calls (#3125)
|
||||
- Respect timeout param on Windows (#3112)
|
||||
- update to 6.1.1:
|
||||
* Upgrade Notes (6.1.x)
|
||||
- Errors are no longer returned during client initialization if
|
||||
the credential helper cannot be found. A warning will be
|
||||
emitted instead, and an error is returned if the credential
|
||||
helper is used.
|
||||
* Bugfixes
|
||||
- Fix containers.stats() hanging with stream=True
|
||||
- Correct return type in docs for containers.diff() method
|
||||
- update to 6.1.0:
|
||||
* Upgrade Notes
|
||||
- Errors are no longer returned during client initialization if
|
||||
the credential helper cannot be found. A warning will be
|
||||
emitted instead, and an error is returned if the credential
|
||||
helper is used.
|
||||
* Features
|
||||
- Python 3.11 support
|
||||
- Use poll() instead of select() on non-Windows platforms
|
||||
- New API fields
|
||||
- network_driver_opt on container run / create
|
||||
- one-shot on container stats
|
||||
- status on services list
|
||||
* Bugfixes
|
||||
- Support for requests 2.29.0+ and urllib3 2.x
|
||||
- Do not strip characters from volume names
|
||||
- Fix connection leak on container.exec_* operations
|
||||
- Fix errors closing named pipes on Windows
|
||||
- update to 6.0.1:
|
||||
* Notice
|
||||
This version is not compatible with requests 2.29+ or urllib3
|
||||
2.x.
|
||||
Either add requests < 2.29 and urllib3 < 2 to your requirements
|
||||
or upgrade to to the latest docker-py release.
|
||||
* Bugfixes
|
||||
- Fix for The pipe has been ended errors on Windows (#3056)
|
||||
- Support floats for timestamps in Docker logs (since / until)
|
||||
(#3031)
|
||||
- update to 6.0.0:
|
||||
* Upgrade Notes
|
||||
- Minimum supported Python version is 3.7+
|
||||
- When installing with pip, the docker[tls] extra is deprecated
|
||||
and a no-op, use docker for same functionality (TLS support
|
||||
is always available now)
|
||||
- Native Python SSH client (used by default /
|
||||
use_ssh_client=False) will now
|
||||
- reject unknown host keys with
|
||||
paramiko.ssh_exception.SSHException
|
||||
- Short IDs are now 12 characters instead of 10 characters
|
||||
(same as Docker CLI)
|
||||
- Version metadata is now exposed as __version__
|
||||
* Features
|
||||
- Python 3.10 support
|
||||
- Automatically negotiate most secure TLS version
|
||||
- Add platform (e.g. linux/amd64, darwin/arm64) to container
|
||||
create & run
|
||||
- Add support for GlobalJob and ReplicatedJobs for Swarm
|
||||
- Add remove() method on Image
|
||||
- Add force param to disable() on Plugin
|
||||
* Bugfixes
|
||||
- Fix install issues on Windows related to pywin32
|
||||
- Do not accept unknown SSH host keys in native Python SSH mode
|
||||
- Use 12 character short IDs for consistency with Docker CLI
|
||||
- Ignore trailing whitespace in .dockerignore files
|
||||
- Fix IPv6 host parsing when explicit port specified
|
||||
- Fix ProxyCommand option for SSH connections
|
||||
- Do not spawn extra subshell when launching external SSH
|
||||
client
|
||||
- Improve exception semantics to preserve context
|
||||
- Documentation improvements (formatting, examples, typos,
|
||||
missing params)
|
||||
* Miscellaneous
|
||||
- Upgrade dependencies in requirements.txt to latest versions
|
||||
- Remove extraneous transitive dependencies
|
||||
- Eliminate usages of deprecated functions/methods
|
||||
- Test suite reliability improvements
|
||||
- GitHub Actions workflows for linting, unit tests, integration
|
||||
tests, and publishing releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 11:20:16 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
||||
@@ -18,60 +18,57 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-docker
|
||||
Version: 5.0.3
|
||||
Version: 6.1.3
|
||||
Release: 0
|
||||
Summary: Docker API Client
|
||||
Summary: A Python library for the Docker Engine API
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://pypi.org/project/docker
|
||||
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module docker-pycreds >= 0.4.0}
|
||||
BuildRequires: %{python_module paramiko >= 2.4.2}
|
||||
URL: https://github.com/docker/docker-py
|
||||
Source: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
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 websocket-client >= 0.40.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: %{python_module setuptools >= 45}
|
||||
BuildRequires: %{python_module setuptools_scm >= 6.2}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-docker-pycreds >= 0.4.0
|
||||
Requires: python-paramiko >= 2.4.2
|
||||
Requires: python-requests >= 2.20.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}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module packaging >= 14.0}
|
||||
BuildRequires: %{python_module paramiko >= 2.11.0}
|
||||
BuildRequires: %{python_module pytest >= 7.1.2}
|
||||
BuildRequires: %{python_module pytest-timeout >= 2.1.0}
|
||||
BuildRequires: %{python_module requests >= 2.26.0}
|
||||
BuildRequires: %{python_module setuptools >= 65.5.1}
|
||||
BuildRequires: %{python_module urllib3 >= 2.0}
|
||||
BuildRequires: %{python_module websocket-client >= 0.32.0}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-packaging >= 14.0
|
||||
Requires: python-requests >= 2.26.0
|
||||
Requires: python-urllib3 >= 1.26.0
|
||||
Requires: python-websocket-client >= 0.32.0
|
||||
Suggests: python-pywin32 >= 304
|
||||
Suggests: python-paramiko >= 2.4.3
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} < 1320
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5}
|
||||
BuildRequires: python3
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A docker API client in Python
|
||||
A Python library for the Docker Engine API.
|
||||
|
||||
%prep
|
||||
%setup -q -n docker-%{version}
|
||||
%autosetup -p1 -n docker-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest tests/unit
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{python_sitelib}/docker
|
||||
%dir %{python_sitelib}/docker-%{version}-*.egg-info
|
||||
%{python_sitelib}/docker/*
|
||||
%{python_sitelib}/docker*egg-info/*
|
||||
%license LICENSE
|
||||
%{python_sitelib}/docker
|
||||
%{python_sitelib}/docker-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user