From be89011cba269304f37dadf4775705fb59a1a89c Mon Sep 17 00:00:00 2001 From: Chengmin Chi Date: Thu, 13 Aug 2020 17:12:41 +0800 Subject: [PATCH] Update python version requirements to 3.6 --- README.md | 2 +- docs/en_US/SupportedFramework_Library.md | 2 +- docs/en_US/Tutorial/InstallationLinux.md | 4 ++-- docs/en_US/Tutorial/InstallationWin.md | 2 +- docs/en_US/Tutorial/QuickStart.md | 2 +- docs/en_US/_templates/index.html | 2 +- examples/tuners/customized_tuner/setup.py | 2 +- setup.py | 2 +- src/sdk/pycli/setup.py | 2 +- src/sdk/pynni/setup.py | 2 +- tools/README.md | 2 +- tools/setup.py | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 912d412314..0fb8d273ae 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ Within the following table, we summarized the current NNI capabilities, we are g ### **Install** -NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, and Windows 10 >= 1809. Simply run the following `pip install` in an environment that has `python 64-bit >= 3.5`. +NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, and Windows 10 >= 1809. Simply run the following `pip install` in an environment that has `python 64-bit >= 3.6`. Linux or macOS diff --git a/docs/en_US/SupportedFramework_Library.md b/docs/en_US/SupportedFramework_Library.md index 10a124f603..3ff13351b7 100644 --- a/docs/en_US/SupportedFramework_Library.md +++ b/docs/en_US/SupportedFramework_Library.md @@ -1,5 +1,5 @@ # Framework and Library Supports -With the built-in Python API, NNI naturally supports the hyper parameter tuning and neural network search for all the AI frameworks and libraries who support Python models(`version >= 3.5`). NNI had also provided a set of examples and tutorials for some of the popular scenarios to make jump start easier. +With the built-in Python API, NNI naturally supports the hyper parameter tuning and neural network search for all the AI frameworks and libraries who support Python models(`version >= 3.6`). NNI had also provided a set of examples and tutorials for some of the popular scenarios to make jump start easier. ## Supported AI Frameworks diff --git a/docs/en_US/Tutorial/InstallationLinux.md b/docs/en_US/Tutorial/InstallationLinux.md index 6e11fd7fac..f531987837 100644 --- a/docs/en_US/Tutorial/InstallationLinux.md +++ b/docs/en_US/Tutorial/InstallationLinux.md @@ -6,7 +6,7 @@ Installation on Linux and macOS follow the same instructions, given below. ### Install NNI through pip - Prerequisite: `python 64-bit >= 3.5` + Prerequisite: `python 64-bit >= 3.6` ```bash python3 -m pip install --upgrade nni @@ -16,7 +16,7 @@ Installation on Linux and macOS follow the same instructions, given below. If you are interested in special or the latest code versions, you can install NNI through source code. - Prerequisites: `python 64-bit >=3.5`, `git`, `wget` + Prerequisites: `python 64-bit >=3.6`, `git`, `wget` ```bash git clone -b v1.7 https://github.com/Microsoft/nni.git diff --git a/docs/en_US/Tutorial/InstallationWin.md b/docs/en_US/Tutorial/InstallationWin.md index 6430a6739e..3e8fc1063c 100644 --- a/docs/en_US/Tutorial/InstallationWin.md +++ b/docs/en_US/Tutorial/InstallationWin.md @@ -2,7 +2,7 @@ ## Prerequires -* Python 3.5 (or above) 64-bit. [Anaconda](https://www.anaconda.com/products/individual) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) is highly recommended to manage multiple Python environments on Windows. +* Python 3.6 (or above) 64-bit. [Anaconda](https://www.anaconda.com/products/individual) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) is highly recommended to manage multiple Python environments on Windows. * If it's a newly installed Python environment, it needs to install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) to support build NNI dependencies like `scikit-learn`. diff --git a/docs/en_US/Tutorial/QuickStart.md b/docs/en_US/Tutorial/QuickStart.md index 5b8e2f50be..982d3a5826 100644 --- a/docs/en_US/Tutorial/QuickStart.md +++ b/docs/en_US/Tutorial/QuickStart.md @@ -2,7 +2,7 @@ ## Installation -We currently support Linux, macOS, and Windows. Ubuntu 16.04 or higher, macOS 10.14.1, and Windows 10.1809 are tested and supported. Simply run the following `pip install` in an environment that has `python >= 3.5`. +We currently support Linux, macOS, and Windows. Ubuntu 16.04 or higher, macOS 10.14.1, and Windows 10.1809 are tested and supported. Simply run the following `pip install` in an environment that has `python >= 3.6`. ### Linux and macOS diff --git a/docs/en_US/_templates/index.html b/docs/en_US/_templates/index.html index c4f8209309..fd4c650bb7 100644 --- a/docs/en_US/_templates/index.html +++ b/docs/en_US/_templates/index.html @@ -237,7 +237,7 @@

Install

NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, and Windows 10 >= 1809. Simply run the following `pip install` - in an environment that has `python 64-bit >= 3.5`. + in an environment that has `python 64-bit >= 3.6`.

Linux or macOS
python3 -m pip install --upgrade nni
diff --git a/examples/tuners/customized_tuner/setup.py b/examples/tuners/customized_tuner/setup.py index 5a831c7688..9dcd16c76e 100644 --- a/examples/tuners/customized_tuner/setup.py +++ b/examples/tuners/customized_tuner/setup.py @@ -8,7 +8,7 @@ version = '0.1', packages = setuptools.find_packages(exclude=['*test*']), - python_requires = '>=3.5', + python_requires = '>=3.6', classifiers = [ 'Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License', diff --git a/setup.py b/setup.py index fc86bbc954..ac684706e6 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def read(fname): 'nni_gpu_tool':'tools/nni_gpu_tool' }, package_data = {'nni': ['**/requirements.txt']}, - python_requires = '>=3.5', + python_requires = '>=3.6', install_requires = [ 'astor', 'hyperopt==0.1.2', diff --git a/src/sdk/pycli/setup.py b/src/sdk/pycli/setup.py index 15fcee5d0d..4d6492ed67 100644 --- a/src/sdk/pycli/setup.py +++ b/src/sdk/pycli/setup.py @@ -8,7 +8,7 @@ version='999.0.0-developing', packages=setuptools.find_packages(), - python_requires='>=3.5', + python_requires='>=3.6', install_requires=[ 'requests' ], diff --git a/src/sdk/pynni/setup.py b/src/sdk/pynni/setup.py index 4e006a9014..ba6d0d74e8 100644 --- a/src/sdk/pynni/setup.py +++ b/src/sdk/pynni/setup.py @@ -12,7 +12,7 @@ def read(fname): version = '999.0.0-developing', packages = setuptools.find_packages(exclude=['tests']), - python_requires = '>=3.5', + python_requires = '>=3.6', install_requires = [ 'hyperopt==0.1.2', 'json_tricks', diff --git a/tools/README.md b/tools/README.md index 5fc3e7db7b..c1937f9736 100644 --- a/tools/README.md +++ b/tools/README.md @@ -4,7 +4,7 @@ The NNI CTL module is used to control Neural Network Intelligence, including sta ``` Ubuntu 16.04 or other Linux OS -python >= 3.5 +python >= 3.6 ``` ## Installation diff --git a/tools/setup.py b/tools/setup.py index 48d6923dca..84f681ec2d 100644 --- a/tools/setup.py +++ b/tools/setup.py @@ -8,7 +8,7 @@ version = '999.0.0-developing', packages = setuptools.find_packages(exclude=['*test*']), - python_requires = '>=3.5', + python_requires = '>=3.6', install_requires = [ 'requests', 'ruamel.yaml',