From 891dc4c512297d95a8a3319551b13a6c233315fd Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Tue, 19 Mar 2024 17:32:11 +0900 Subject: [PATCH] Drop Python 3.6, 3.7 support (#45) --- README.md | 3 +-- doc/en/dsqss/install.rst | 3 +-- doc/jp/dsqss/install.rst | 3 +-- tool/dsqss/prob_kernel.py | 3 +-- tool/pyproject.toml | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fbc380c3..70456441 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,10 @@ DSQSS implements the path-integral Monte Carlo method with the directed loop alg - C++ Compiler - CMake >=2.8.12 -- Python >=3.6 +- Python >=3.8 - numpy - scipy - toml - - typing_extensions ### Simple build diff --git a/doc/en/dsqss/install.rst b/doc/en/dsqss/install.rst index 494009a2..d4441825 100644 --- a/doc/en/dsqss/install.rst +++ b/doc/en/dsqss/install.rst @@ -8,12 +8,11 @@ Requirements ******************** - (Optional) MPI (essential for PMWA) -- python 3.6+ +- python 3.8+ - numpy - scipy - toml - - typing_extensions - pip (essential for ``make install``) Download diff --git a/doc/jp/dsqss/install.rst b/doc/jp/dsqss/install.rst index 180238e5..3bd995b4 100644 --- a/doc/jp/dsqss/install.rst +++ b/doc/jp/dsqss/install.rst @@ -9,12 +9,11 @@ DSQSSの使用には以下のプログラム・ライブラリが必要です. - (Optional) MPI (PMWAを使用する場合には必須) -- python 3.6+ +- python 3.8+ - numpy - scipy - toml - - typing_extensions ダウンロード diff --git a/tool/dsqss/prob_kernel.py b/tool/dsqss/prob_kernel.py index 0291a284..48808163 100644 --- a/tool/dsqss/prob_kernel.py +++ b/tool/dsqss/prob_kernel.py @@ -14,8 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from typing import Sequence -from typing_extensions import Protocol +from typing import Sequence, Protocol import numpy as np diff --git a/tool/pyproject.toml b/tool/pyproject.toml index 39a95956..8134fa52 100644 --- a/tool/pyproject.toml +++ b/tool/pyproject.toml @@ -12,12 +12,11 @@ packages = [ ] [tool.poetry.dependencies] -python = "^3.6" +python = "^3.8" # Users should install dependencies by themselves # numpy = "^1.17" # toml = ">= 0.10.0" # scipy = "^1" -# typing-extensions = "^3.7.4" [tool.poetry.dev-dependencies]