diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d60c11c60fc61..be94b4ed2bdf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,13 +50,13 @@ jobs: run: | if [ -n "$RELEASE_VERSION" ]; then # For production release, we run on five python versions. - echo '::set-output name=matrix::{"include":[{"name":"taichi","python":"3.6","conda_python":"py36"},{"name":"taichi","python":"3.7","conda_python":"py37"},{"name":"taichi","python":"3.8","conda_python":"py38"},{"name":"taichi","python":"3.9","conda_python":"py39"},{"name":"taichi","python":"3.10","conda_python":"py310"}]}"' + echo '::set-output name=matrix::{"include":[{"name":"taichi","python":"3.7","conda_python":"py37"},{"name":"taichi","python":"3.8","conda_python":"py38"},{"name":"taichi","python":"3.9","conda_python":"py39"},{"name":"taichi","python":"3.10","conda_python":"py310"}]}"' # M1 only supports py38, py39, and py310(conda), so change matrix. echo '::set-output name=matrix_osx::{"include":[{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"}]}"' else # For nightly release, we run on three python versions. - echo '::set-output name=matrix::{"include":[{"name":"taichi-nightly","python":"3.6","conda_python":"py36"},{"name":"taichi-nightly","python":"3.7","conda_python":"py37"},{"name":"taichi-nightly","python":"3.8","conda_python":"py38"},{"name":"taichi-nightly","python":"3.9","conda_python":"py39"},{"name":"taichi-nightly","python":"3.10","conda_python":"py310"}]}"' + echo '::set-output name=matrix::{"include":[{"name":"taichi-nightly","python":"3.7","conda_python":"py37"},{"name":"taichi-nightly","python":"3.8","conda_python":"py38"},{"name":"taichi-nightly","python":"3.9","conda_python":"py39"},{"name":"taichi-nightly","python":"3.10","conda_python":"py310"}]}"' # M1 only supports py38 and py310(conda), so change matrix. echo '::set-output name=matrix_osx::{"include":[{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"}]}"' diff --git a/docs/lang/articles/contribution/dev_install.md b/docs/lang/articles/contribution/dev_install.md index 30d62b9e49e66..99cb08aa10bff 100644 --- a/docs/lang/articles/contribution/dev_install.md +++ b/docs/lang/articles/contribution/dev_install.md @@ -47,7 +47,7 @@ Installation instructions vary depending on which operating system (OS) you are | Category | Prerequisites | |:----------------------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | OS | macOS / Ubuntu / Arch Linux / Other Linux distributions | -| Python | 3.6/3.7/3.8/3.9/3.10 We recommend installing Python from [Miniforge](https://github.com/conda-forge/miniforge/#download) conda if you are on a MacBook with M1 chip. | +| Python | 3.7/3.8/3.9/3.10 We recommend installing Python from [Miniforge](https://github.com/conda-forge/miniforge/#download) conda if you are on a MacBook with M1 chip. | | Clang++ | 8≤ Clang++ <12 | | LLVM | 10.0.0 (Taichi customized version) | | Command line tools for Xcode | For macOS users only: `xcode-select --install ` | @@ -59,7 +59,7 @@ Installation instructions vary depending on which operating system (OS) you are | Category | Prerequisites | |:-------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | OS | Windows 7/8/10/11 | -| Python | 3.6/3.7/3.8/3.9/3.10 | +| Python | 3.7/3.8/3.9/3.10 | | Clang++ | 8≤ Clang++ <12 (We provide pre-built versions in the clang section) | | LLVM | 10.0.0 (Taichi customized version) | | Visual Studio | Visual Studio 2019/2022 with "Desktop Development with C++" component. If you want to use Clang++ as the compiler, also install "C++ Clang Compiler for Windows" component | diff --git a/docs/lang/articles/contribution/development_tips.md b/docs/lang/articles/contribution/development_tips.md index c908641fd4ddb..b648056b8128a 100644 --- a/docs/lang/articles/contribution/development_tips.md +++ b/docs/lang/articles/contribution/development_tips.md @@ -14,8 +14,8 @@ which explains the whole compilation process step by step. ## C++ and Python standards -The C++ part of the Taichi compiler is written in C++17, and the Python part in 3.6+. -You can assume that C++17 and Python 3.6 features are always available. +The C++ part of the Taichi compiler is written in C++17, and the Python part in 3.7+. +You can assume that C++17 and Python 3.7 features are always available. ## Efficient code navigation across Python/C++ diff --git a/docs/lang/articles/faqs/faq.md b/docs/lang/articles/faqs/faq.md index 57368aafc0113..79dfb1a3f211c 100755 --- a/docs/lang/articles/faqs/faq.md +++ b/docs/lang/articles/faqs/faq.md @@ -6,7 +6,7 @@ sidebar_position: 1 ### Why does my `pip` complain `package not found` when installing Taichi? -You may have a Python interpreter with an unsupported version. Currently, Taichi only supports Python 3.6/3.7/3.8 (64-bit) . For more information about installation-specific issues, please check [Installation Troubleshooting](./install.md). +You may have a Python interpreter with an unsupported version. Currently, Taichi only supports Python 3.7/3.8/3.9/3.10 (64-bit) . For more information about installation-specific issues, please check [Installation Troubleshooting](./install.md). ### Does Taichi provide built-in constants such as `ti.pi`? diff --git a/docs/lang/articles/faqs/install.md b/docs/lang/articles/faqs/install.md index e0bf661d55fc2..e2b2b614e2d23 100644 --- a/docs/lang/articles/faqs/install.md +++ b/docs/lang/articles/faqs/install.md @@ -35,11 +35,11 @@ sidebar_position: 2 ERROR: No matching distribution found for taichi ``` - - Make sure you're using Python version 3.6/3.7/3.8/3.9/3.10: + - Make sure you're using Python version 3.7/3.8/3.9/3.10: ```bash python3 -c "print(__import__('sys').version[:3])" - # 3.6, 3.7, 3.8, 3.9, or 3.10 + # 3.7, 3.8, 3.9, or 3.10 ``` - Make sure your Python executable is 64-bit: diff --git a/docs/lang/articles/get-started/index.md b/docs/lang/articles/get-started/index.md index bb17cef33b02e..118e982229b4e 100644 --- a/docs/lang/articles/get-started/index.md +++ b/docs/lang/articles/get-started/index.md @@ -19,7 +19,7 @@ For developers who are interested in the compiler, computer graphics, or high-pe ### Python -3.6/3.7/3.8/3.9/3.10 (64-bit) +3.7/3.8/3.9/3.10 (64-bit) :::note