Bug#1061813: mpi4py fails its autopkg tests with Python 3.12

Matthias Klose doko at debian.org
Mon Jan 29 19:55:07 GMT 2024


Package: src:mpi4py
Version: 3.1.5-4
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails its autopkg 
tests:

[...]
904s autopkgtest [13:46:14]: test command1: 
OMPI_MCA_rmaps_base_oversubscribe=yes mpiexec -n 5 python3 
test/runtests.py --verbose
904s autopkgtest [13:46:14]: test command1: [-----------------------
905s Traceback (most recent call last):
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 299, in <module>
905s     sys.exit(main())
905s              ^^^^^^
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 284, in main
905s     setup_python(options)
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 96, in setup_python
905s     builddir = os.path.join(rootdir, getbuilddir())
905s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
905s   File "<frozen posixpath>", line 90, in join
905s   File "<frozen genericpath>", line 164, in _check_arg_types
905s TypeError: join() argument must be str, bytes, or os.PathLike 
object, not 'NoneType'
905s Traceback (most recent call last):
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 299, in <module>
905s     sys.exit(main())
905s              ^^^^^^
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 284, in main
905s     setup_python(options)
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 96, in setup_python
905s     builddir = os.path.join(rootdir, getbuilddir())
905s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
905s   File "<frozen posixpath>", line 90, in join
905s   File "<frozen genericpath>", line 164, in _check_arg_types
905s TypeError: join() argument must be str, bytes, or os.PathLike 
object, not 'NoneType'
905s Traceback (most recent call last):
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 299, in <module>
905s     sys.exit(main())
905s              ^^^^^^
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 284, in main
905s     setup_python(options)
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 96, in setup_python
905s     builddir = os.path.join(rootdir, getbuilddir())
905s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
905s   File "<frozen posixpath>", line 90, in join
905s   File "<frozen genericpath>", line 164, in _check_arg_types
905s TypeError: join() argument must be str, bytes, or os.PathLike 
object, not 'NoneType'
905s Traceback (most recent call last):
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 299, in <module>
905s     sys.exit(main())
905s              ^^^^^^
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 284, in main
905s     setup_python(options)
905s   File "/tmp/autopkgtest.yXJS7v/build.v5F/src/test/runtests.py", 
line 96, in setup_python
905s     builddir = os.path.join(rootdir, getbuilddir())
905s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
905s   File "<frozen posixpath>", line 90, in join
905s   File "<frozen genericpath>", line 164, in _check_arg_types
905s TypeError: join() argument must be str, bytes, or os.PathLike 
object, not 'NoneType'
905s 
--------------------------------------------------------------------------
905s Primary job  terminated normally, but 1 process returned
905s a non-zero exit code. Per user-direction, the job has been aborted.
905s 
--------------------------------------------------------------------------
905s 
--------------------------------------------------------------------------
905s mpiexec detected that one or more processes exited with non-zero 
status, thus causing
905s the job to be terminated. The first process to do so was:
905s
905s   Process name: [[28935,1],0]
905s   Exit code:    1
905s 
--------------------------------------------------------------------------
905s autopkgtest [13:46:15]: test command1: -----------------------]
905s autopkgtest [13:46:15]: test command1:  - - - - - - - - - - results 
- - - - - - - - - -
905s command1             FAIL non-zero exit status 1



More information about the debian-science-maintainers mailing list