From d241e8de90ced3e42b8c20279e5b0a0a094a3468 Mon Sep 17 00:00:00 2001 From: Li Jiang Date: Sat, 10 Jan 2026 20:03:24 +0800 Subject: [PATCH] Update readme, enable all python versions for macos tests (#1478) * Fix macOS hang with running coverage * Run coverage only in ubuntu * Fix syntax error * Fix run tests logic * Update readme * Don't test python 3.10 on macos as it's stuck * Enable all python versions for macos --- .github/workflows/python-package.yml | 7 +------ README.md | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0098f5529..23db86892 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -39,13 +39,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.10", "3.11", "3.12"] - exclude: - - os: macos-latest - python-version: "3.10" # macOS runners will hang on python 3.10 for unknown reasons - - os: macos-latest - python-version: "3.12" # macOS runners will hang on python 3.12 for unknown reasons steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/README.md b/README.md index 30a2b1457..8151fc7cd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ FLAML has a .NET implementation in [ML.NET](http://dot.net/ml), an open-source, ## Installation -FLAML requires **Python version >= 3.9**. It can be installed from pip: +The latest version of FLAML requires **Python >= 3.10 and \< 3.13**. While other Python versions may work for core components, full model support is not guaranteed. FLAML can be installed via `pip`: ```bash pip install flaml