Skip to content

Commit da09a39

Browse files
authored
Merge pull request #81 from IntelPython/bump-numpy-version-in-conda-package-workflow
Drop Python 3.9 and bump NumPy versions in conda-package workflow
2 parents ff3e603 + d5049d7 commit da09a39

File tree

5 files changed

+64
-36
lines changed

5 files changed

+64
-36
lines changed

.github/workflows/build-with-clang.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
16-
numpy_version: ["numpy'<2'", "numpy'>=2'"]
15+
python: ["3.10", "3.11", "3.12", "3.13"]
16+
numpy_version: ["numpy'>=2'"]
1717
env:
1818
ONEAPI_ROOT: /opt/intel/oneapi
1919

.github/workflows/conda-package-cf.yml

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python: ["3.9", "3.10", "3.11", "3.12"]
22+
include:
23+
- python: "3.10"
24+
numpy: "2.2"
25+
- python: "3.11"
26+
numpy: "2.3"
27+
- python: "3.12"
28+
numpy: "2.3"
29+
- python: "3.13"
30+
numpy: "2.3"
2331
steps:
2432
- uses: actions/checkout@v4
2533
with:
@@ -47,7 +55,7 @@ jobs:
4755
- name: Build conda package
4856
run: |
4957
CHANNELS="-c conda-forge --override-channels"
50-
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
58+
VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }}"
5159
TEST="--no-test"
5260
5361
conda build \
@@ -66,7 +74,15 @@ jobs:
6674

6775
strategy:
6876
matrix:
69-
python: ["3.9", "3.10", "3.11", "3.12"]
77+
include:
78+
- python: "3.10"
79+
numpy: "2.2"
80+
- python: "3.11"
81+
numpy: "2.3"
82+
- python: "3.12"
83+
numpy: "2.3"
84+
- python: "3.13"
85+
numpy: "2.3"
7086
env:
7187
conda-bld: C:\Miniconda\conda-bld\win-64\
7288
steps:
@@ -95,7 +111,7 @@ jobs:
95111
- name: Setup MSVC
96112
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
97113
- name: Build conda package
98-
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
114+
run: conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
99115
- name: Upload artifact
100116
uses: actions/upload-artifact@v4
101117
with:
@@ -104,14 +120,19 @@ jobs:
104120

105121
test_linux:
106122
needs: build_linux
107-
runs-on: ${{ matrix.runner }}
123+
runs-on: ubuntu-latest
108124

109125
strategy:
110126
matrix:
111-
python: ["3.9", "3.10", "3.11", "3.12"]
112-
numpy: ["1.26*", "2*"]
113-
experimental: [false]
114-
runner: [ubuntu-latest]
127+
include:
128+
- python: "3.10"
129+
numpy: "2.2"
130+
- python: "3.11"
131+
numpy: "2.3"
132+
- python: "3.12"
133+
numpy: "2.3"
134+
- python: "3.13"
135+
numpy: "2.3"
115136
continue-on-error: ${{ matrix.experimental }}
116137
env:
117138
CHANNELS: -c conda-forge --override-channels
@@ -172,14 +193,19 @@ jobs:
172193
173194
test_windows:
174195
needs: build_windows
175-
runs-on: ${{ matrix.runner }}
196+
runs-on: windows-latest
176197

177198
strategy:
178199
matrix:
179-
python: ["3.9", "3.10", "3.11", "3.12"]
180-
numpy: ["1.26*", "2*"]
181-
experimental: [false]
182-
runner: [windows-latest]
200+
include:
201+
- python: "3.10"
202+
numpy: "2.2"
203+
- python: "3.11"
204+
numpy: "2.3"
205+
- python: "3.12"
206+
numpy: "2.3"
207+
- python: "3.13"
208+
numpy: "2.3"
183209
continue-on-error: ${{ matrix.experimental }}
184210
env:
185211
CHANNELS: -c conda-forge --override-channels

.github/workflows/conda-package.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python: ["3.9", "3.10", "3.11", "3.12"]
22+
python: ["3.10", "3.11", "3.12", "3.13"]
2323
steps:
2424
- uses: actions/checkout@v4
2525
with:
@@ -66,7 +66,7 @@ jobs:
6666

6767
strategy:
6868
matrix:
69-
python: ["3.9", "3.10", "3.11", "3.12"]
69+
python: ["3.10", "3.11", "3.12", "3.13"]
7070
env:
7171
conda-bld: C:\Miniconda\conda-bld\win-64\
7272
steps:
@@ -108,14 +108,14 @@ jobs:
108108
strategy:
109109
matrix:
110110
include:
111-
- python: '3.9'
112-
numpy: '1.26'
113-
- python: '3.10'
114-
numpy: '2.2'
115-
- python: '3.11'
116-
numpy: '2.2'
117-
- python: '3.12'
118-
numpy: '2.2'
111+
- python: "3.10"
112+
numpy: "2.2"
113+
- python: "3.11"
114+
numpy: "2.3"
115+
- python: "3.12"
116+
numpy: "2.3"
117+
- python: "3.13"
118+
numpy: "2.3"
119119
env:
120120
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
121121

@@ -180,14 +180,14 @@ jobs:
180180
strategy:
181181
matrix:
182182
include:
183-
- python: '3.9'
184-
numpy: '1.26'
185-
- python: '3.10'
186-
numpy: '2.2'
187-
- python: '3.11'
188-
numpy: '2.2'
189-
- python: '3.12'
190-
numpy: '2.2'
183+
- python: "3.10"
184+
numpy: "2.2"
185+
- python: "3.11"
186+
numpy: "2.3"
187+
- python: "3.12"
188+
numpy: "2.3"
189+
- python: "3.13"
190+
numpy: "2.3"
191191
env:
192192
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
193193

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
* Enabled support of Python 3.14 [gh-79](https://github.com/IntelPython/mkl_random/pull/79)
1111

12+
### Removed
13+
* Dropped support for Python 3.9 [gh-81](https://github.com/IntelPython/mkl_random/pull/81)
14+
1215
## [1.3.0] (10/06/2025)
1316

1417
### Changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ classifiers = [
3838
"Programming Language :: C",
3939
"Programming Language :: Python",
4040
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.9",
4241
"Programming Language :: Python :: 3.10",
4342
"Programming Language :: Python :: 3.11",
4443
"Programming Language :: Python :: 3.12",
@@ -60,7 +59,7 @@ keywords = ["MKL", "VSL", "true randomness", "pseudorandomness",
6059
license = "BSD-3-Clause"
6160
name = "mkl_random"
6261
readme = {file = "README.md", content-type = "text/markdown"}
63-
requires-python = ">=3.9,<3.15"
62+
requires-python = ">=3.10,<3.15"
6463

6564
[project.optional-dependencies]
6665
test = ["pytest"]

0 commit comments

Comments
 (0)