diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 23:12:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 23:12:50 +0000 |
commit | 30eaddff1f69a0099f731db7bba4acde0b7310ba (patch) | |
tree | 2366e2ef3db2142c27a4801430a467389c31b6ff | |
parent | c0e4736f9dc510f5c9ee249fec1729836c40a861 (diff) |
automatic import of python-mlserver-sklearnopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-mlserver-sklearn.spec | 93 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 11 insertions, 85 deletions
@@ -1 +1,2 @@ /mlserver-sklearn-1.3.2.tar.gz +/mlserver-sklearn-1.3.3.tar.gz diff --git a/python-mlserver-sklearn.spec b/python-mlserver-sklearn.spec index 374cdaf..5c0324e 100644 --- a/python-mlserver-sklearn.spec +++ b/python-mlserver-sklearn.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-mlserver-sklearn -Version: 1.3.2 +Version: 1.3.3 Release: 1 Summary: Scikit-Learn runtime for MLServer License: Apache 2.0 URL: https://github.com/SeldonIO/MLServer.git -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/3e/692e40456af3334c1ee6d0e37db64a4baeb0418d49d0172a85ec6b25df82/mlserver-sklearn-1.3.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/ad/15/4b939e94754346426e4981213a91ef9e4001e73c700bb20e4e671f5a1ad9/mlserver-sklearn-1.3.3.tar.gz BuildArch: noarch Requires: python3-mlserver @@ -13,31 +13,6 @@ Requires: python3-scikit-learn Requires: python3-joblib %description -# Scikit-Learn runtime for MLServer - -This package provides a MLServer runtime compatible with Scikit-Learn. - -## Usage - -You can install the runtime, alongside `mlserver`, as: - -```bash -pip install mlserver mlserver-sklearn -``` - -For further information on how to use MLServer with Scikit-Learn, you can check -out this [worked out example](../../docs/examples/sklearn/README.md). - -## Content Types - -If no [content type](../../docs/user-guide/content-type) is present on the -request or metadata, the Scikit-Learn runtime will try to decode the payload as -a [NumPy Array](../../docs/user-guide/content-type). -To avoid this, either send a different content type explicitly, or define the -correct one as part of your [model's -metadata](../../docs/reference/model-settings). - - %package -n python3-mlserver-sklearn @@ -47,66 +22,16 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-mlserver-sklearn -# Scikit-Learn runtime for MLServer - -This package provides a MLServer runtime compatible with Scikit-Learn. - -## Usage - -You can install the runtime, alongside `mlserver`, as: - -```bash -pip install mlserver mlserver-sklearn -``` - -For further information on how to use MLServer with Scikit-Learn, you can check -out this [worked out example](../../docs/examples/sklearn/README.md). - -## Content Types - -If no [content type](../../docs/user-guide/content-type) is present on the -request or metadata, the Scikit-Learn runtime will try to decode the payload as -a [NumPy Array](../../docs/user-guide/content-type). -To avoid this, either send a different content type explicitly, or define the -correct one as part of your [model's -metadata](../../docs/reference/model-settings). - - %package help Summary: Development documents and examples for mlserver-sklearn Provides: python3-mlserver-sklearn-doc %description help -# Scikit-Learn runtime for MLServer - -This package provides a MLServer runtime compatible with Scikit-Learn. - -## Usage - -You can install the runtime, alongside `mlserver`, as: - -```bash -pip install mlserver mlserver-sklearn -``` - -For further information on how to use MLServer with Scikit-Learn, you can check -out this [worked out example](../../docs/examples/sklearn/README.md). - -## Content Types - -If no [content type](../../docs/user-guide/content-type) is present on the -request or metadata, the Scikit-Learn runtime will try to decode the payload as -a [NumPy Array](../../docs/user-guide/content-type). -To avoid this, either send a different content type explicitly, or define the -correct one as part of your [model's -metadata](../../docs/reference/model-settings). - - %prep -%autosetup -n mlserver-sklearn-1.3.2 +%autosetup -n mlserver-sklearn-1.3.3 %build %py3_build @@ -120,20 +45,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 . @@ -146,5 +71,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.2-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.3-1 - Package Spec generated @@ -1 +1 @@ -8ed0c0a96cc18fbecf061d86db08afb7 mlserver-sklearn-1.3.2.tar.gz +8976174d5268b76690480ed1cde91064 mlserver-sklearn-1.3.3.tar.gz |