Closed francesco-ballarin closed 3 months ago
https://github.com/python/cpython/pull/31542 has introduced a -P flag that does not add the current directory to sys.path by default, but the new flag is only available on python >= 3.11.
-P
sys.path
>= 3.11
As soon as dolfinx/dolfinx:nightly moves to python >= 3.11 the new flag could be used as in https://github.com/multiphenics/multiphenicsx/commit/91429d043b3350d184dfe3971f0ad74350bde16b and the current workaround in https://github.com/multiphenics/multiphenicsx/commit/b424642c5475f41fdbefb10e65a77b4889eef271 will be removed.
dolfinx/dolfinx:nightly
python >= 3.11
Didn't work out in https://github.com/multiphenics/multiphenicsx/actions/runs/9206752025/job/25325292435. Closing.
https://github.com/python/cpython/pull/31542 has introduced a
-P
flag that does not add the current directory tosys.path
by default, but the new flag is only available on python>= 3.11
.As soon as
dolfinx/dolfinx:nightly
moves topython >= 3.11
the new flag could be used as in https://github.com/multiphenics/multiphenicsx/commit/91429d043b3350d184dfe3971f0ad74350bde16b and the current workaround in https://github.com/multiphenics/multiphenicsx/commit/b424642c5475f41fdbefb10e65a77b4889eef271 will be removed.