Boost logo

Boost-Build :

Subject: [Boost-build] boost regression tests fail with python-2.7.14
From: Bruce Dubbs (bruce.dubbs_at_[hidden])
Date: 2017-12-22 23:36:02


If I build boost, the regression tests fail for me with python-2.7.14:

cd tools/build/test
python test_all.py
Traceback (most recent call last):
   File "test_all.py", line 9, in <module>
     import BoostBuild
   File "/tmp/boost/boost_1_66_0/tools/build/test/BoostBuild.py", line 8,
in <module>
     import TestCmd
   File "/tmp/boost/boost_1_66_0/tools/build/test/TestCmd.py", line 62, in
<module>
     import shutil
   File "/usr/lib/python2.7/shutil.py", line 16, in <module>
     import zlib
   File "/tmp/boost/boost_1_66_0/tools/build/test/zlib.py", line 11, in
<module>
     t = BoostBuild.Tester(arguments=['toolset=mock',
'--ignore-site-config', '--user-config='], pass_toolset=0)
AttributeError: 'module' object has no attribute 'Tester'

----
If I revert to python-2.7.13, all tests pass.  I do not know enough about 
python to determine if the problem is in boost or python.
I had the same results for boot-1.65.1 and boost-1.66.0.
If it helps, the python release notes are at
https://raw.githubusercontent.com/python/cpython/84471935ed2f62b8c5758fd544c7d37076fe0fa5/Misc/NEWS
   -- Bruce Dubbs

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk