[Python-modules-team] Bug#877014: python3-sphinx exception building breathe

2017-10-04 Thread Dmitry Shachnev
Control: severity -1 normal
Control: retitle -1 breathe: python3-sphinx warning building breathe

On Wed, Sep 27, 2017 at 11:21:58PM +0300, Dmitry Shachnev wrote:
> However in my opinion the real issue here is in breathe, and it should be
> fixed in the first place. I have just created an upstream pull request about
> this, and with that change applied breathe builds fine.
>
> I will also create a pull request to sphinx fixing the regression, but unless
> there are other affected packages I will not backport it to Debian before new
> upstream release.

I have uploaded Sphinx with this change today, it now raises a warning
instead of AssertionError on types mismatch.

So downgrading the bug severity.

--
Dmitry Shachnev


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#877014: python3-sphinx exception building breathe

2017-09-27 Thread Dmitry Shachnev
Control: clone -1 -2
Control: reassign -2 src:breathe
Control: forwarded -2 https://github.com/michaeljones/breathe/pull/353
Control: tags -2 +patch
Control: severity -1 important

Hi Adrian and Sebastian!

On Wed, Sep 27, 2017 at 09:51:49PM +0300, Adrian Bunk wrote:
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/breathe.html
>
> [...]
>   File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4969, in 
> checkType
> assert False
> AssertionError
> Type is member, declType is class

I agree that there is a breaking change in Sphinx 1.6.4: instead of printing
a warning about type mismatch, it raises AssertionError.

However in my opinion the real issue here is in breathe, and it should be
fixed in the first place. I have just created an upstream pull request about
this, and with that change applied breathe builds fine.

I will also create a pull request to sphinx fixing the regression, but unless
there are other affected packages I will not backport it to Debian before new
upstream release.

--
Dmitry Shachnev


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#877014: python3-sphinx exception building breathe

2017-09-27 Thread Adrian Bunk
Package: python3-sphinx
Version: 1.6.4-1
Severity: serious
Control: affects -1 src:breathe

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/breathe.html

...
writing output... [ 25%] differences
writing output... [ 27%] directives
writing output... [ 30%] domains
Exception occurred while building, starting debugger:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/cmdline.py", line 306, in main
app.build(opts.force_all, filenames)
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 339, in 
build
self.builder.build_update()
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 331, 
in build_update
'out of date' % len(to_build))
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 397, 
in build
self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 434, 
in write
self._write_serial(sorted(docnames))
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 441, 
in _write_serial
doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/usr/lib/python3/dist-packages/sphinx/environment/__init__.py", line 
910, in get_and_resolve_doctree
self.apply_post_transforms(doctree, docname)
  File "/usr/lib/python3/dist-packages/sphinx/environment/__init__.py", line 
957, in apply_post_transforms
transformer.apply_transforms()
  File "/usr/lib/python3/dist-packages/sphinx/transforms/__init__.py", line 92, 
in apply_transforms
Transformer.apply_transforms(self)
  File "/usr/lib/python3/dist-packages/docutils/transforms/__init__.py", line 
171, in apply_transforms
transform.apply(**kwargs)
  File 
"/usr/lib/python3/dist-packages/sphinx/transforms/post_transforms/__init__.py", 
line 89, in apply
typ, target, node, contnode)
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 5008, in 
resolve_xref
target, node, contnode)[0]
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4970, in 
_resolve_xref_inner
if not checkType():
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4969, in 
checkType
assert False
AssertionError
Type is member, declType is class
> /usr/lib/python3/dist-packages/sphinx/domains/cpp.py(4969)checkType()
-> assert False
(Pdb) 
Makefile:54: recipe for target 'html' failed
make[3]: *** [html] Error 1
make[3]: Leaving directory '/build/1st/breathe-4.7.2/documentation'
Makefile:5: recipe for target 'html' failed
make[2]: *** [html] Error 2
make[2]: Leaving directory '/build/1st/breathe-4.7.2'
E: pybuild pybuild:283: build: plugin custom failed with: exit code=2: env 
PYTHONPATH=/build/1st/breathe-4.7.2/.pybuild/pythonX.Y_3.5/build /usr/bin/make 
SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 13


I can reproduce the problem and that downgrading Sphinx
to 1.6.3-2 fixes it.

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team