Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-minio for openSUSE:Factory 
checked in at 2023-01-07 17:19:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-minio (Old)
 and      /work/SRC/openSUSE:Factory/.python-minio.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-minio"

Sat Jan  7 17:19:55 2023 rev:17 rq:1056766 version:7.1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-minio/python-minio.changes        
2022-10-29 20:18:20.298604364 +0200
+++ /work/SRC/openSUSE:Factory/.python-minio.new.1563/python-minio.changes      
2023-01-07 17:23:17.003433480 +0100
@@ -1,0 +2,10 @@
+Sat Jan  7 12:20:40 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 7.1.13:
+  * Use Apache license SPDX identifier
+  * fix usage of deprecated urllib3.Response.getheaders()
+  * Fix typos and add codespell GitHub Action
+  * Expose fetch-owner in the api for list_object
+  * Add python 3.11 support
+
+-------------------------------------------------------------------

Old:
----
  minio-7.1.12.tar.gz

New:
----
  minio-7.1.13.tar.gz

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

Other differences:
------------------
++++++ python-minio.spec ++++++
--- /var/tmp/diff_new_pack.AhSGah/_old  2023-01-07 17:23:17.435436058 +0100
+++ /var/tmp/diff_new_pack.AhSGah/_new  2023-01-07 17:23:17.439436082 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-minio
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-minio
-Version:        7.1.12
+Version:        7.1.13
 Release:        0
 Summary:        Minio library for Amazon S3 compatible cloud storage
 License:        Apache-2.0

++++++ minio-7.1.12.tar.gz -> minio-7.1.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/PKG-INFO new/minio-7.1.13/PKG-INFO
--- old/minio-7.1.12/PKG-INFO   2022-09-28 09:55:32.456371000 +0200
+++ new/minio-7.1.13/PKG-INFO   2023-01-07 09:25:24.317450800 +0100
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: minio
-Version: 7.1.12
+Version: 7.1.13
 Summary: MinIO Python SDK for Amazon S3 Compatible Cloud Storage
 Home-page: https://github.com/minio/minio-py
 Download-URL: https://github.com/minio/minio-py/releases
 Author: MinIO, Inc.
 Author-email: d...@min.io
-License: Apache License 2.0
+License: Apache-2.0
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: Apache Software License
@@ -17,6 +17,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Description-Content-Type: text/markdown
 License-File: LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/docs/API.md new/minio-7.1.13/docs/API.md
--- old/minio-7.1.12/docs/API.md        2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/docs/API.md        2023-01-07 09:22:52.000000000 +0100
@@ -1487,7 +1487,7 @@
     ],
 )
 for error in errors:
-    print("error occured when deleting object", error)
+    print("error occurred when deleting object", error)
 
 # Remove a prefix recursively.
 delete_object_list = map(
@@ -1496,7 +1496,7 @@
 )
 errors = client.remove_objects("my-bucket", delete_object_list)
 for error in errors:
-    print("error occured when deleting object", error)
+    print("error occurred when deleting object", error)
 ```
 
 <a name="delete_object_tags"></a>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/examples/remove_objects.py 
new/minio-7.1.13/examples/remove_objects.py
--- old/minio-7.1.12/examples/remove_objects.py 2022-09-28 09:54:03.000000000 
+0200
+++ new/minio-7.1.13/examples/remove_objects.py 2023-01-07 09:22:52.000000000 
+0100
@@ -33,7 +33,7 @@
     ],
 )
 for error in errors:
-    print("error occured when deleting object", error)
+    print("error occurred when deleting object", error)
 
 # Remove a prefix recursively.
 delete_object_list = map(
@@ -42,4 +42,4 @@
 )
 errors = client.remove_objects("my-bucket", delete_object_list)
 for error in errors:
-    print("error occured when deleting object", error)
+    print("error occurred when deleting object", error)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/__init__.py 
new/minio-7.1.13/minio/__init__.py
--- old/minio-7.1.12/minio/__init__.py  2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/__init__.py  2023-01-07 09:22:52.000000000 +0100
@@ -33,7 +33,7 @@
 
 __title__ = "minio-py"
 __author__ = "MinIO, Inc."
-__version__ = "7.1.12"
+__version__ = "7.1.13"
 __license__ = "Apache 2.0"
 __copyright__ = "Copyright 2015, 2016, 2017, 2018, 2019, 2020 MinIO, Inc."
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/api.py 
new/minio-7.1.13/minio/api.py
--- old/minio-7.1.12/minio/api.py       2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/api.py       2023-01-07 09:22:52.000000000 +0100
@@ -166,7 +166,7 @@
             307: ("Redirect", "Temporary redirect"),
             400: ("BadRequest", "Bad request"),
         }.get(response.status, (None, None))
-        region = response.getheader("x-amz-bucket-region")
+        region = response.headers.get("x-amz-bucket-region")
         if message and region:
             message += "; use region " + region
 
@@ -274,7 +274,7 @@
         if self._trace_stream:
             self._trace_stream.write(f"HTTP/1.1 {response.status}\n")
             self._trace_stream.write(
-                headers_to_strings(response.getheaders()),
+                headers_to_strings(response.headers),
             )
             self._trace_stream.write("\n")
 
@@ -297,7 +297,7 @@
 
         if (
                 method != "HEAD" and
-                "application/xml" not in response.getheader(
+                "application/xml" not in response.headers.get(
                     "content-type", "",
                 ).split(";")
         ):
@@ -310,7 +310,7 @@
                 )
             raise InvalidResponseError(
                 response.status,
-                response.getheader("content-type"),
+                response.headers.get("content-type"),
                 response.data.decode() if response.data else None,
             )
 
@@ -319,7 +319,7 @@
                 self._trace_stream.write("----------END-HTTP----------\n")
             raise InvalidResponseError(
                 response.status,
-                response.getheader("content-type"),
+                response.headers.get("content-type"),
                 None,
             )
 
@@ -373,8 +373,8 @@
                 code,
                 message,
                 url.path,
-                response.getheader("x-amz-request-id"),
-                response.getheader("x-amz-id-2"),
+                response.headers.get("x-amz-request-id"),
+                response.headers.get("x-amz-id-2"),
                 response,
                 bucket_name=bucket_name,
                 object_name=object_name,
@@ -1287,9 +1287,9 @@
         return ObjectWriteResult(
             bucket_name,
             object_name,
-            response.getheader("x-amz-version-id"),
+            response.headers.get("x-amz-version-id"),
             etag,
-            response.getheaders(),
+            response.headers,
             last_modified=last_modified,
         )
 
@@ -1587,9 +1587,9 @@
         return ObjectWriteResult(
             bucket_name,
             object_name,
-            response.getheader("x-amz-version-id"),
-            response.getheader("etag").replace('"', ""),
-            response.getheaders(),
+            response.headers.get("x-amz-version-id"),
+            response.headers.get("etag").replace('"', ""),
+            response.headers,
         )
 
     def _upload_part(self, bucket_name, object_name, data, headers,
@@ -1768,7 +1768,7 @@
     def list_objects(self, bucket_name, prefix=None, recursive=False,
                      start_after=None, include_user_meta=False,
                      include_version=False, use_api_v1=False,
-                     use_url_encoding_type=True):
+                     use_url_encoding_type=True, fetch_owner=False):
         """
         Lists object information of a bucket.
 
@@ -1826,6 +1826,7 @@
             use_api_v1=use_api_v1,
             include_version=include_version,
             encoding_type="url" if use_url_encoding_type else None,
+            fetch_owner=fetch_owner,
         )
 
     def stat_object(self, bucket_name, object_name, ssec=None, version_id=None,
@@ -1872,7 +1873,7 @@
             query_params=query_params,
         )
 
-        last_modified = response.getheader("last-modified")
+        last_modified = response.headers.get("last-modified")
         if last_modified:
             last_modified = time.from_http_header(last_modified)
 
@@ -1880,11 +1881,11 @@
             bucket_name,
             object_name,
             last_modified=last_modified,
-            etag=response.getheader("etag", "").replace('"', ""),
-            size=int(response.getheader("content-length", "0")),
-            content_type=response.getheader("content-type"),
+            etag=response.headers.get("etag", "").replace('"', ""),
+            size=int(response.headers.get("content-length", "0")),
+            content_type=response.headers.get("content-type"),
             metadata=response.headers,
-            version_id=response.getheader("x-amz-version-id"),
+            version_id=response.headers.get("x-amz-version-id"),
         )
 
     def remove_object(self, bucket_name, object_name, version_id=None):
@@ -1970,7 +1971,7 @@
                 ],
             )
             for error in errors:
-                print("error occured when deleting object", error)
+                print("error occurred when deleting object", error)
 
             # Remove a prefix recursively.
             delete_object_list = map(
@@ -1979,7 +1980,7 @@
             )
             errors = client.remove_objects("my-bucket", delete_object_list)
             for error in errors:
-                print("error occured when deleting object", error)
+                print("error occurred when deleting object", error)
         """
         check_bucket_name(bucket_name)
 
@@ -2597,7 +2598,7 @@
 
         Example::
             config = ObjectLockConfig(GOVERNANCE, 15, DAYS)
-            client.set_object_lock_condig("my-bucket", config)
+            client.set_object_lock_config("my-bucket", config)
         """
         check_bucket_name(bucket_name)
         if not isinstance(config, ObjectLockConfig):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/commonconfig.py 
new/minio-7.1.13/minio/commonconfig.py
--- old/minio-7.1.12/minio/commonconfig.py      2022-09-28 09:54:03.000000000 
+0200
+++ new/minio-7.1.13/minio/commonconfig.py      2023-01-07 09:22:52.000000000 
+0100
@@ -387,7 +387,7 @@
 
 
 class CopySource(ObjectConditionalReadArgs):
-    """A source object defintion for copy_object method."""
+    """A source object definition for copy_object method."""
     @classmethod
     def of(cls, src):
         """Create CopySource from another source."""
@@ -399,7 +399,7 @@
 
 
 class ComposeSource(ObjectConditionalReadArgs):
-    """A source object defintion for compose_object method."""
+    """A source object definition for compose_object method."""
 
     def __init__(self, bucket_name, object_name, region=None, version_id=None,
                  ssec=None, offset=None, length=None, match_etag=None,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/datatypes.py 
new/minio-7.1.13/minio/datatypes.py
--- old/minio-7.1.12/minio/datatypes.py 2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/datatypes.py 2023-01-07 09:22:52.000000000 +0100
@@ -303,8 +303,8 @@
         self._etag = findtext(element, "ETag")
         if self._etag:
             self._etag = self._etag.replace('"', "")
-        self._version_id = response.getheader("x-amz-version-id")
-        self._http_headers = response.getheaders()
+        self._version_id = response.headers.get("x-amz-version-id")
+        self._http_headers = response.headers
 
     @property
     def bucket_name(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/helpers.py 
new/minio-7.1.13/minio/helpers.py
--- old/minio-7.1.12/minio/helpers.py   2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/helpers.py   2023-01-07 09:22:52.000000000 +0100
@@ -650,7 +650,7 @@
         self.start()
 
     def run(self):
-        """ Continously receive tasks and execute them """
+        """ Continuously receive tasks and execute them """
         while True:
             task = self._tasks_queue.get()
             if not task:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/select.py 
new/minio-7.1.13/minio/select.py
--- old/minio-7.1.12/minio/select.py    2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/select.py    2023-01-07 09:22:52.000000000 +0100
@@ -219,7 +219,7 @@
     def __init__(self, expression, input_serialization, output_serialization,
                  request_progress=False, scan_start_range=None,
                  scan_end_range=None):
-        self._expession = expression
+        self._expression = expression
         if not isinstance(
                 input_serialization,
                 (
@@ -249,7 +249,7 @@
     def toxml(self, element):
         """Convert to XML."""
         element = Element("SelectObjectContentRequest")
-        SubElement(element, "Expression", self._expession)
+        SubElement(element, "Expression", self._expression)
         SubElement(element, "ExpressionType", "SQL")
         self._input_serialization.toxml(
             SubElement(element, "InputSerialization"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio/sseconfig.py 
new/minio-7.1.13/minio/sseconfig.py
--- old/minio-7.1.12/minio/sseconfig.py 2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/minio/sseconfig.py 2023-01-07 09:22:52.000000000 +0100
@@ -73,7 +73,7 @@
 
 
 class SSEConfig:
-    """server-side encyption configuration."""
+    """server-side encryption configuration."""
 
     def __init__(self, rule):
         if not rule:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/minio.egg-info/PKG-INFO 
new/minio-7.1.13/minio.egg-info/PKG-INFO
--- old/minio-7.1.12/minio.egg-info/PKG-INFO    2022-09-28 09:55:31.000000000 
+0200
+++ new/minio-7.1.13/minio.egg-info/PKG-INFO    2023-01-07 09:25:21.000000000 
+0100
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: minio
-Version: 7.1.12
+Version: 7.1.13
 Summary: MinIO Python SDK for Amazon S3 Compatible Cloud Storage
 Home-page: https://github.com/minio/minio-py
 Download-URL: https://github.com/minio/minio-py/releases
 Author: MinIO, Inc.
 Author-email: d...@min.io
-License: Apache License 2.0
+License: Apache-2.0
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: Apache Software License
@@ -17,6 +17,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Description-Content-Type: text/markdown
 License-File: LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/setup.py new/minio-7.1.13/setup.py
--- old/minio-7.1.12/setup.py   2022-09-28 09:54:03.000000000 +0200
+++ new/minio-7.1.13/setup.py   2023-01-07 09:22:52.000000000 +0100
@@ -45,7 +45,7 @@
     packages=["minio", "minio.credentials"],
     install_requires=["certifi", "urllib3"],
     tests_require=[],
-    license="Apache License 2.0",
+    license="Apache-2.0",
     classifiers=[
         "Development Status :: 5 - Production/Stable",
         "Intended Audience :: Developers",
@@ -57,6 +57,7 @@
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
         "Topic :: Software Development :: Libraries :: Python Modules",
     ],
     long_description=readme,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/minio-7.1.12/tests/functional/tests.py 
new/minio-7.1.13/tests/functional/tests.py
--- old/minio-7.1.12/tests/functional/tests.py  2022-09-28 09:54:03.000000000 
+0200
+++ new/minio-7.1.13/tests/functional/tests.py  2023-01-07 09:22:52.000000000 
+0100
@@ -1090,7 +1090,7 @@
                 raise ValueError(
                     f"version ID mismatch. "
                     f"expected=any{[version_id1, version_id2]}, "
-                    f"got:{obj.verion_id}"
+                    f"got:{obj.version_id}"
                 )
     finally:
         _CLIENT.remove_object(

Reply via email to