pyexiv2-0.3.0 docs fail to build with sphinx-1.0.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyexiv2 |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
Running Sphinx v1.0.5
loading pickled environment... not yet created
scons: done reading SConscript files.
scons: Building targets ...
build_doc(
scons: *** [doc/_build/
Traceback (most recent call last):
File "/usr/lib/
result = self.execfuncti
File "/var/tmp/
sphinx.
TypeError: build() got an unexpected keyword argument 'all_files'
scons: building terminated because of errors.
sphinx-1.0.5 has:
Sphinx.build(self, force_all=False, filenames=None)
Just removing the "all_files=False" fixes it for me. Patch attached.
Related branches
Changed in pyexiv2: | |
milestone: | none → 0.3.1 |
Changed in pyexiv2: | |
status: | Fix Committed → Fix Released |
The "all_files" parameter (as found in sphinx 0.6.6) was renamed to "force_all" in sphinx 1.0.
Removing the parameter works there because it has a default value of False, but it wouldn’t work for earlier versions that don’t define a default value. However, passing the value without explicitly naming the parameter should work, as the order of the parameters and their meanings remained unchanged.