Skip to content

Commit

Permalink
bump up the lower bound of supported python version (3.6->3.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Oct 30, 2024
1 parent b410bca commit 66f2b88
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@ jobs:
main:
strategy:
matrix:
# Python 3.6 is not supported on Ubuntu 22.04
os: ['ubuntu-22.04', 'ubuntu-20.04']
python-version: ['3.6', '3.9', '3.12']
# os: ['ubuntu-22.04']
python-version: ['3.9', '3.12']
sample: [mapper, minsearch, exchange, exchange_mesh, pamc, bayes, transform]
exclude:
- os: 'ubuntu-22.04'
python-version: '3.6'
- os: 'ubuntu-20.04'
python-version: '3.9'
- os: 'ubuntu-20.04'
python-version: '3.12'
fail-fast: false

name: ${{ matrix.sample }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
runs-on: 'ubuntu-22.04'
# runs-on: ${{ matrix.os }}
timeout-minutes: 10

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It also offers a driver script to solve the problem with predefined optimization
### Prerequists

- Required
- python >= 3.6.8
- python >= 3.9
- numpy >= 1.14
- tomli >= 1.2.0
- Optional
Expand Down
4 changes: 2 additions & 2 deletions doc/en/source/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Installation of ODAT-SE

Prerequisites
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Python3 (>=3.6.8)
- Python3 (>=3.9)

- The following Python packages are required.
- tomli >= 1.2
Expand All @@ -13,7 +13,7 @@ Prerequisites

- mpi4py (required for grid search)
- scipy (required for Nelder-Mead method)
- physbo (>=0.3, required for Baysian optimization)
- physbo (>=2.0, required for Baysian optimization)


How to download and install
Expand Down
4 changes: 2 additions & 2 deletions doc/ja/source/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ODAT-SE のインストール

実行環境・必要なパッケージ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- python 3.6.8 以上
- python 3.9 以上

- 必要なpythonパッケージ

Expand All @@ -14,7 +14,7 @@ ODAT-SE のインストール

- mpi4py (グリッド探索利用時)
- scipy (Nelder-Mead法利用時)
- physbo (ベイズ最適化利用時, ver. 0.3以上)
- physbo (ベイズ最適化利用時, ver. 2.0以上)

ダウンロード・インストール
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.6.8"
python = ">=3.9"
numpy = "^1.14"
tomli = ">=1.2"
scipy = {version = "^1", optional = true}
Expand Down

0 comments on commit 66f2b88

Please sign in to comment.