File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
See also the [ unreleased changes] .
4
4
5
+ ## [ 0.4.2] (2024-08-22)
6
+
7
+ - Compatibility mpi4py 4.0
8
+ - Fix check import classes and ` FLUIDFFT_DISABLE_IMPORT_CHECK ` .
9
+
5
10
## [ 0.4.1] (2024-07-24)
6
11
7
12
- Support for Numpy 2.0 and Python 3.12
@@ -114,4 +119,5 @@ See also the [unreleased changes].
114
119
115
120
[ 0.4.0 ] : https://foss.heptapod.net/fluiddyn/fluidfft/-/compare/0.3.5...0.4.0
116
121
[ 0.4.1 ] : https://foss.heptapod.net/fluiddyn/fluidfft/-/compare/0.4.0...0.4.1
117
- [ unreleased changes ] : https://foss.heptapod.net/fluiddyn/fluidfft/-/compare/0.4.1...branch%2Fdefault
122
+ [ 0.4.2 ] : https://foss.heptapod.net/fluiddyn/fluidfft/-/compare/0.4.1...0.4.2
123
+ [ unreleased changes ] : https://foss.heptapod.net/fluiddyn/fluidfft/-/compare/0.4.2...branch%2Fdefault
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = 'mesonpy'
5
5
6
6
[project ]
7
7
name = " fluidfft"
8
- version = " 0.4.1 "
8
+ version = " 0.4.2 "
9
9
description = " Efficient and easy Fast Fourier Transform (FFT) for Python."
10
10
authors = [
11
11
{
name =
" Pierre Augier" ,
email =
" [email protected] " },
Original file line number Diff line number Diff line change @@ -177,6 +177,9 @@ def _check_failure(method):
177
177
if not any (method .endswith (postfix ) for postfix in ("pfft" , "p3dfft" )):
178
178
return False
179
179
180
+ if os .environ .get ("FLUIDFFT_DISABLE_IMPORT_CHECK" ):
181
+ return False
182
+
180
183
# for few methods, try before real import because importing can lead to
181
184
# a fatal error (Illegal instruction)
182
185
if mpi .rank == 0 :
@@ -186,7 +189,11 @@ def _check_failure(method):
186
189
env = {
187
190
key : value
188
191
for key , value in os .environ .items ()
189
- if not ("MPI" in key or key .startswith ("PMI_" ))
192
+ if not (
193
+ "MPI" in key
194
+ or key .startswith ("PMI_" )
195
+ or key .startswith ("PMIX_" )
196
+ )
190
197
}
191
198
else :
192
199
env = os .environ
You can’t perform that action at this time.
0 commit comments