summaryrefslogtreecommitdiff
path: root/python-whylabs-client.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-whylabs-client.spec')
-rw-r--r--python-whylabs-client.spec21
1 files changed, 12 insertions, 9 deletions
diff --git a/python-whylabs-client.spec b/python-whylabs-client.spec
index ec7b34f..a35416f 100644
--- a/python-whylabs-client.spec
+++ b/python-whylabs-client.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-whylabs-client
-Version: 0.5.0
+Version: 0.5.1
Release: 1
Summary: WhyLabs API client
License: Apache License 2.0
URL: https://pypi.org/project/whylabs-client/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5b/92/a6520157eb284174f13e8aff243d4a76411cb88f9c6c3fb7fa2e86006e76/whylabs-client-0.5.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a0/f1/0e5e773572de188166994277243456626e31e778fa7b776fc92188f7a0ef/whylabs-client-0.5.1.tar.gz
BuildArch: noarch
Requires: python3-urllib3
@@ -80,6 +80,7 @@ configuration = whylabs_client.Configuration(
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'
+configuration.discard_unknown_keys = True
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
@@ -181,6 +182,7 @@ configuration = whylabs_client.Configuration(
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'
+configuration.discard_unknown_keys = True
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
@@ -279,6 +281,7 @@ configuration = whylabs_client.Configuration(
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'
+configuration.discard_unknown_keys = True
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
@@ -306,7 +309,7 @@ end_timestamp = 1893456000000 # int, none_type | Optional, scope deleting analyz
%prep
-%autosetup -n whylabs-client-0.5.0
+%autosetup -n whylabs-client-0.5.1
%build
%py3_build
@@ -320,20 +323,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -346,5 +349,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1
- Package Spec generated