From 225897151801df784b7e142443e2c9dc2dfc0255 Mon Sep 17 00:00:00 2001 From: shadow Date: Tue, 1 Oct 2024 17:28:59 +0800 Subject: [PATCH 1/3] Update setup.py --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index eb03084..7212415 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,11 @@ "setuptools<=65.0", "numpy==1.24.4", "kaldi_native_fbank", - "onnxruntime==1.18.0", + "onnxruntime>=1.17.0", "sentencepiece==0.2.0", - "soundfile==0.12.1", + "soundfile>=0.10.2", "huggingface_hub", + "protobuf>=3.19.6" ] } From 03718d6f3589b6c2fa53f9ee6becf1c5596ffae3 Mon Sep 17 00:00:00 2001 From: shadow Date: Tue, 1 Oct 2024 17:33:39 +0800 Subject: [PATCH 2/3] Update setup.py --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 7212415..3c16577 100644 --- a/setup.py +++ b/setup.py @@ -16,11 +16,11 @@ requirements = { "install": [ "setuptools<=65.0", - "numpy==1.24.4", + "numpy>=1.24.4", "kaldi_native_fbank", "onnxruntime>=1.17.0", - "sentencepiece==0.2.0", - "soundfile>=0.10.2", + "sentencepiece>=0.2.0", + "soundfile>=0.12.1", "huggingface_hub", "protobuf>=3.19.6" ] From 5c65fd5889287f1a42a3177bb38893bb35400747 Mon Sep 17 00:00:00 2001 From: Frederic Germain Date: Sun, 5 Oct 2025 17:05:39 +0100 Subject: [PATCH 3/3] update setup.py - update setuptools, PEP 639 license declaration style setuptools 70 mandates PEP 639 - license declaration style License is still clearly described as MIT --- setup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 3c16577..2fb9cc6 100644 --- a/setup.py +++ b/setup.py @@ -11,11 +11,11 @@ from setuptools import find_namespace_packages, setup dirname = Path(os.path.dirname(__file__)) -version = "v1.1.0" +version = "1.1.0" requirements = { "install": [ - "setuptools<=65.0", + "setuptools", "numpy>=1.24.4", "kaldi_native_fbank", "onnxruntime>=1.17.0", @@ -39,7 +39,7 @@ "with onnxruntime", long_description=open(os.path.join(dirname, "README.md"), encoding="utf-8").read(), long_description_content_type="text/markdown", - license="The MIT License", + license="MIT", # SPDX identifier packages=find_namespace_packages(), include_package_data=True, install_requires=install_requires, @@ -55,7 +55,6 @@ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "Operating System :: POSIX :: Linux", - "License :: OSI Approved :: MIT License", "Topic :: Multimedia :: Sound/Audio :: Speech", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules",