Skip to content

Commit

Permalink
Drop a support of python 3.7/3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Nov 5, 2024
1 parent 16e5aca commit f33910b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Test_abICS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.12']
testname: [Unit, Sampling, ActiveLearn]
fail-fast: false

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and OpenMX input files for obtaining the reference training data for the machine

## Requirement

- python3 (>=3.7)
- python3 (>=3.9)
- numpy
- scipy
- toml (for parsing input files)
Expand All @@ -25,7 +25,7 @@ Pymatgen requires Cython but Cython will not be installed automatically,
please make sure that this is installed,

``` bash
$ pip3 install Cython
$ python3 -m pip install Cython
```

mpi4py requires one of the MPI implementations such as OpenMPI,
Expand All @@ -39,7 +39,7 @@ $ brew install open-mpi
After installing Cython and MPI,

``` bash
$ pip3 install abics
$ python3 -m pip install abics
```

will install abICS and dependencies.
Expand All @@ -48,10 +48,10 @@ If you want to change the directory where abICS is installed,
add `--user` option or `--prefix=DIRECTORY` option to the above command as

``` bash
$ pip3 install --user abics
$ python3 -m pip install --user abics
```

For details of `pip` , see the manual of `pip` by `pip3 help install`
For details of `pip` , see the manual of `pip` by `python3 -m pip help install`

If you want to install abICS from source, see [wiki page](https://github.com/issp-center-dev/abICS/wiki/Install)

Expand Down Expand Up @@ -93,6 +93,6 @@ Shusuke Kasamatsu, Yuichi Motoyama, Tatsumi Aoyama, Kazuyoshi Yoshimi

[English online manual](https://issp-center-dev.github.io/abICS/docs/master/en/html/index.html)

[Japnese online manual](https://issp-center-dev.github.io/abICS/docs/master/ja/html/index.html)
[Japanese online manual](https://issp-center-dev.github.io/abICS/docs/master/ja/html/index.html)

[API reference](https://issp-center-dev.github.io/abICS/docs/api/master/html/index.html)
2 changes: 1 addition & 1 deletion docs/sphinx/en/source/install/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Prerequisites
~~~~~~~~~~~~~~~~~~~~~~

abICS requires Python3 (>=3.7).
abICS requires Python3 (>=3.9).

The following Python packages are required.

Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/ja/source/install/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
必要なライブラリ・環境
~~~~~~~~~~~~~~~~~~~~~~

abICS をインストール・実行するには、 バージョン3.7 以上の Python が必要です。
abICS をインストール・実行するには、 バージョン3.9 以上の Python が必要です。
また、以下の Python パッケージが必要です。

- numpy
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.9"
numpy = "^1.20"
toml = ">=0.10"
scipy = "^1"
mpi4py = "^3"
pymatgen = ">=2019.12.3 <2023.5.8"
qe_tools = "^1.1"
"ruamel.yaml" = { version = "<0.18.0", python = "<3.8" }

[tool.poetry.extras]

Expand Down

0 comments on commit f33910b

Please sign in to comment.