tox -e docs fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
It works in master, but fails in stable/kilo.
git checkout stable/kilo
git log --oneline -n1
3182bf7 Merge "Remove hardcoded LDAP group schema from emulated enabled mix-in" into stable/kilo
tox -e docs
[...]
11:02:37 O: updating environment: [extensions changed] 130 added, 0 changed, 11 removed
11:03:14 O: reading sources... [ 0%] apache-httpd
reading sources... [100%] setup
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File "setup.py", line 29, in <module>
11:03:14 E: pbr=True)
11:03:14 E: File "/usr/lib/
11:03:14 E: dist.run_commands()
11:03:14 E: File "/usr/lib/
11:03:14 E: self.run_
11:03:14 E: File "/usr/lib/
11:03:14 E: cmd_obj.run()
11:03:14 E: File "/vagrant/
11:03:14 E: self._sphinx_run()
11:03:14 E: File "/vagrant/
11:03:14 E: app.build(
11:03:14 E: File "/vagrant/
11:03:14 E: self.builder.
11:03:14 E: File "/vagrant/
11:03:14 E: self.build(None, summary='all source files', method='all')
11:03:14 E: File "/vagrant/
11:03:14 E: self.warn(*warning)
11:03:14 E: File "/vagrant/
11:03:14 E: raise SphinxWarning(
11:03:14 E: sphinx.
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File "/vagrant/
11:03:14 E: __import_
11:03:14 E: File "/vagrant/
11:03:14 E: File "/vagrant/
11:03:14 E: File "/vagrant/
11:03:14 E: AttributeError: 'module' object has no attribute 'create_
11:03:14 E:
11:03:14 O: ERROR: InvocationError: '/vagrant/
11:03:14 O: _______
11:03:14 O: ERROR: docs: commands failed
11:03:14 I: Finished with exitcode 1
this file keystone/ federation/ core.py is only available from master (M), you must have some .pyc from master before switching to stable/kilo.
I was able to reproduce the issue reported, and after doing a clean of all .pyc before running "tox -e docs" fixed the issue.