From 77e432eee863640f9f0bb369aabf0f94255ce5b6 Mon Sep 17 00:00:00 2001 From: Matsumoto Ruko <38883252+gsq7474741@users.noreply.github.com> Date: Wed, 4 Jan 2023 14:43:20 +0800 Subject: [PATCH] [CodeStyle][py36] update requirements.txt and setup.py.in (#49516) * update requirements.txt and setup.py.in * update requirements.txt setup.py.in setup.py --- python/setup.py.in | 5 ++--- python/unittest_py/requirements.txt | 6 ++---- setup.py | 5 ++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/python/setup.py.in b/python/setup.py.in index d4f9ef9b7c..f3e7b9d8c6 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -811,11 +811,10 @@ with redirect_stdout(): 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: C++', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], ) diff --git a/python/unittest_py/requirements.txt b/python/unittest_py/requirements.txt index c93a45dd07..7b77c1c217 100644 --- a/python/unittest_py/requirements.txt +++ b/python/unittest_py/requirements.txt @@ -1,4 +1,3 @@ -pynacl==1.4.0 ; python_version == "3.6" PyGithub coverage==5.5 pycrypto ; platform_system != "Windows" @@ -9,11 +8,10 @@ hypothesis opencv-python<=4.2.0.32 visualdl paddle2onnx>=0.9.6 -scipy>=1.6; python_version >= "3.7" -scipy>=1.5; python_version == "3.6" +scipy>=1.6 prettytable distro -numpy>=1.20,<1.22; python_version >= "3.7" +numpy>=1.20,<1.22 autograd==1.4 librosa==0.8.1 parameterized diff --git a/setup.py b/setup.py index 092af61401..5dd71fa7eb 100644 --- a/setup.py +++ b/setup.py @@ -1408,11 +1408,10 @@ def main(): 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: C++', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], ) -- GitLab