Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump up the lower bound of supported python version (3.6->3.9) #4

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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