From 47f5946025d5595d0523259f8aba181352e271e5 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Wed, 27 Sep 2023 10:49:29 +0200 Subject: [PATCH] Allow Python 3.8, at the user's risk PyTables does work with Python 3.8 (whose EOL is on 2024-10 according to ), however we are no longer building wheels nor testing ourselves (because of dependency wheel availability issues). Thus do not reject Python 3.8 straight up, and leave building and testing up to users or distributions that want to support it. --- doc/source/usersguide/installation.rst | 2 +- pyproject.toml | 3 ++- setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/usersguide/installation.rst b/doc/source/usersguide/installation.rst index c0247f0fb..645cc97b2 100644 --- a/doc/source/usersguide/installation.rst +++ b/doc/source/usersguide/installation.rst @@ -57,7 +57,7 @@ If you don't, fetch and install them before proceeding. .. Keep entries from NumPy on in sync with ``project.dependencies`` in ``pyproject.toml``. .. Keep system packages in sync with build jobs in `.github/workflows/*.yml`. -* Python_ >= 3.9 +* Python_ >= 3.9 (Python 3.8 may work, but you may need to build/test yourself) * HDF5_ >= 1.10.5 * Cython_ >= 0.29.32 * NumPy_ >= 1.19.0 diff --git a/pyproject.toml b/pyproject.toml index e94dfbe13..671b53764 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ description = "Hierarchical datasets for Python" # Keep Python versions in sync with # `classifiers` below, # `min_python_version` in `setup.py`. -requires-python = ">=3.9" +requires-python = ">=3.8" license = { text = "BSD 3-Clause License" } keywords = [ "hdf5" ] authors = [ @@ -58,6 +58,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/setup.py b/setup.py index 32108c5d6..b79926180 100755 --- a/setup.py +++ b/setup.py @@ -532,7 +532,7 @@ def find_runtime_path(self, locations=None): # The minimum required versions # Keep in sync with ``project.requires-python`` in ``pyproject.toml``. - min_python_version = (3, 9) + min_python_version = (3, 8) # Check for Python if sys.version_info < min_python_version: exit_with_error("You need Python %s or greater to install PyTables!"