Skip to content

Commit

Permalink
drop python 3.6, 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Mar 22, 2024
1 parent aa6d6d8 commit 5800e02
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 19 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04"]
python-version: ["3.6", "3.12"]
exclude:
- os: "ubuntu-22.04"
python-version: "3.6"
python-version: ["3.8", "3.12"]
fail-fast: false

steps:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,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 (if Python < 3.8)

### Simple build

Expand Down
3 changes: 1 addition & 2 deletions doc/en/dsqss/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ Requirements
********************

- (Optional) MPI (essential for PMWA)
- python 3.6+
- python 3.8+

- numpy
- scipy
- toml
- typing_extensions (if python 3.6 or 3.7 is used)

Download
********************
Expand Down
3 changes: 1 addition & 2 deletions doc/jp/dsqss/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
DSQSSの使用には以下のプログラム・ライブラリが必要です.

- (Optional) MPI (PMWAを使用する場合には必須)
- python 3.6+
- python 3.8+

- numpy
- scipy
- toml
- typing_extensions (Python 3.6, 3.7 の場合)


ダウンロード
Expand Down
8 changes: 1 addition & 7 deletions tool/dsqss/prob_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from typing import Sequence

import sys
if sys.version_info >= (3, 8):
from typing import Protocol
else:
from typing_extensions import Protocol
from typing import Sequence, Protocol

import numpy as np

Expand Down
3 changes: 1 addition & 2 deletions tool/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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_extension for python<3.8

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 5800e02

Please sign in to comment.