Skip to content

Commit a406ae9

Browse files
committed
Merge branch 'topic/default/fix-get_simple_mpi-methods' into 'branch/default'
Fix get_simple_2d_mpi_method See merge request fluiddyn/fluidfft!65
2 parents 217d050 + edf6fa0 commit a406ae9

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
python-version: 3.x
2828
- name: Build wheels
29-
uses: pypa/cibuildwheel@v2.16.5
29+
uses: pypa/cibuildwheel@v2.19.2
3030
env:
3131
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux*
3232
CIBW_ARCHS: ${{ matrix.architecture }}
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
python-version: 3.x
5151
- name: Build wheels
52-
uses: pypa/cibuildwheel@v2.16.5
52+
uses: pypa/cibuildwheel@v2.19.2
5353
env:
5454
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux*
5555
CIBW_ARCHS: ${{ matrix.architecture }}
@@ -79,7 +79,7 @@ jobs:
7979
python-version: 3.x
8080

8181
- name: Build wheels
82-
uses: pypa/cibuildwheel@v2.16.5
82+
uses: pypa/cibuildwheel@v2.19.2
8383
env:
8484
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux*
8585
CIBW_ARCHS: aarch64
@@ -111,7 +111,7 @@ jobs:
111111
name: sdist
112112
- uses: actions/setup-python@v5
113113
with:
114-
python-version: 3.11
114+
python-version: 3.12
115115
- run: |
116116
pip install pip -U
117117
ls

pdm.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ test = [
7474
"pytest-cov",
7575
"cython", # needed at run time for coverage
7676
# needed to build the plugins
77-
"flit_core",
7877
"pip",
78+
"flit_core",
7979
"-e fluidfft-builder @ file:///${PROJECT_ROOT}/plugins/fluidfft-builder",
8080
]
8181
dev = ["ipython"]
@@ -89,6 +89,7 @@ doc = [
8989
"pandas",
9090
"pyfftw",
9191
# needed to create the dummy modules
92+
"flit_core",
9293
"-e fluidfft-builder @ file:///${PROJECT_ROOT}/plugins/fluidfft-builder",
9394
]
9495
lint = ["black", "pylint"]

src/fluidfft/fft2d/operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_simple_2d_mpi_method():
6060
method = "fft2d.mpi_with_fftwmpi2d"
6161
try:
6262
import_fft_class(method)
63-
except ImportError:
63+
except (ImportError, ValueError):
6464
method = "fft2d.mpi_with_fftw1d"
6565
return method
6666

src/fluidfft/fft3d/operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def get_simple_3d_mpi_method():
121121
method = "fft3d.mpi_with_fftwmpi3d"
122122
try:
123123
import_fft_class(method)
124-
except ImportError:
124+
except (ImportError, ValueError):
125125
method = "fft3d.mpi_with_fftw1d"
126126
return method
127127

0 commit comments

Comments
 (0)