Skip to content

Commit 8824c3f

Browse files
committed
Again incompatibility Cython 3.1 and gcc<=12 (for pip)
1 parent 2949099 commit 8824c3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

noxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ def _get_modified_env(session):
128128
def test_with_fft_and_pythran(session):
129129
print_times = TimePrinter()
130130

131+
env_modif = _get_modified_env(session)
132+
131133
command = "pdm sync --clean -G dev -G test -G fft -G mpi --no-self"
132-
session.run_install(
133-
*command.split(), external=True, env=_get_modified_env(session)
134-
)
134+
session.run_install(*command.split(), external=True, env=env_modif)
135135

136136
print_times("pdm sync")
137137

@@ -146,7 +146,7 @@ def test_with_fft_and_pythran(session):
146146
if "GITLAB_CI" in os.environ:
147147
short_names.extend(["pfft", "p3dfft"])
148148
for short_name in short_names:
149-
session.install(f"fluidfft-{short_name}")
149+
session.run_install("pip", "install", f"fluidfft-{short_name}", "-v", env=env_modif)
150150

151151
_test(session)
152152

0 commit comments

Comments
 (0)