Skip to content
Open
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
31 changes: 15 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ jobs:
PACKAGER: "conda"
INSTALL_OPENCV: "true"
# Windows env with numpy, scipy installed through pip
- name: py310_pip
- name: py311_pip
os: windows-latest
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"
PACKAGER: "pip"
INSTALL_OPENCV: "true"

# MacOS env with OpenMP installed through homebrew
- name: py310_conda_homebrew_libomp
- name: py311_conda_homebrew_libomp
os: macos-latest
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"
PACKAGER: "conda"
BLAS: "openblas"
CC_OUTER_LOOP: "clang"
Expand All @@ -106,20 +106,19 @@ jobs:
INSTALL_BLAS: "flexiblas"
PLATFORM_SPECIFIC_PACKAGES: "llvm-openmp"

# Linux environments to test that packages that comes with Ubuntu 22.04
# are correctly handled.
- name: py310_ubuntu_atlas_gcc_gcc
os: ubuntu-22.04
PYTHON_VERSION: "3.10"
# Test distro-provided SciPy and BLAS with Ubuntu 24.04's system Python.
- name: py312_ubuntu_atlas_gcc_gcc
os: ubuntu-24.04
PYTHON_VERSION: "3.12"
PACKAGER: "ubuntu"
APT_BLAS: "libatlas3-base libatlas-base-dev"
CC_OUTER_LOOP: "gcc"
CC_INNER_LOOP: "gcc"
- name: py310_ubuntu_openblas_gcc_gcc
os: ubuntu-22.04
PYTHON_VERSION: "3.10"
- name: py312_ubuntu_openblas_gcc_gcc
os: ubuntu-24.04
PYTHON_VERSION: "3.12"
PACKAGER: "ubuntu"
APT_BLAS: "libopenblas-base libopenblas-dev"
APT_BLAS: "libopenblas0-pthread libopenblas-dev"
CC_OUTER_LOOP: "gcc"
CC_INNER_LOOP: "gcc"

Expand All @@ -132,11 +131,11 @@ jobs:
CC_INNER_LOOP: "gcc"
INSTALL_OPENCV: "true"

# Linux + Python 3.10 and homogeneous runtime nesting.
- name: py310_conda_openblas_clang_clang
# Linux + Python 3.11 and homogeneous runtime nesting.
- name: py311_conda_openblas_clang_clang
os: ubuntu-latest
PACKAGER: "conda"
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"
BLAS: "openblas"
CC_OUTER_LOOP: "clang-18"
CC_INNER_LOOP: "clang-18"
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
3.9.0 (under development)
=========================

- Python 3.11 is now the minimum supported Python version.
https://github.com/joblib/threadpoolctl/issues/295

3.8.0 (2026-11-05)
==================

Expand Down
5 changes: 1 addition & 4 deletions continuous_integration/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,9 @@ elif [[ "$PACKAGER" == "pip-dev" ]]; then
pip install --pre --upgrade --timeout=60 --extra-index $dev_anaconda_url numpy scipy

elif [[ "$PACKAGER" == "ubuntu" ]]; then
# Remove the ubuntu toolchain PPA that seems to be invalid:
# https://github.com/scikit-learn/scikit-learn/pull/13934
sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install python3-scipy python3-virtualenv $APT_BLAS
python3 -m virtualenv --system-site-packages --python=python3 testenv
/usr/bin/python3 -m virtualenv --system-site-packages testenv
source testenv/bin/activate

elif [[ "$INSTALL_BLAS" == "blis" ]]; then
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ build-backend = "flit_core.buildapi"
name = "threadpoolctl"
authors = [{name = "Thomas Moreau", email = "thomas.moreau.2010@gmail.com"}]
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
license = "BSD-3-Clause"
dynamic = ["version", "description"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down
Loading