forked from pool/python-docker
Accepting request 1196072 from home:nkrapp:branches:devel:languages:python
- Update to 7.1.0
* Bumped minimum engine API version to 1.24
* Bumped default engine API version to 1.44 (Moby 25.0)
* Fixed issue with lang parsing when the registry address
includes ports taht resulted in `invalid tag format` errors
* Fixed issue preventing creating new configs (ConfigCollection),
which failed with a KeyError due to the name field
* Fixed an issue due to an update in the requests package breaking
docker-py by applying the suggested fix
* Documentation improvements
* Updated Ruff (linter) and fixed minor linting issues
* Started using hatch for packaging
* Stopped checking for deprecated container and image related
fields (Container and ContainerConfig)
* Updated tests that check NetworkSettings.Networks.<network>.Aliases
due to engine changes
- change source url as release tarball doesn't include tests anymore
- drop patches which are now included upstream
OBS-URL: https://build.opensuse.org/request/show/1196072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=58
This commit is contained in:
@@ -18,18 +18,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-docker
|
||||
Version: 7.0.0
|
||||
Version: 7.1.0
|
||||
Release: 0
|
||||
Summary: A Python library for the Docker Engine API
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/docker/docker-py
|
||||
Source: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM e33e0a437ecd895158c8cb4322a0cdad79312636.patch -- based on commit e33e0a4
|
||||
# https://github.com/docker/docker-py/commit/e33e0a437ecd895158c8cb4322a0cdad79312636.patch
|
||||
Patch1: e33e0a437ecd895158c8cb4322a0cdad79312636.patch
|
||||
# PATCH-FIX-UPSTREAM 2a059a9f19c7b37c6c71c233754c6845e325d1ec.patch -- based on commit 2a059a9
|
||||
# https://github.com/docker/docker-py/commit/2a059a9f19c7b37c6c71c233754c6845e325d1ec.patch
|
||||
Patch2: 2a059a9f19c7b37c6c71c233754c6845e325d1ec.patch
|
||||
Source: https://github.com/docker/docker-py/archive/refs/tags/%{version}.tar.gz#/docker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 45}
|
||||
BuildRequires: %{python_module setuptools_scm >= 6.2}
|
||||
@@ -59,9 +55,10 @@ BuildArch: noarch
|
||||
A Python library for the Docker Engine API.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n docker-%{version}
|
||||
%autosetup -p1 -n docker-py-%{version}
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user