Its seems that the latest master restart has introduced a failure in
*many* test-suite bots:
File "/home/buildslave/buildslave/clang-cmake-aarch64-full/test/lnt/lnt/server/ui/decorators.py",
line 6, in <module>
frontend = flask.Module(__name__)
AttributeError: 'module' object has no attribute 'Module'
We’re also seeing this on internal bots.
My first guess is that it was triggered by the Flask package getting updated at Pypi on 29th of May, see https://pypi.python.org/pypi/Flask.
I confirm this is due to the latest Flask — Flask-0.11 was released this weekend — and for some unknown (to me at least) reason, although LNT’s requirements.txt pins Flask to version 0.10.1, pip installs Flask-0.11. Forcing Flask to 0.10.1 gets the situation back to normal.
Reading pip’s documentation makes me think it’s not able to resolve dependencies correctly in our case.
I honestly do not know how to fix that --- I would otherwise I've committed a fix.
I've been able to hack it locally exploiting the very same lit limitation then the one we're stumbling on (i.e it does not resolve dependency correctly and only pick-up the first constraint).
You need to make sure the Flask constraint is seen first, even before using the requirements.txt so on the command line before loading the requirements.txt.
I agree with making LNT work with .11 too - but I'm not familiar with the
part of LNT that has this dependency, so someone else may have to look into
that.