diff --git a/.github/workflows/build-with-clang.yml b/.github/workflows/build-with-clang.yml index 5715d24..98c06a3 100644 --- a/.github/workflows/build-with-clang.yml +++ b/.github/workflows/build-with-clang.yml @@ -12,8 +12,8 @@ jobs: strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12", "3.13"] - numpy_version: ["numpy'<2'", "numpy'>=2'"] + python: ["3.10", "3.11", "3.12", "3.13"] + numpy_version: ["numpy'>=2'"] env: ONEAPI_ROOT: /opt/intel/oneapi diff --git a/.github/workflows/conda-package-cf.yml b/.github/workflows/conda-package-cf.yml index 743622b..810873b 100644 --- a/.github/workflows/conda-package-cf.yml +++ b/.github/workflows/conda-package-cf.yml @@ -19,7 +19,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] + include: + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" steps: - uses: actions/checkout@v4 with: @@ -47,7 +55,7 @@ jobs: - name: Build conda package run: | CHANNELS="-c conda-forge --override-channels" - VERSIONS="--python ${{ matrix.python }} --numpy 2.0" + VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }}" TEST="--no-test" conda build \ @@ -66,7 +74,15 @@ jobs: strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] + include: + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" env: conda-bld: C:\Miniconda\conda-bld\win-64\ steps: @@ -95,7 +111,7 @@ jobs: - name: Setup MSVC uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Build conda package - run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf + run: conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf - name: Upload artifact uses: actions/upload-artifact@v4 with: @@ -104,14 +120,19 @@ jobs: test_linux: needs: build_linux - runs-on: ${{ matrix.runner }} + runs-on: ubuntu-latest strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] - numpy: ["1.26*", "2*"] - experimental: [false] - runner: [ubuntu-latest] + include: + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" continue-on-error: ${{ matrix.experimental }} env: CHANNELS: -c conda-forge --override-channels @@ -172,14 +193,19 @@ jobs: test_windows: needs: build_windows - runs-on: ${{ matrix.runner }} + runs-on: windows-latest strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] - numpy: ["1.26*", "2*"] - experimental: [false] - runner: [windows-latest] + include: + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" continue-on-error: ${{ matrix.experimental }} env: CHANNELS: -c conda-forge --override-channels diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 5c237ac..bf570b0 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.10", "3.11", "3.12", "3.13"] env: conda-bld: C:\Miniconda\conda-bld\win-64\ steps: @@ -108,14 +108,14 @@ jobs: strategy: matrix: include: - - python: '3.9' - numpy: '1.26' - - python: '3.10' - numpy: '2.2' - - python: '3.11' - numpy: '2.2' - - python: '3.12' - numpy: '2.2' + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" env: CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels @@ -180,14 +180,14 @@ jobs: strategy: matrix: include: - - python: '3.9' - numpy: '1.26' - - python: '3.10' - numpy: '2.2' - - python: '3.11' - numpy: '2.2' - - python: '3.12' - numpy: '2.2' + - python: "3.10" + numpy: "2.2" + - python: "3.11" + numpy: "2.3" + - python: "3.12" + numpy: "2.3" + - python: "3.13" + numpy: "2.3" env: CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c7af74..0e84b64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added * Enabled support of Python 3.14 [gh-79](https://github.com/IntelPython/mkl_random/pull/79) +### Removed +* Dropped support for Python 3.9 [gh-81](https://github.com/IntelPython/mkl_random/pull/81) + ## [1.3.0] (10/06/2025) ### Changed diff --git a/pyproject.toml b/pyproject.toml index b0a133c..6bd503e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,6 @@ classifiers = [ "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -60,7 +59,7 @@ keywords = ["MKL", "VSL", "true randomness", "pseudorandomness", license = "BSD-3-Clause" name = "mkl_random" readme = {file = "README.md", content-type = "text/markdown"} -requires-python = ">=3.9,<3.15" +requires-python = ">=3.10,<3.15" [project.optional-dependencies] test = ["pytest"]