From 480bb163a08c6386031015545406e9c2cf6fa69fb752a10bd45cc27c94f8351b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 1 Sep 2023 05:39:36 +0000 Subject: [PATCH] - Update to 7.1.16: * Update deprecated mc admin policy commands * update release references to master in README.md * Fix upload snowball objects with staging file * Add generic AWS S3 domain support * upload_snowball_object(): seek stream to 0 before upload * Revert "list_objecst: fix parsing user metadata as per MinIO server (#1240)" * Disable multipart upload for upload_snowball_objects() api. * Remove locale usage for datetime parsing * fix policy as a string in presigned_post_policy() API * Add cert_check flag to main class constructor - Switch to pyproject and autosetup macros. - Stop using greedy globs in %files. - Clean up unneeded {Build,}Requires. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minio?expand=0&rev=36 --- minio-7.1.14.tar.gz | 3 --- minio-7.1.16.tar.gz | 3 +++ python-minio.changes | 19 +++++++++++++++++++ python-minio.spec | 25 ++++++++----------------- 4 files changed, 30 insertions(+), 20 deletions(-) delete mode 100644 minio-7.1.14.tar.gz create mode 100644 minio-7.1.16.tar.gz diff --git a/minio-7.1.14.tar.gz b/minio-7.1.14.tar.gz deleted file mode 100644 index 25a955d..0000000 --- a/minio-7.1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:230faf1d0db1c3ce09aef86b0eb38e994a64769e34dad4b77febf59bc90d8ab0 -size 117073 diff --git a/minio-7.1.16.tar.gz b/minio-7.1.16.tar.gz new file mode 100644 index 0000000..1cdb11e --- /dev/null +++ b/minio-7.1.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56ecb1e7e0103d2dc212fb460fdb70ab2abb7fa5685db378429325d96d95587a +size 120101 diff --git a/python-minio.changes b/python-minio.changes index 39b0327..6df6851 100644 --- a/python-minio.changes +++ b/python-minio.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Sep 1 05:39:18 UTC 2023 - Steve Kowalik + +- Update to 7.1.16: + * Update deprecated mc admin policy commands + * update release references to master in README.md + * Fix upload snowball objects with staging file + * Add generic AWS S3 domain support + * upload_snowball_object(): seek stream to 0 before upload + * Revert "list_objecst: fix parsing user metadata as per + MinIO server (#1240)" + * Disable multipart upload for upload_snowball_objects() api. + * Remove locale usage for datetime parsing + * fix policy as a string in presigned_post_policy() API + * Add cert_check flag to main class constructor +- Switch to pyproject and autosetup macros. +- Stop using greedy globs in %files. +- Clean up unneeded {Build,}Requires. + ------------------------------------------------------------------- Sun Mar 26 19:18:41 UTC 2023 - Dirk Müller diff --git a/python-minio.spec b/python-minio.spec index f0a9279..19dd458 100644 --- a/python-minio.spec +++ b/python-minio.spec @@ -16,31 +16,24 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-minio -Version: 7.1.14 +Version: 7.1.16 Release: 0 Summary: Minio library for Amazon S3 compatible cloud storage License: Apache-2.0 URL: https://github.com/minio/minio-py Source: https://files.pythonhosted.org/packages/source/m/minio/minio-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-certifi -Requires: python-future -Requires: python-python-dateutil -Requires: python-pytz Requires: python-urllib3 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Faker} BuildRequires: %{python_module certifi} -BuildRequires: %{python_module future} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-dateutil} -BuildRequires: %{python_module pytz} BuildRequires: %{python_module urllib3} # /SECTION %python_subpackages @@ -49,26 +42,24 @@ BuildRequires: %{python_module urllib3} Minio library for Amazon S3 compatible cloud storage. %prep -%setup -q -n minio-%{version} -%autopatch -p1 +%autosetup -p1 -n minio-%{version} mv docs/zh_CN/API.md docs/API_zh_CN.md sed -i -e '/configparser/d' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# https://github.com/minio/minio-py/issues/1187 -sed -i 's:import mock:import unittest.mock as mock:' tests/unit/*.py %pytest %files %{python_files} %doc README*.md docs/API*.md examples/ %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/minio +%{python_sitelib}/minio-%{version}.dist-info %changelog