forked from pool/python-minio
Accepting request 964618 from home:pgajdos:python
- version update to 7.1.5 7.1.5 ----- Add AssumeRoleWithCertificate credential provider. by @balamurugana in #1182 7.1.4 ----- docs: fix typo in object_lock config function name by @harshavardhana in #1176 fix progress bar division by zero error by @harshavardhana in #1177 Add policy unset method to minio admin by @federicober in #1180 fix: lint checks and enable MINIO_CI_CD=1 for functional tests by @harshavardhana in #1181 7.1.3 ----- Update set_object_lock_config.py by @anooptp in #1170 fix finding user's home directory in AWSConfigProvider/MinioClientConfigProvider by @nfioraio-ec in #1175 fix EnvAWSProvider/EnvMinioProvider to fetch access/secret keys and session token always from os.environ by @nfioraio-ec in #1174 7.1.2 ----- fix: do not enforce role value for replicationConfig (#1166) (11/24/21) (Harshavardhana) fix: canonical request path if empty choose '/' (#1165) (11/24/21) (Harshavardhana) - do not require python-mock for build OBS-URL: https://build.opensuse.org/request/show/964618 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minio?expand=0&rev=24
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-minio
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 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.1
|
||||
Version: 7.1.5
|
||||
Release: 0
|
||||
Summary: Minio library for Amazon S3 compatible cloud storage
|
||||
License: Apache-2.0
|
||||
@@ -38,7 +38,6 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module Faker}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
@@ -63,6 +62,8 @@ sed -i -e '/configparser/d' setup.py
|
||||
%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}
|
||||
|
Reference in New Issue
Block a user