Skip to content

test failures with python-3.11 #726

@bdubbs

Description

@bdubbs

With Python 3.11.1, the latest stable version, 20 of the boost-1.81.0 regression tests fail. The build procedure used:

./bootstrap.sh --prefix=/usr --with-python=python3 &&
./b2 stage -j4 threading=multi link=shared

Then when running tests:

cd tools/build/test
python3 test_all.py

There are 20 failures like:

core_at_file :FAILED
failure {{{
Could not open '/tmp/tmpb3hkhs8t/on1n2 .txt'
}}}
changes caused by the last build command {{{
Added files : ['on1n2 .txt']
Removed files : []
Modified files: []
Touched files : []
}}}
STDOUT {{{
file: on1n2 .txt
}}}
STDERR {{{
}}}
stacktrace {{{
at line 636 of /build/boost/boost_1_81_0/tools/build/test/BoostBuild.py (fail_test)
from line 590 of /build/boost/boost_1_81_0/tools/build/test/BoostBuild.py (__read)
from line 595 of /build/boost/boost_1_81_0/tools/build/test/BoostBuild.py (read)
from line 775 of /build/boost/boost_1_81_0/tools/build/test/BoostBuild.py (expect_content)
from line 23 of /build/boost/boost_1_81_0/tools/build/test/core_at_file.py ()
from line 241 of (_call_with_frames_removed)
from line 940 of (exec_module)
from line 690 of (_load_unlocked)
from line 1149 of (_find_and_load_unlocked)
from line 1178 of (_find_and_load)
from line 62 of /build/boost/boost_1_81_0/tools/build/test/test_all.py (run_tests)
from line 373 of /build/boost/boost_1_81_0/tools/build/test/test_all.py ()
}}}

With python 3.10 (or python2), all tests pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions