From 12f158403c8797d198fe91c85072eced94b2e98e Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 25 Oct 2024 16:53:49 +0900 Subject: [PATCH] Update supported Python versions --- README.md | 4 ++-- docs/source/installation.rst | 2 +- pyproject.toml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79817c59..2c884f55 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Optuna-Integration -[![Python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)](https://www.python.org) +[![Python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org) [![pypi](https://img.shields.io/pypi/v/optuna-integration.svg)](https://pypi.python.org/pypi/optuna-integration) [![conda](https://img.shields.io/conda/vn/conda-forge/optuna-integration.svg)](https://anaconda.org/conda-forge/optuna-integration) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/optuna/optuna-integration) @@ -35,7 +35,7 @@ $ conda install -c conda-forge optuna-integration > ``` > [!NOTE] -> Optuna-Integration supports from Python 3.7 to Python 3.11. +> Optuna-Integration supports from Python 3.8 to Python 3.12. > Optuna Docker image is also provided at [DockerHub](https://hub.docker.com/r/optuna/optuna). ## Integration Modules diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 770d8c7d..f3b6bbb3 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -1,7 +1,7 @@ Installation ============ -Optuna-Integration supports Python 3.7 or newer. +Optuna-Integration supports Python 3.8 or newer. We recommend to install Optuna-Integration via pip: diff --git a/pyproject.toml b/pyproject.toml index 6f4abdd9..fa372395 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,11 +12,11 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics", @@ -25,6 +25,7 @@ classifiers = [ "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] +requires-python = ">=3.8" dependencies = [ "optuna", ]