Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-podman for openSUSE:Factory checked in at 2024-01-08 23:46:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-podman (Old) and /work/SRC/openSUSE:Factory/.python-podman.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-podman" Mon Jan 8 23:46:17 2024 rev:14 rq:1137539 version:4.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-podman/python-podman.changes 2023-12-28 23:02:25.768560909 +0100 +++ /work/SRC/openSUSE:Factory/.python-podman.new.21961/python-podman.changes 2024-01-08 23:46:20.296659236 +0100 @@ -1,0 +2,10 @@ +Sun Jan 7 15:27:00 UTC 2024 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- update to 4.8.1: + * [release-4.8] Make progress_bar an extra feature by + @openshift-cherrypick-robot in + https://github.com/containers/podman-py/pull/362 + * Bump version to 4.8.2 by @umohnani8 in + https://github.com/containers/podman-py/pull/363 + +------------------------------------------------------------------- Old: ---- podman-4.8.1.tar.gz New: ---- podman-4.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-podman.spec ++++++ --- /var/tmp/diff_new_pack.AGJR3y/_old 2024-01-08 23:46:20.932682360 +0100 +++ /var/tmp/diff_new_pack.AGJR3y/_new 2024-01-08 23:46:20.936682506 +0100 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-podman%{psuffix} -Version: 4.8.1 +Version: 4.8.2 Release: 0 Summary: A library to interact with a Podman server License: Apache-2.0 ++++++ podman-4.8.1.tar.gz -> podman-4.8.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/Makefile new/podman-py-4.8.2/Makefile --- old/podman-py-4.8.1/Makefile 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/Makefile 2024-01-03 14:39:25.000000000 +0100 @@ -8,7 +8,7 @@ EPOCH_TEST_COMMIT ?= $(shell git merge-base $${DEST_BRANCH:-main} HEAD) HEAD ?= HEAD -export PODMAN_VERSION ?= "4.8.1" +export PODMAN_VERSION ?= "4.8.2" .PHONY: podman podman: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/podman/domain/images_manager.py new/podman-py-4.8.2/podman/domain/images_manager.py --- old/podman-py-4.8.1/podman/domain/images_manager.py 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/podman/domain/images_manager.py 2024-01-03 14:39:25.000000000 +0100 @@ -6,7 +6,6 @@ import urllib.parse from typing import Any, Dict, Generator, Iterator, List, Mapping, Optional, Union import requests -from rich.progress import Progress, TextColumn, BarColumn, TaskProgressColumn, TimeRemainingColumn from podman import api from podman.api import Literal @@ -17,6 +16,17 @@ from podman.domain.registry_data import RegistryData from podman.errors import APIError, ImageNotFound +try: + from rich.progress import ( + Progress, + TextColumn, + BarColumn, + TaskProgressColumn, + TimeRemainingColumn, + ) +except (ImportError, ModuleNotFoundError): + Progress = None + logger = logging.getLogger("podman.images") @@ -314,6 +324,8 @@ # progress bar progress_bar = kwargs.get("progress_bar", False) if progress_bar: + if Progress is None: + raise ModuleNotFoundError('progress_bar requires \'rich.progress\' module') params["compatMode"] = True stream = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/podman/tests/__init__.py new/podman-py-4.8.2/podman/tests/__init__.py --- old/podman-py-4.8.1/podman/tests/__init__.py 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/podman/tests/__init__.py 2024-01-03 14:39:25.000000000 +0100 @@ -3,5 +3,5 @@ # Do not auto-update these from version.py, # as test code should be changed to reflect changes in Podman API versions BASE_SOCK = "unix:///run/api.sock" -LIBPOD_URL = "http://%2Frun%2Fapi.sock/v4.8.1/libpod" +LIBPOD_URL = "http://%2Frun%2Fapi.sock/v4.8.2/libpod" COMPATIBLE_URL = "http://%2Frun%2Fapi.sock/v1.40" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/podman/version.py new/podman-py-4.8.2/podman/version.py --- old/podman-py-4.8.1/podman/version.py 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/podman/version.py 2024-01-03 14:39:25.000000000 +0100 @@ -1,4 +1,4 @@ """Version of PodmanPy.""" -__version__ = "4.8.1" +__version__ = "4.8.2" __compatible_version__ = "1.40" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/requirements.txt new/podman-py-4.8.2/requirements.txt --- old/podman-py-4.8.1/requirements.txt 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/requirements.txt 2024-01-03 14:39:25.000000000 +0100 @@ -6,4 +6,3 @@ tomli>=1.2.3; python_version<'3.11' urllib3 wheel -rich >= 12.5.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/rpm/python-podman.spec new/podman-py-4.8.2/rpm/python-podman.spec --- old/podman-py-4.8.1/rpm/python-podman.spec 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/rpm/python-podman.spec 2024-01-03 14:39:25.000000000 +0100 @@ -81,6 +81,11 @@ %pyproject_save_files %{pypi_name} %endif +%if !%{defined rhel8_py} +%check +%pyproject_check_import -e podman.api.typing_extensions +%endif + %if %{defined rhel8_py} %files -n python%{python3_pkgversion}-%{pypi_name} %dir %{python3_sitelib}/%{pypi_name}-*-py%{python3_version}.egg-info @@ -88,6 +93,7 @@ %dir %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}/* %else +%pyproject_extras_subpkg -n python%{python3_pkgversion}-%{pypi_name} progress_bar %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %endif %license LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/setup.cfg new/podman-py-4.8.2/setup.cfg --- old/podman-py-4.8.1/setup.cfg 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/setup.cfg 2024-01-03 14:39:25.000000000 +0100 @@ -1,6 +1,6 @@ [metadata] name = podman -version = 4.8.1 +version = 4.8.2 author = Brent Baude, Jhon Honce author_email = jho...@redhat.com description = Bindings for Podman RESTful API @@ -38,6 +38,9 @@ requests >=2.24 tomli>=1.2.3; python_version<'3.11' urllib3 + +[options.extras_require] +progress_bar = rich >= 12.5.1 # typing_extensions are included for RHEL 8.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/podman-py-4.8.1/test-requirements.txt new/podman-py-4.8.2/test-requirements.txt --- old/podman-py-4.8.1/test-requirements.txt 2023-12-21 13:35:41.000000000 +0100 +++ new/podman-py-4.8.2/test-requirements.txt 2024-01-03 14:39:25.000000000 +0100 @@ -7,4 +7,3 @@ pytest requests-mock >= 1.11.0 tox -rich >= 12.5.1