From c72c231cb6a59e5116044934aa8490a210e9380f Mon Sep 17 00:00:00 2001 From: hieuddo Date: Fri, 22 May 2026 01:09:35 +0800 Subject: [PATCH] remove python 3.9, add 3.14 --- .github/workflows/python-package.yml | 11 +---------- .github/workflows/python-publish.yml | 11 +---------- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d8898888e..d2c399d92 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-22.04, macos-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] env: LIMIT_NUMPY_VERSION: 2.0.0 steps: @@ -28,20 +28,11 @@ jobs: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - if: ${{ (matrix.os != 'macos-latest') || ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} uses: actions/setup-python@v5 id: pysetup with: python-version: ${{ matrix.python-version }} cache: 'pip' - - - name: Setup Python 3.9 - macos-arm - if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }} - run: | - brew update - brew install python@${{ matrix.python-version }} - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - python${{ matrix.python-version }} get-pip.py - name: Create Python alias for Windows if: matrix.os == 'windows-latest' diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5c36e426c..2644eb0f2 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,26 +23,17 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-22.04, macos-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - if: ${{ (matrix.os != 'macos-latest') || ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} uses: actions/setup-python@v5 id: pysetup with: python-version: ${{ matrix.python-version }} cache: 'pip' - - name: Setup Python 3.9 - macos-arm - if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }} - run: | - brew update - brew install python@${{ matrix.python-version }} - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - python${{ matrix.python-version }} get-pip.py - - name: Create Python alias for Windows if: matrix.os == 'windows-latest' run: | diff --git a/pyproject.toml b/pyproject.toml index 65afea5ae..71dfe7839 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ dependencies = [ "tqdm", "powerlaw" ] -requires-python = ">=3.9" +requires-python = ">=3.10" license = { file = "LICENSE" } keywords = [ "recommender system", @@ -34,11 +34,11 @@ classifiers = [ "Intended Audience :: Education", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: Apache Software License", "Topic :: Software Development", "Topic :: Scientific/Engineering",