sphinx-gallery comment parsing is broken

Bug #1870064 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networkx (Ubuntu)
Invalid
High
James Page
sphinx-gallery (Ubuntu)
Fix Released
High
James Page

Bug Description

seen in the second focal test rebuild
https://launchpadlibrarian.net/471776944/buildlog_ubuntu-focal-amd64.networkx_2.4-3ubuntu1_BUILDING.txt.gz

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/examples/pygraphviz/plot_write_dotfile.py", line 1
    =============
    ^
SyntaxError: invalid syntax

/<<PKGBUILDDIR>>/examples/pygraphviz/plot_pygraphviz_simple.py failed leaving traceback:
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/examples/pygraphviz/plot_pygraphviz_simple.py", line 1
    =================
    ^
SyntaxError: invalid syntax

-------------------------------------------------------------------------------
The full traceback has been saved in /tmp/sphinx-err-qn18gzy6.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [Makefile:46: html] Error 2

Matthias Klose (doko)
Changed in networkx (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ff-incoming
James Page (james-page)
Changed in networkx (Ubuntu):
status: Confirmed → Triaged
James Page (james-page)
Changed in networkx (Ubuntu):
status: Triaged → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
James Page (james-page) wrote :

sphinx-gallery is failing to parse the comment blocks in the examples - and it also FTBFS for the same reasons.

summary: - networkx ftbfs in focal (indep only)
+ sphinx-gallery comment parsing is broken
James Page (james-page)
Changed in sphinx-gallery (Ubuntu):
status: New → Fix Committed
assignee: nobody → James Page (james-page)
importance: Undecided → High
milestone: none → ubuntu-20.04
Changed in networkx (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sphinx-gallery - 0.2.0-3ubuntu1

---------------
sphinx-gallery (0.2.0-3ubuntu1) focal; urgency=medium

  * d/p/python-3.8-compat.patch: Cherry pick fix for compatibility with
    Python 3.8 (LP: #1870064).
  * d/p/seaborn-compat.patch: Compat patch for later seaborn versions.

 -- James Page <email address hidden> Fri, 03 Apr 2020 14:32:58 +0100

Changed in sphinx-gallery (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
James Page (james-page) wrote :

Marking networkx task as invalid - doc generation works fine with updated sphinx-gallery

Changed in networkx (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.