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 2023-12-28 23:00:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-podman (Old)
 and      /work/SRC/openSUSE:Factory/.python-podman.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-podman"

Thu Dec 28 23:00:45 2023 rev:13 rq:1135175 version:4.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-podman/python-podman.changes      
2023-11-28 22:20:47.716859390 +0100
+++ /work/SRC/openSUSE:Factory/.python-podman.new.28375/python-podman.changes   
2023-12-28 23:02:25.768560909 +0100
@@ -1,0 +2,10 @@
+Thu Dec 21 17:12:27 UTC 2023 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 4.8.1:
+  * [release-4.8] Add rich dep to setup.cfg by
+    @openshift-cherrypick-robot in #354
+  * [release-4.8] Fix lint issues by @openshift-cherrypick-robot in
+    #359
+  * Bump version to podman 4.8.1 by @umohnani8 in #357
+
+-------------------------------------------------------------------

Old:
----
  podman-4.8.0.tar.gz

New:
----
  podman-4.8.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-podman.spec ++++++
--- /var/tmp/diff_new_pack.0nDwYA/_old  2023-12-28 23:02:26.376583130 +0100
+++ /var/tmp/diff_new_pack.0nDwYA/_new  2023-12-28 23:02:26.376583130 +0100
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-podman%{psuffix}
-Version:        4.8.0
+Version:        4.8.1
 Release:        0
 Summary:        A library to interact with a Podman server
 License:        Apache-2.0

++++++ podman-4.8.0.tar.gz -> podman-4.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/Makefile new/podman-py-4.8.1/Makefile
--- old/podman-py-4.8.0/Makefile        2023-11-27 22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/Makefile        2023-12-21 13:35:41.000000000 +0100
@@ -8,7 +8,7 @@
 EPOCH_TEST_COMMIT ?= $(shell git merge-base $${DEST_BRANCH:-main} HEAD)
 HEAD ?= HEAD
 
-export PODMAN_VERSION ?= "4.8.0"
+export PODMAN_VERSION ?= "4.8.1"
 
 .PHONY: podman
 podman:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/domain/containers_create.py 
new/podman-py-4.8.1/podman/domain/containers_create.py
--- old/podman-py-4.8.0/podman/domain/containers_create.py      2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/domain/containers_create.py      2023-12-21 
13:35:41.000000000 +0100
@@ -383,22 +383,20 @@
                 del args[key]
 
         # These keywords are not supported for various reasons.
-        unsupported_keys = set(args.keys()).intersection(
-            (
-                "blkio_weight",
-                "blkio_weight_device",  # FIXME In addition to device 
Major/Minor include path
-                "device_cgroup_rules",  # FIXME Where to map for Podman API?
-                "device_read_bps",  # FIXME In addition to device Major/Minor 
include path
-                "device_read_iops",  # FIXME In addition to device Major/Minor 
include path
-                "device_requests",  # FIXME In addition to device Major/Minor 
include path
-                "device_write_bps",  # FIXME In addition to device Major/Minor 
include path
-                "device_write_iops",  # FIXME In addition to device 
Major/Minor include path
-                "domainname",
-                "network_disabled",  # FIXME Where to map for Podman API?
-                "storage_opt",  # FIXME Where to map for Podman API?
-                "tmpfs",  # FIXME Where to map for Podman API?
-            )
-        )
+        unsupported_keys = set(args.keys()).intersection((
+            "blkio_weight",
+            "blkio_weight_device",  # FIXME In addition to device Major/Minor 
include path
+            "device_cgroup_rules",  # FIXME Where to map for Podman API?
+            "device_read_bps",  # FIXME In addition to device Major/Minor 
include path
+            "device_read_iops",  # FIXME In addition to device Major/Minor 
include path
+            "device_requests",  # FIXME In addition to device Major/Minor 
include path
+            "device_write_bps",  # FIXME In addition to device Major/Minor 
include path
+            "device_write_iops",  # FIXME In addition to device Major/Minor 
include path
+            "domainname",
+            "network_disabled",  # FIXME Where to map for Podman API?
+            "storage_opt",  # FIXME Where to map for Podman API?
+            "tmpfs",  # FIXME Where to map for Podman API?
+        ))
         if len(unsupported_keys) > 0:
             raise TypeError(
                 f"""Keyword(s) '{" ,".join(unsupported_keys)}' are"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/tests/__init__.py 
new/podman-py-4.8.1/podman/tests/__init__.py
--- old/podman-py-4.8.0/podman/tests/__init__.py        2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/__init__.py        2023-12-21 
13:35:41.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.0/libpod";
+LIBPOD_URL = "http://%2Frun%2Fapi.sock/v4.8.1/libpod";
 COMPATIBLE_URL = "http://%2Frun%2Fapi.sock/v1.40";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/tests/unit/test_container.py 
new/podman-py-4.8.1/podman/tests/unit/test_container.py
--- old/podman-py-4.8.0/podman/tests/unit/test_container.py     2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_container.py     2023-12-21 
13:35:41.000000000 +0100
@@ -106,20 +106,14 @@
 
     @requests_mock.Mocker()
     def test_stats(self, mock):
-        stream = [
-            {
-                "Error": None,
-                "Stats": [
-                    {
-                        "ContainerId": (
-                            
"87e1325c82424e49a00abdd4de08009eb76c7de8d228426a9b8af9318ced5ecd"
-                        ),
-                        "Name": "evil_ptolemy",
-                        "CPU": 1000.0,
-                    }
-                ],
-            }
-        ]
+        stream = [{
+            "Error": None,
+            "Stats": [{
+                "ContainerId": 
"87e1325c82424e49a00abdd4de08009eb76c7de8d228426a9b8af9318ced5ecd",
+                "Name": "evil_ptolemy",
+                "CPU": 1000.0,
+            }],
+        }]
         buffer = io.StringIO()
         for entry in stream:
             buffer.write(json.JSONEncoder().encode(entry))
@@ -413,28 +407,23 @@
 
     @requests_mock.Mocker()
     def test_top_with_streaming(self, mock):
-        stream = [
-            {
-                "Processes": [
-                    [
-                        'jhonce',
-                        '2417',
-                        '2274',
-                        '0',
-                        'Mar01',
-                        '?',
-                        '00:00:01',
-                        (
-                            '/usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash 
-c'
-                            ' "/usr/bin/gnome-session"'
-                        ),
-                    ],
-                    ['jhonce', '5544', '3522', '0', 'Mar01', 'pts/1', 
'00:00:02', '-bash'],
-                    ['jhonce', '6140', '3522', '0', 'Mar01', 'pts/2', 
'00:00:00', '-bash'],
+        stream = [{
+            "Processes": [
+                [
+                    'jhonce',
+                    '2417',
+                    '2274',
+                    '0',
+                    'Mar01',
+                    '?',
+                    '00:00:01',
+                    '/usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c 
"/usr/bin/gnome-session"',
                 ],
-                "Titles": ["UID", "PID", "PPID", "C", "STIME", "TTY", "TIME 
CMD"],
-            }
-        ]
+                ['jhonce', '5544', '3522', '0', 'Mar01', 'pts/1', '00:00:02', 
'-bash'],
+                ['jhonce', '6140', '3522', '0', 'Mar01', 'pts/2', '00:00:00', 
'-bash'],
+            ],
+            "Titles": ["UID", "PID", "PPID", "C", "STIME", "TTY", "TIME CMD"],
+        }]
 
         buffer = io.StringIO()
         for entry in stream:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/tests/unit/test_events.py 
new/podman-py-4.8.1/podman/tests/unit/test_events.py
--- old/podman-py-4.8.0/podman/tests/unit/test_events.py        2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_events.py        2023-12-21 
13:35:41.000000000 +0100
@@ -22,23 +22,21 @@
 
     @requests_mock.Mocker()
     def test_list(self, mock):
-        stream = [
-            {
-                "Type": "pod",
-                "Action": "create",
-                "Actor": {
-                    "ID": "",
-                    "Attributes": {
-                        "image": "",
-                        "name": "",
-                        "containerExitCode": 0,
-                    },
+        stream = [{
+            "Type": "pod",
+            "Action": "create",
+            "Actor": {
+                "ID": "",
+                "Attributes": {
+                    "image": "",
+                    "name": "",
+                    "containerExitCode": 0,
                 },
-                "Scope": "local",
-                "Time": 1615845480,
-                "TimeNano": 1615845480,
-            }
-        ]
+            },
+            "Scope": "local",
+            "Time": 1615845480,
+            "TimeNano": 1615845480,
+        }]
         buffer = io.StringIO()
         for item in stream:
             buffer.write(json.JSONEncoder().encode(item))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/tests/unit/test_image.py 
new/podman-py-4.8.1/podman/tests/unit/test_image.py
--- old/podman-py-4.8.0/podman/tests/unit/test_image.py 2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_image.py 2023-12-21 
13:35:41.000000000 +0100
@@ -51,16 +51,14 @@
         adapter = mock.get(
             tests.LIBPOD_URL
             + 
"/images/326dd9d7add24646a325e8eaa82125294027db2332e49c5828d96312c5d773ab/history",
-            json=[
-                {
-                    "Id": 
"326dd9d7add24646a325e8eaa82125294027db2332e49c5828d96312c5d773ab",
-                    "Comment": "",
-                    "Created": 1614208404,
-                    "CreatedBy": "2021-02-24T23:13:24+00:00",
-                    "Tags": ["latest"],
-                    "Size": 1024,
-                }
-            ],
+            json=[{
+                "Id": 
"326dd9d7add24646a325e8eaa82125294027db2332e49c5828d96312c5d773ab",
+                "Comment": "",
+                "Created": 1614208404,
+                "CreatedBy": "2021-02-24T23:13:24+00:00",
+                "Tags": ["latest"],
+                "Size": 1024,
+            }],
         )
         image = Image(attrs=FIRST_IMAGE, client=self.client.api)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/podman-py-4.8.0/podman/tests/unit/test_imagesmanager.py 
new/podman-py-4.8.1/podman/tests/unit/test_imagesmanager.py
--- old/podman-py-4.8.0/podman/tests/unit/test_imagesmanager.py 2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_imagesmanager.py 2023-12-21 
13:35:41.000000000 +0100
@@ -156,13 +156,11 @@
         """Unit test Images prune()."""
         mock.post(
             tests.LIBPOD_URL + "/images/prune",
-            json=[
-                {
-                    "Id": 
"326dd9d7add24646a325e8eaa82125294027db2332e49c5828d96312c5d773ab",
-                    "Err": None,
-                    "Size": 1024,
-                }
-            ],
+            json=[{
+                "Id": 
"326dd9d7add24646a325e8eaa82125294027db2332e49c5828d96312c5d773ab",
+                "Err": None,
+                "Size": 1024,
+            }],
         )
 
         results = self.client.images.prune()
@@ -212,11 +210,9 @@
         """Unit test to report error carried in response body."""
         mock.post(
             tests.LIBPOD_URL + "/images/prune",
-            json=[
-                {
-                    "Err": "Test prune failure in response body.",
-                }
-            ],
+            json=[{
+                "Err": "Test prune failure in response body.",
+            }],
         )
 
         with self.assertRaises(APIError) as e:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/tests/unit/test_network.py 
new/podman-py-4.8.1/podman/tests/unit/test_network.py
--- old/podman-py-4.8.0/podman/tests/unit/test_network.py       2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_network.py       2023-12-21 
13:35:41.000000000 +0100
@@ -34,16 +34,14 @@
     "driver": "bridge",
     "network_interface": "libpod_veth0",
     "created": "2022-01-28T09:18:37.491308364-07:00",
-    "subnets": [
-        {
-            "subnet": "10.11.12.0/24",
-            "gateway": "10.11.12.1",
-            "lease_range": {
-                "start_ip": "10.11.12.1",
-                "end_ip": "10.11.12.63",
-            },
-        }
-    ],
+    "subnets": [{
+        "subnet": "10.11.12.0/24",
+        "gateway": "10.11.12.1",
+        "lease_range": {
+            "start_ip": "10.11.12.1",
+            "end_ip": "10.11.12.63",
+        },
+    }],
     "ipv6_enabled": False,
     "internal": False,
     "dns_enabled": False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/podman-py-4.8.0/podman/tests/unit/test_networksmanager.py 
new/podman-py-4.8.1/podman/tests/unit/test_networksmanager.py
--- old/podman-py-4.8.0/podman/tests/unit/test_networksmanager.py       
2023-11-27 22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_networksmanager.py       
2023-12-21 13:35:41.000000000 +0100
@@ -56,16 +56,14 @@
     "driver": "bridge",
     "network_interface": "libpod_veth0",
     "created": "2022-01-28T09:18:37.491308364-07:00",
-    "subnets": [
-        {
-            "subnet": "10.11.12.0/24",
-            "gateway": "10.11.12.1",
-            "lease_range": {
-                "start_ip": "10.11.12.1",
-                "end_ip": "10.11.12.63",
-            },
-        }
-    ],
+    "subnets": [{
+        "subnet": "10.11.12.0/24",
+        "gateway": "10.11.12.1",
+        "lease_range": {
+            "start_ip": "10.11.12.1",
+            "end_ip": "10.11.12.63",
+        },
+    }],
     "ipv6_enabled": False,
     "internal": False,
     "dns_enabled": False,
@@ -80,16 +78,14 @@
     "created": "2021-03-01T09:18:37.491308364-07:00",
     "driver": "bridge",
     "network_interface": "libpod_veth1",
-    "subnets": [
-        {
-            "subnet": "10.11.12.0/24",
-            "gateway": "10.11.12.1",
-            "lease_range": {
-                "start_ip": "10.11.12.1",
-                "end_ip": "10.11.12.63",
-            },
-        }
-    ],
+    "subnets": [{
+        "subnet": "10.11.12.0/24",
+        "gateway": "10.11.12.1",
+        "lease_range": {
+            "start_ip": "10.11.12.1",
+            "end_ip": "10.11.12.63",
+        },
+    }],
     "ipv6_enabled": False,
     "internal": False,
     "dns_enabled": False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/podman-py-4.8.0/podman/tests/unit/test_podsmanager.py 
new/podman-py-4.8.1/podman/tests/unit/test_podsmanager.py
--- old/podman-py-4.8.0/podman/tests/unit/test_podsmanager.py   2023-11-27 
22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/podman/tests/unit/test_podsmanager.py   2023-12-21 
13:35:41.000000000 +0100
@@ -194,34 +194,30 @@
     @requests_mock.Mocker()
     def test_top_with_streaming(self, mock):
         stream = [
-            [
-                {
-                    'CPU': '2.53%',
-                    'MemUsage': '49.15kB / 16.71GB',
-                    'MemUsageBytes': '48KiB / 15.57GiB',
-                    'Mem': '0.00%',
-                    'NetIO': '7.638kB / 430B',
-                    'BlockIO': '-- / --',
-                    'PIDS': '1',
-                    'Pod': '1c948ab42339',
-                    'CID': 'd999c49a7b6c',
-                    'Name': '1c948ab42339-infra',
-                }
-            ],
-            [
-                {
-                    'CPU': '1.46%',
-                    'MemUsage': '57.23B / 16.71GB',
-                    'MemUsageBytes': '48KiB / 15.57GiB',
-                    'Mem': '0.00%',
-                    'NetIO': '7.638kB / 430B',
-                    'BlockIO': '-- / --',
-                    'PIDS': '1',
-                    'Pod': '1c948ab42339',
-                    'CID': 'd999c49a7b6c',
-                    'Name': '1c948ab42339-infra',
-                }
-            ],
+            [{
+                'CPU': '2.53%',
+                'MemUsage': '49.15kB / 16.71GB',
+                'MemUsageBytes': '48KiB / 15.57GiB',
+                'Mem': '0.00%',
+                'NetIO': '7.638kB / 430B',
+                'BlockIO': '-- / --',
+                'PIDS': '1',
+                'Pod': '1c948ab42339',
+                'CID': 'd999c49a7b6c',
+                'Name': '1c948ab42339-infra',
+            }],
+            [{
+                'CPU': '1.46%',
+                'MemUsage': '57.23B / 16.71GB',
+                'MemUsageBytes': '48KiB / 15.57GiB',
+                'Mem': '0.00%',
+                'NetIO': '7.638kB / 430B',
+                'BlockIO': '-- / --',
+                'PIDS': '1',
+                'Pod': '1c948ab42339',
+                'CID': 'd999c49a7b6c',
+                'Name': '1c948ab42339-infra',
+            }],
         ]
 
         buffer = io.StringIO()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/podman/version.py 
new/podman-py-4.8.1/podman/version.py
--- old/podman-py-4.8.0/podman/version.py       2023-11-27 22:44:00.000000000 
+0100
+++ new/podman-py-4.8.1/podman/version.py       2023-12-21 13:35:41.000000000 
+0100
@@ -1,4 +1,4 @@
 """Version of PodmanPy."""
 
-__version__ = "4.8.0"
+__version__ = "4.8.1"
 __compatible_version__ = "1.40"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/podman-py-4.8.0/setup.cfg 
new/podman-py-4.8.1/setup.cfg
--- old/podman-py-4.8.0/setup.cfg       2023-11-27 22:44:00.000000000 +0100
+++ new/podman-py-4.8.1/setup.cfg       2023-12-21 13:35:41.000000000 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = podman
-version = 4.8.0
+version = 4.8.1
 author = Brent Baude, Jhon Honce
 author_email = jho...@redhat.com
 description = Bindings for Podman RESTful API
@@ -38,6 +38,7 @@
     requests >=2.24
     tomli>=1.2.3; python_version<'3.11'
     urllib3
+    rich >= 12.5.1
 
 # typing_extensions are included for RHEL 8.5
 # typing_extensions;python_version<'3.8'

Reply via email to