Skip to content

Commit 40c9c75

Browse files
committed
Merge branch 'master' into update-scipy
2 parents 5033291 + d1b16e1 commit 40c9c75

File tree

8 files changed

+27
-29
lines changed

8 files changed

+27
-29
lines changed

.github/workflows/build_pip.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
use-mamba: true
4141
miniforge-version: latest
4242
channels: conda-forge
43+
conda-remove-defaults: true
4344
activate-environment: test
4445
python-version: ${{ matrix.python }}
4546

@@ -57,4 +58,5 @@ jobs:
5758
echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
5859
export MKLROOT=${CONDA_PREFIX}
5960
pip install -e .[test] --no-build-isolation --verbose
61+
pip list
6062
python -m pytest -v mkl_fft/tests

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
VER_SCRIPT2: "print('='.join((d[s] for s in ('version', 'build'))))"
1717

1818
jobs:
19-
build:
19+
build_linux:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
@@ -62,8 +62,8 @@ jobs:
6262
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
6363
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
6464

65-
test:
66-
needs: build
65+
test_linux:
66+
needs: build_linux
6767
runs-on: ${{ matrix.runner }}
6868

6969
strategy:
@@ -139,10 +139,9 @@ jobs:
139139
- uses: conda-incubator/setup-miniconda@v3
140140
with:
141141
miniforge-version: latest
142-
auto-activate-base: true
143142
activate-environment: build
144143
python-version: ${{ matrix.python }}
145-
channels: conda-forge,nodefaults
144+
channels: conda-forge
146145
conda-remove-defaults: 'true'
147146

148147
- name: Install conda-build

.github/workflows/conda-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ env:
1616
VER_SCRIPT2: "print('='.join((d[s] for s in ('version', 'build'))))"
1717

1818
jobs:
19-
build:
19+
build_linux:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python: ['3.9', '3.10']
23+
python: ['3.9', '3.10', '3.11', '3.12']
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:
@@ -62,13 +62,13 @@ jobs:
6262
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
6363
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
6464

65-
test:
66-
needs: build
65+
test_linux:
66+
needs: build_linux
6767
runs-on: ${{ matrix.runner }}
6868

6969
strategy:
7070
matrix:
71-
python: ['3.9', '3.10']
71+
python: ['3.9', '3.10', '3.11', '3.12']
7272
experimental: [false]
7373
runner: [ubuntu-latest]
7474
continue-on-error: ${{ matrix.experimental }}
@@ -130,7 +130,7 @@ jobs:
130130

131131
strategy:
132132
matrix:
133-
python: ['3.9', '3.10']
133+
python: ['3.9', '3.10', '3.11', '3.12']
134134
steps:
135135
- uses: actions/checkout@v4.2.0
136136
with:
@@ -184,7 +184,7 @@ jobs:
184184
shell: cmd /C CALL {0}
185185
strategy:
186186
matrix:
187-
python: ['3.9', '3.10']
187+
python: ['3.9', '3.10', '3.11', '3.12']
188188
experimental: [false]
189189
runner: [windows-2019]
190190
continue-on-error: ${{ matrix.experimental }}

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=================
2-
mkl_fft changelog
2+
:code:`mkl_fft` changelog
33
=================
44

55
1.3.13 (03/25/2025)
@@ -12,7 +12,7 @@ migrate from :code:`setup.py` to :code:`pyproject.toml`
1212
includes support in virtual environment out of the box
1313

1414
the original :code:`mkl_fft.rfft` and :code:`mkl_fft.irfft` are renamed to :code:`mkl_fft.rfftpack` and :code:`mkl_fft.irfftpack`,
15-
since they replicate the behavior from the deprectaed :code:`scipy.fftpack` module.
15+
since they replicate the behavior from the deprecated :code:`scipy.fftpack` module.
1616

1717
:code:`mkl_fft.rfft_numpy`, :code:`mkl_fft.irfft_numpy`, :code:`mkl_fft.rfft2_numpy`, :code:`mkl_fft.irfft2_numpy`,
1818
:code:`mkl_fft.rfftn_numpy`, and :code:`mkl_fft.irfftn_numpy` are renamed to :code:`mkl_fft.rfft`, :code:`mkl_fft.irfft`,

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## ``mkl_fft`` -- a NumPy-based Python interface to Intel (R) MKL FFT functionality
1+
## `mkl_fft` -- a NumPy-based Python interface to Intel (R) MKL FFT functionality
22
[![Conda package](https://github.com/IntelPython/mkl_fft/actions/workflows/conda-package.yml/badge.svg)](https://github.com/IntelPython/mkl_fft/actions/workflows/conda-package.yml)
33
[![Editable build using pip and pre-release NumPy](https://github.com/IntelPython/mkl_fft/actions/workflows/build_pip.yaml/badge.svg)](https://github.com/IntelPython/mkl_fft/actions/workflows/build_pip.yaml)
44
[![Conda package with conda-forge channel only](https://github.com/IntelPython/mkl_fft/actions/workflows/conda-package-cf.yml/badge.svg)](https://github.com/IntelPython/mkl_fft/actions/workflows/conda-package-cf.yml)
@@ -76,11 +76,11 @@ More details can be found in SciPy 2017 conference proceedings:
7676
... and similar `irfft*` functions.
7777

7878

79-
The package also provides `mkl_fft._numpy_fft` and `mkl_fft._scipy_fft` interfaces which provide drop-in replacements for equivalent functions in NumPy and SciPy respectively.
79+
The package also provides `mkl_fft.interfaces.numpy_fft` and `mkl_fft.interfaces.scipy_fft` interfaces which provide drop-in replacements for equivalent functions in NumPy and SciPy respectively.
8080

8181
---
8282

83-
To build ``mkl_fft`` from sources on Linux:
83+
To build `mkl_fft` from sources on Linux:
8484
- install a recent version of MKL, if necessary;
85-
- execute ``source /path_to_oneapi/mkl/latest/env/vars.sh``;
86-
- execute ``python -m pip install .``
85+
- execute `source /path_to_oneapi/mkl/latest/env/vars.sh`;
86+
- execute `python -m pip install .`

conda-recipe-cf/meta.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ requirements:
1818
- {{ compiler('c') }}
1919
host:
2020
- python
21-
- setuptools
21+
- setuptools >=77
2222
- mkl-devel
2323
- cython
2424
- numpy
2525
run:
2626
- python
27-
- mkl
2827
- mkl-service
2928
- numpy
3029

@@ -42,6 +41,6 @@ test:
4241

4342
about:
4443
home: http://github.com/IntelPython/mkl_fft
45-
license: BSD-3
44+
license: BSD-3-Clause
4645
license_file: LICENSE.txt
4746
summary: NumPy-based implementation of Fast Fourier Transform using Intel (R) Math Kernel Library

conda-recipe/meta.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ requirements:
1818
- {{ compiler('c') }}
1919
host:
2020
- python
21-
- setuptools
21+
- setuptools >=77
2222
- mkl-devel
2323
- cython
2424
- numpy-base
2525
run:
2626
- python
27-
- mkl
2827
- mkl-service
2928
- {{ pin_compatible('numpy') }}
3029

@@ -42,6 +41,6 @@ test:
4241

4342
about:
4443
home: http://github.com/IntelPython/mkl_fft
45-
license: BSD-3
44+
license: BSD-3-Clause
4645
license_file: LICENSE.txt
4746
summary: NumPy-based implementation of Fast Fourier Transform using Intel (R) Math Kernel Library

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
[build-system]
2727
build-backend = "setuptools.build_meta"
28-
requires = ["setuptools>=64", "Cython", "numpy", "mkl-devel"]
28+
requires = ["setuptools>=77", "Cython", "numpy", "mkl-devel"]
2929

3030
[project]
3131
authors = [
@@ -35,7 +35,6 @@ classifiers = [
3535
"Development Status :: 5 - Production/Stable",
3636
"Intended Audience :: Science/Research",
3737
"Intended Audience :: Developers",
38-
"License :: OSI Approved",
3938
"Programming Language :: C",
4039
"Programming Language :: Python",
4140
"Programming Language :: Python :: 3",
@@ -50,11 +49,11 @@ classifiers = [
5049
"Operating System :: POSIX",
5150
"Operating System :: Unix"
5251
]
53-
dependencies = ["numpy>=1.26.4", "mkl", "mkl-service"]
52+
dependencies = ["numpy>=1.26.4", "mkl-service"]
5453
description = "MKL-based FFT transforms for NumPy arrays"
5554
dynamic = ["version"]
5655
keywords = ["DFTI", "FFT", "Fourier", "MKL"]
57-
license = {text = "BSD"}
56+
license = "BSD-3-Clause"
5857
name = "mkl_fft"
5958
readme = {file = "README.md", content-type = "text/markdown"}
6059
requires-python = ">=3.9,<3.13"

0 commit comments

Comments
 (0)