Skip to content

Commit d676368

Browse files
committed
add python 3.13
1 parent 5dc2185 commit d676368

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

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

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python: ['3.9', '3.10', '3.11', '3.12']
23+
include:
24+
- python: '3.9'
25+
numpy: '2.0'
26+
- python: '3.10'
27+
numpy: '2.0'
28+
- python: '3.11'
29+
numpy: '2.2'
30+
- python: '3.12'
31+
numpy: '2.3'
32+
- python: '3.13'
33+
numpy: '2.3'
2434
steps:
2535
- name: Cancel Previous Runs
2636
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -53,10 +63,10 @@ jobs:
5363
- name: Install conda-build
5464
run: conda install conda-build python=3.12
5565

56-
- name: Build conda package with NumPy 2.0
66+
- name: Build conda package
5767
run: |
5868
CHANNELS="-c conda-forge --override-channels"
59-
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
69+
VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }}"
6070
TEST="--no-test"
6171
6272
conda build \
@@ -77,8 +87,8 @@ jobs:
7787

7888
strategy:
7989
matrix:
80-
python_ver: ['3.9', '3.10', '3.11', '3.12']
81-
numpy: ['numpy"<2"', 'numpy">=2"']
90+
python_ver: ['3.9', '3.10', '3.11', '3.12', '3.13']
91+
numpy: ['numpy">=2"']
8292
experimental: [false]
8393
runner: [ubuntu-latest]
8494
continue-on-error: ${{ matrix.experimental }}
@@ -147,7 +157,7 @@ jobs:
147157

148158
strategy:
149159
matrix:
150-
python: ['3.9', '3.10', '3.11', '3.12']
160+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
151161
steps:
152162
- name: Cancel Previous Runs
153163
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -184,10 +194,10 @@ jobs:
184194
- name: Setup MSVC
185195
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
186196

187-
- name: Build conda package with NumPy 2.0
197+
- name: Build conda package
188198
run: |
189199
conda activate
190-
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
200+
conda build --no-test --python ${{ matrix.python }} --numpy 2.* -c conda-forge --override-channels conda-recipe-cf
191201
192202
- name: Store conda paths as envs
193203
shell: bash -l {0}
@@ -209,8 +219,8 @@ jobs:
209219

210220
strategy:
211221
matrix:
212-
python_ver: ['3.9', '3.10', '3.11', '3.12']
213-
numpy: ['numpy"<2"', 'numpy">=2"']
222+
python_ver: ['3.9', '3.10', '3.11', '3.12', '3.13']
223+
numpy: ['numpy">=2"']
214224
experimental: [false]
215225
runner: [windows-latest]
216226
continue-on-error: ${{ matrix.experimental }}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ classifiers = [
4242
"Programming Language :: Python :: 3.10",
4343
"Programming Language :: Python :: 3.11",
4444
"Programming Language :: Python :: 3.12",
45+
"Programming Language :: Python :: 3.13",
4546
"Programming Language :: Python :: Implementation :: CPython",
4647
"Topic :: Software Development",
4748
"Topic :: Scientific/Engineering",
@@ -56,7 +57,7 @@ keywords = ["DFTI", "FFT", "Fourier", "MKL"]
5657
license = "BSD-3-Clause"
5758
name = "mkl_fft"
5859
readme = {file = "README.md", content-type = "text/markdown"}
59-
requires-python = ">=3.9,<3.13"
60+
requires-python = ">=3.9,<3.14"
6061

6162
[project.optional-dependencies]
6263
scipy_interface = ["scipy>=1.10"]

0 commit comments

Comments
 (0)