New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Move to Github Actions #495
Comments
I got pretty much all of this running, besides building of PDF on windows (see this workflow, still WIP with an ugly commit history). Latex and WindowsThe problem with creating PDFs on Windows is due to the difference in the created
LaTeX Warning: Reference `a-normal-rst-file:example_python_function' on page 23
undefined on input line 2056.
[23]
! FancyVerb Error:
Empty verbatim environment
.
\FV@Error ...ncyVerb Error:^^J\space \space #1^^J}
l.2292 \end{sphinxVerbatim} When looking at the diff of the linux and windows generated $ diff -Z --color latex-linux/nbsphinx.tex latex-win/nbsphinx.tex you find the following: 2292,2294c2292,2339
< 1
< 2
< 3
---
> \end{sphinxVerbatim}
> }
>
> {
>
> \kern-\sphinxverbatimsmallskipamount\kern-\baselineskip
> \kern+\FrameHeightAdjust\kern-\fboxrule
> \vspace{\nbsphinxcodecellspacing}
>
> \sphinxsetup{VerbatimColor={named}{white}}
> \sphinxsetup{VerbatimBorderColor={named}{nbsphinx-code-border}}
> \begin{sphinxVerbatim}[commandchars=\\\{\}]
> \textcolor{ansi-red-intense}{\textbf{---------------------------------------------------------------------------}}
> \textcolor{ansi-red-intense}{\textbf{CalledProcessError}} Traceback (most recent call last)
> \textcolor{ansi-green-intense}{\textbf{<ipython-input-1-7f4108180772>}} in \textcolor{ansi-cyan}{<module>}
> \textcolor{ansi-green-intense}{\textbf{----> 1}}\textcolor{ansi-yellow-intense}{\textbf{ }}get\_ipython\textcolor{ansi-yellow-intense}{\textbf{(}}\textcolor{ansi-yellow-intense}{\textbf{)}}\textcolor{ansi-yellow-intense}{\textbf{.}}run\_cell\_magic\textcolor{ansi-yellow-intense}{\textbf{(}}\textcolor{ansi-blue-intense}{\textbf{'bash'}}\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-blue-intense}{\textbf{''}}\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-blue-intense}{\textbf{'for i in 1 2 3\textbackslash{}ndo\textbackslash{}n echo \$i\textbackslash{}ndone\textbackslash{}n'}}\textcolor{ansi-yellow-intense}{\textbf{)}}
>
> \textcolor{ansi-green-intense}{\textbf{C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}IPython\textbackslash{}core\textbackslash{}interactiveshell.py}} in \textcolor{ansi-cyan}{run\_cell\_magic}\textcolor{ansi-blue-intense}{\textbf{(self, magic\_name, line, cell)}}
> \textcolor{ansi-green}{ 2379} \textcolor{ansi-green-intense}{\textbf{with}} self\textcolor{ansi-yellow-intense}{\textbf{.}}builtin\_trap\textcolor{ansi-yellow-intense}{\textbf{:}}
> \textcolor{ansi-green}{ 2380} args \textcolor{ansi-yellow-intense}{\textbf{=}} \textcolor{ansi-yellow-intense}{\textbf{(}}magic\_arg\_s\textcolor{ansi-yellow-intense}{\textbf{,}} cell\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green-intense}{\textbf{-> 2381}}\textcolor{ansi-yellow-intense}{\textbf{ }}result \textcolor{ansi-yellow-intense}{\textbf{=}} fn\textcolor{ansi-yellow-intense}{\textbf{(}}\textcolor{ansi-yellow-intense}{\textbf{*}}args\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-yellow-intense}{\textbf{**}}kwargs\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green}{ 2382} \textcolor{ansi-green-intense}{\textbf{return}} result
> \textcolor{ansi-green}{ 2383}
>
> \textcolor{ansi-green-intense}{\textbf{C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}IPython\textbackslash{}core\textbackslash{}magics\textbackslash{}script.py}} in \textcolor{ansi-cyan}{named\_script\_magic}\textcolor{ansi-blue-intense}{\textbf{(line, cell)}}
> \textcolor{ansi-green}{ 140} \textcolor{ansi-green-intense}{\textbf{else}}\textcolor{ansi-yellow-intense}{\textbf{:}}
> \textcolor{ansi-green}{ 141} line \textcolor{ansi-yellow-intense}{\textbf{=}} script
> \textcolor{ansi-green-intense}{\textbf{--> 142}}\textcolor{ansi-yellow-intense}{\textbf{ }}\textcolor{ansi-green-intense}{\textbf{return}} self\textcolor{ansi-yellow-intense}{\textbf{.}}shebang\textcolor{ansi-yellow-intense}{\textbf{(}}line\textcolor{ansi-yellow-intense}{\textbf{,}} cell\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green}{ 143}
> \textcolor{ansi-green}{ 144} \textcolor{ansi-red-intense}{\textbf{\# write a basic docstring:}}
>
> \textcolor{ansi-green-intense}{\textbf{<decorator-gen-104>}} in \textcolor{ansi-cyan}{shebang}\textcolor{ansi-blue-intense}{\textbf{(self, line, cell)}}
>
> \textcolor{ansi-green-intense}{\textbf{C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}IPython\textbackslash{}core\textbackslash{}magic.py}} in \textcolor{ansi-cyan}{<lambda>}\textcolor{ansi-blue-intense}{\textbf{(f, *a, **k)}}
> \textcolor{ansi-green}{ 185} \textcolor{ansi-red-intense}{\textbf{\# but it's overkill for just that one bit of state.}}
> \textcolor{ansi-green}{ 186} \textcolor{ansi-green-intense}{\textbf{def}} magic\_deco\textcolor{ansi-yellow-intense}{\textbf{(}}arg\textcolor{ansi-yellow-intense}{\textbf{)}}\textcolor{ansi-yellow-intense}{\textbf{:}}
> \textcolor{ansi-green-intense}{\textbf{--> 187}}\textcolor{ansi-yellow-intense}{\textbf{ }}call \textcolor{ansi-yellow-intense}{\textbf{=}} \textcolor{ansi-green-intense}{\textbf{lambda}} f\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-yellow-intense}{\textbf{*}}a\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-yellow-intense}{\textbf{**}}k\textcolor{ansi-yellow-intense}{\textbf{:}} f\textcolor{ansi-yellow-intense}{\textbf{(}}\textcolor{ansi-yellow-intense}{\textbf{*}}a\textcolor{ansi-yellow-intense}{\textbf{,}} \textcolor{ansi-yellow-intense}{\textbf{**}}k\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green}{ 188}
> \textcolor{ansi-green}{ 189} \textcolor{ansi-green-intense}{\textbf{if}} callable\textcolor{ansi-yellow-intense}{\textbf{(}}arg\textcolor{ansi-yellow-intense}{\textbf{)}}\textcolor{ansi-yellow-intense}{\textbf{:}}
>
> \textcolor{ansi-green-intense}{\textbf{C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}IPython\textbackslash{}core\textbackslash{}magics\textbackslash{}script.py}} in \textcolor{ansi-cyan}{shebang}\textcolor{ansi-blue-intense}{\textbf{(self, line, cell)}}
> \textcolor{ansi-green}{ 243} sys\textcolor{ansi-yellow-intense}{\textbf{.}}stderr\textcolor{ansi-yellow-intense}{\textbf{.}}flush\textcolor{ansi-yellow-intense}{\textbf{(}}\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green}{ 244} \textcolor{ansi-green-intense}{\textbf{if}} args\textcolor{ansi-yellow-intense}{\textbf{.}}raise\_error \textcolor{ansi-green-intense}{\textbf{and}} p\textcolor{ansi-yellow-intense}{\textbf{.}}returncode\textcolor{ansi-yellow-intense}{\textbf{!=}}\textcolor{ansi-cyan-intense}{\textbf{0}}\textcolor{ansi-yellow-intense}{\textbf{:}}
> \textcolor{ansi-green-intense}{\textbf{--> 245}}\textcolor{ansi-yellow-intense}{\textbf{ }}\textcolor{ansi-green-intense}{\textbf{raise}} CalledProcessError\textcolor{ansi-yellow-intense}{\textbf{(}}p\textcolor{ansi-yellow-intense}{\textbf{.}}returncode\textcolor{ansi-yellow-intense}{\textbf{,}} cell\textcolor{ansi-yellow-intense}{\textbf{,}} output\textcolor{ansi-yellow-intense}{\textbf{=}}out\textcolor{ansi-yellow-intense}{\textbf{,}} stderr\textcolor{ansi-yellow-intense}{\textbf{=}}err\textcolor{ansi-yellow-intense}{\textbf{)}}
> \textcolor{ansi-green}{ 246}
> \textcolor{ansi-green}{ 247} \textcolor{ansi-green-intense}{\textbf{def}} \_run\_script\textcolor{ansi-yellow-intense}{\textbf{(}}self\textcolor{ansi-yellow-intense}{\textbf{,}} p\textcolor{ansi-yellow-intense}{\textbf{,}} cell\textcolor{ansi-yellow-intense}{\textbf{,}} to\_close\textcolor{ansi-yellow-intense}{\textbf{)}}\textcolor{ansi-yellow-intense}{\textbf{:}}
>
> \textcolor{ansi-red-intense}{\textbf{CalledProcessError}}: Command 'b'for i in 1 2 3\textbackslash{}ndo\textbackslash{}n echo \$i\textbackslash{}ndone\textbackslash{}n'' returned non-zero exit status 4294967295.
2588,2589c2633,2634
< /opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/traitlets/traitlets.py:2939: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
< warn(
---
> C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}traitlets\textbackslash{}traitlets.py:2945: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
> FutureWarning,
2611c2656
< \llap{\color{nbsphinxout}[18]:\,\hspace{\fboxrule}\hspace{\fboxsep}}[<matplotlib.lines.Line2D at 0x7f7fb2c631c0>]
---
> \llap{\color{nbsphinxout}[18]:\,\hspace{\fboxrule}\hspace{\fboxsep}}[<matplotlib.lines.Line2D at 0x15b196f4648>]
2722,2726c2767,2771
< 0 23 38 91 66
< 1 13 28 17 1
< 2 45 25 20 83
< 3 55 41 75 98
< 4 87 72 25 7
---
> 0 64 64 71 58
> 1 72 63 10 56
> 2 10 88 40 51
> 3 9 83 58 8
> 4 25 63 41 0
2810,2819c2855,2864
< 0 & 9 & 95 & 88 & 80 \\
< 1 & 99 & 59 & 29 & 29 \\
< 2 & 10 & 71 & 76 & 46 \\
< 3 & 88 & 20 & 56 & 70 \\
< 4 & 46 & 61 & 62 & 43 \\
< 5 & 97 & 93 & 79 & 7 \\
< 6 & 9 & 53 & 24 & 78 \\
< 7 & 10 & 35 & 56 & 4 \\
< 8 & 8 & 49 & 4 & 67 \\
< 9 & 89 & 47 & 70 & 99 \\
---
> 0 & 93 & 32 & 41 & 1 \\
> 1 & 62 & 15 & 66 & 23 \\
> 2 & 90 & 74 & 23 & 66 \\
> 3 & 84 & 7 & 78 & 29 \\
> 4 & 4 & 47 & 53 & 48 \\
> 5 & 70 & 10 & 12 & 49 \\
> 6 & 97 & 64 & 2 & 96 \\
> 7 & 96 & 86 & 42 & 13 \\
> 8 & 94 & 35 & 99 & 40 \\
> 9 & 68 & 93 & 66 & 73 \\
3605,3608c3650,3653
< \textcolor{ansi-red}{---------------------------------------------------------------------------}
< \textcolor{ansi-red}{NameError} Traceback (most recent call last)
< \textcolor{ansi-green}{<ipython-input-1-7dd4c0df649c>} in \textcolor{ansi-cyan}{<module>}
< \textcolor{ansi-green}{----> 1}\textcolor{ansi-red}{ }nonsense
---
> \textcolor{ansi-red-intense}{\textbf{---------------------------------------------------------------------------}}
> \textcolor{ansi-red-intense}{\textbf{NameError}} Traceback (most recent call last)
> \textcolor{ansi-green-intense}{\textbf{<ipython-input-1-7dd4c0df649c>}} in \textcolor{ansi-cyan}{<module>}
> \textcolor{ansi-green-intense}{\textbf{----> 1}}\textcolor{ansi-yellow-intense}{\textbf{ }}nonsense
3610c3655
< \textcolor{ansi-red}{NameError}: name 'nonsense' is not defined
---
> \textcolor{ansi-red-intense}{\textbf{NameError}}: name 'nonsense' is not defined
3631,3634c3676,3679
< \textcolor{ansi-red}{---------------------------------------------------------------------------}
< \textcolor{ansi-red}{ZeroDivisionError} Traceback (most recent call last)
< \textcolor{ansi-green}{<ipython-input-1-52cebea8b64f>} in \textcolor{ansi-cyan}{<module>}
< \textcolor{ansi-green}{----> 1}\textcolor{ansi-red}{ }\textcolor{ansi-cyan}{42} \textcolor{ansi-blue}{/} \textcolor{ansi-cyan}{0}
---
> \textcolor{ansi-red-intense}{\textbf{---------------------------------------------------------------------------}}
> \textcolor{ansi-red-intense}{\textbf{ZeroDivisionError}} Traceback (most recent call last)
> \textcolor{ansi-green-intense}{\textbf{<ipython-input-1-52cebea8b64f>}} in \textcolor{ansi-cyan}{<module>}
> \textcolor{ansi-green-intense}{\textbf{----> 1}}\textcolor{ansi-yellow-intense}{\textbf{ }}\textcolor{ansi-cyan-intense}{\textbf{42}} \textcolor{ansi-yellow-intense}{\textbf{/}} \textcolor{ansi-cyan-intense}{\textbf{0}}
3636c3681
< \textcolor{ansi-red}{ZeroDivisionError}: division by zero
---
> \textcolor{ansi-red-intense}{\textbf{ZeroDivisionError}}: division by zero
3657,3660c3702,3705
< \textcolor{ansi-cyan}{ File }\textcolor{ansi-green}{"<ipython-input-1-653b30cd70a8>"}\textcolor{ansi-cyan}{, line }\textcolor{ansi-green}{1}
< \textcolor{ansi-red}{ print 'Hello, world!'}
< \^{}
< \textcolor{ansi-red}{SyntaxError}\textcolor{ansi-red}{:} Missing parentheses in call to 'print'. Did you mean print('Hello, world!')?
---
> \textcolor{ansi-cyan-intense}{\textbf{ File }}\textcolor{ansi-green-intense}{\textbf{"<ipython-input-1-653b30cd70a8>"}}\textcolor{ansi-cyan-intense}{\textbf{, line }}\textcolor{ansi-green-intense}{\textbf{1}}
> \textcolor{ansi-yellow-intense}{\textbf{ print 'Hello, world!'}}
> \textcolor{ansi-white-intense}{\textbf{ \^{}}}
> \textcolor{ansi-red-intense}{\textbf{SyntaxError}}\textcolor{ansi-red-intense}{\textbf{:}} Missing parentheses in call to 'print'. Did you mean print('Hello, world!')?
3682,3685c3727,3730
< \textcolor{ansi-cyan}{ File }\textcolor{ansi-green}{"<ipython-input-1-8300b2622db3>"}\textcolor{ansi-cyan}{, line }\textcolor{ansi-green}{1}
< \textcolor{ansi-red}{ 6 \textasciitilde{} 7}
< \^{}
< \textcolor{ansi-red}{SyntaxError}\textcolor{ansi-red}{:} invalid syntax
---
> \textcolor{ansi-cyan-intense}{\textbf{ File }}\textcolor{ansi-green-intense}{\textbf{"<ipython-input-1-8300b2622db3>"}}\textcolor{ansi-cyan-intense}{\textbf{, line }}\textcolor{ansi-green-intense}{\textbf{1}}
> \textcolor{ansi-yellow-intense}{\textbf{ 6 \textasciitilde{} 7}}
> \textcolor{ansi-white-intense}{\textbf{ \^{}}}
> \textcolor{ansi-red-intense}{\textbf{SyntaxError}}\textcolor{ansi-red-intense}{\textbf{:}} invalid syntax
3766,3769c3811,3814
< \textcolor{ansi-red}{---------------------------------------------------------------------------}
< \textcolor{ansi-red}{NameError} Traceback (most recent call last)
< \textcolor{ansi-green}{<ipython-input-1-526ab3a89ffc>} in \textcolor{ansi-cyan}{<module>}
< \textcolor{ansi-green}{----> 1}\textcolor{ansi-red}{ }problem
---
> \textcolor{ansi-red-intense}{\textbf{---------------------------------------------------------------------------}}
> \textcolor{ansi-red-intense}{\textbf{NameError}} Traceback (most recent call last)
> \textcolor{ansi-green-intense}{\textbf{<ipython-input-1-526ab3a89ffc>}} in \textcolor{ansi-cyan}{<module>}
> \textcolor{ansi-green-intense}{\textbf{----> 1}}\textcolor{ansi-yellow-intense}{\textbf{ }}problem
3771c3816
< \textcolor{ansi-red}{NameError}: name 'problem' is not defined
---
> \textcolor{ansi-red-intense}{\textbf{NameError}}: name 'problem' is not defined
4225c4270
< \sphinxcode{\sphinxupquote{\strut doc/subdir/a-notebook-in-a-subdir.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/subdir\textbackslash{}a-notebook-in-a-subdir.ipynb}} \dotfill}}
4283c4328
< doc/subdir/a-notebook-in-a-subdir.ipynb}} ends here.}}
---
> doc/subdir\textbackslash{}a-notebook-in-a-subdir.ipynb}} ends here.}}
4289c4334
< \sphinxcode{\sphinxupquote{\strut doc/subdir/gallery.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/subdir\textbackslash{}gallery.ipynb}} \dotfill}}
4344c4389
< \sphinxcode{\sphinxupquote{\strut doc/gallery/cell-tag.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}cell-tag.ipynb}} \dotfill}}
4370,4371c4415,4416
< /opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/traitlets/traitlets.py:2939: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
< warn(
---
> C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}traitlets\textbackslash{}traitlets.py:2945: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
> FutureWarning,
4395c4440
< \llap{\color{nbsphinxout}[2]:\,\hspace{\fboxrule}\hspace{\fboxsep}}[<matplotlib.lines.Line2D at 0x7fd27c7b3940>]
---
> \llap{\color{nbsphinxout}[2]:\,\hspace{\fboxrule}\hspace{\fboxsep}}[<matplotlib.lines.Line2D at 0x177441b7a08>]
4412c4457
< doc/gallery/cell-tag.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}cell-tag.ipynb}} ends here.}}
4418c4463
< \sphinxcode{\sphinxupquote{\strut doc/gallery/cell-metadata.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}cell-metadata.ipynb}} \dotfill}}
4455,4456c4500,4501
< /opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/traitlets/traitlets.py:2939: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
< warn(
---
> C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}traitlets\textbackslash{}traitlets.py:2945: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
> FutureWarning,
4506c4551
< \llap{\color{nbsphinxout}[5]:\,\hspace{\fboxrule}\hspace{\fboxsep}}<matplotlib.image.AxesImage at 0x7f6cf86517f0>
---
> \llap{\color{nbsphinxout}[5]:\,\hspace{\fboxrule}\hspace{\fboxsep}}<matplotlib.image.AxesImage at 0x247c3a7ffc8>
4523c4568
< doc/gallery/cell-metadata.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}cell-metadata.ipynb}} ends here.}}
4529c4574
< \sphinxcode{\sphinxupquote{\strut doc/gallery/multiple-outputs.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}multiple-outputs.ipynb}} \dotfill}}
4611c4656
< doc/gallery/multiple-outputs.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}multiple-outputs.ipynb}} ends here.}}
4617c4662
< \sphinxcode{\sphinxupquote{\strut doc/gallery/no-thumbnail.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}no-thumbnail.ipynb}} \dotfill}}
4628c4673
< doc/gallery/no-thumbnail.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}no-thumbnail.ipynb}} ends here.}}
4634c4679
< \sphinxcode{\sphinxupquote{\strut doc/gallery/thumbnail-from-conf-py.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}thumbnail-from-conf-py.ipynb}} \dotfill}}
4678,4679c4723,4724
< /opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/traitlets/traitlets.py:2939: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
< warn(
---
> C:\textbackslash{}hostedtoolcache\textbackslash{}windows\textbackslash{}Python\textbackslash{}3.7.9\textbackslash{}x64\textbackslash{}lib\textbackslash{}site-packages\textbackslash{}traitlets\textbackslash{}traitlets.py:2945: FutureWarning: --rc=\{'figure.dpi': 96\} for dict-traits is deprecated in traitlets 5.0. You can pass --rc <key=value> {\ldots} multiple times to add items to a dict.
> FutureWarning,
4717c4762
< doc/gallery/thumbnail-from-conf-py.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}thumbnail-from-conf-py.ipynb}} ends here.}}
4721c4766
< doc/subdir/gallery.ipynb}} ends here.}}
---
> doc/subdir\textbackslash{}gallery.ipynb}} ends here.}}
4727c4772
< \sphinxcode{\sphinxupquote{\strut doc/subdir/toctree.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/subdir\textbackslash{}toctree.ipynb}} \dotfill}}
4823c4868
< doc/subdir/toctree.ipynb}} ends here.}}
---
> doc/subdir\textbackslash{}toctree.ipynb}} ends here.}}
5224c5269
< \sphinxcode{\sphinxupquote{\strut doc/gallery/uno-rst.ipynb}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}uno-rst.ipynb}} \dotfill}}
5235c5280
< doc/gallery/uno-rst.ipynb}} ends here.}}
---
> doc/gallery\textbackslash{}uno-rst.ipynb}} ends here.}}
5241c5286
< \sphinxcode{\sphinxupquote{\strut doc/gallery/due-rst.pct.py}} \dotfill}}
---
> \sphinxcode{\sphinxupquote{\strut doc/gallery\textbackslash{}due-rst.pct.py}} \dotfill}}
5310c5355
< doc/gallery/due-rst.pct.py}} ends here.}}
---
> doc/gallery\textbackslash{}due-rst.pct.py}} ends here.}}
The fist diff is due to, allowing the bash magic cell to fail. Noteworthy is the mixing of < doc/gallery/due-rst.pct.py}} ends here.}}
---
> doc/gallery\textbackslash{}due-rst.pct.py}} ends here.}} I guess this could be saniticed within But I couldn't find that bug yet, which causes
|
Just found the Error in the Windows version of {
\kern-\sphinxverbatimsmallskipamount\kern-\baselineskip
\kern+\FrameHeightAdjust\kern-\fboxrule
\vspace{\nbsphinxcodecellspacing}
\sphinxsetup{VerbatimColor={named}{white}}
\sphinxsetup{VerbatimBorderColor={named}{nbsphinx-code-border}}
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\end{sphinxVerbatim}
} This was caused by allowing the bash magic cell to fail with |
After some more investigation i found the problem with the malformed One possible solution would be to replace The other solution would be to differentiate between different tex engines in the preamble and change the font for Another interesting point is that the |
Thanks for your work on this! So it looks like it would be good to use both TeXLive and Tectonic (because of the encoding differences, which we hopefully can fix at some later point).
Yes, I think that's enough for now.
Alternatively, we could just get rid of this example.
This can be fixed by changing
This should not be necessary if the build directory is outside the source directory.
I don't have experience with that either, probably some if-clauses like in https://tex.stackexchange.com/a/44701/ should be used? But anyway, we can leave this as is for now and try to fix it later. Would you like to start with a PR for one of the setups (we don't have to do everything at once)?. |
I've just merged #491 which adds a workflow for |
@s-weigand Any news? |
I've just added #559 for building HTML on macOS. @s-weigand Do you want to provide your work on the other variants as a PR (or multiple PRs)? Doesn't matter if it's incomplete, we can keep working on the individual PRs. |
This has already been asked for in #358 and #361.
I think it would be good - to keep it simple - to have several configuration files:
run HTML builder with many Python and Sphinx versions
run HTML builder on Windows, using default versions
run HTML builder on macOS, using default versions (CI: add Github action for building HTML on macOS #559)
run HTML builder with default versions (whatever OS), upload HTML artifacts
create PDF with TexLive, upload artifact
tectonic
turns out to be much faster (while still producing a correct PDF), we can remove the TeXLive actioncreate PDF with
tectonic
, upload artifactrun linkcheck (only once), see CI: Add Github action for "linkcheck" #491
Any further suggestions?
cc @s-weigand
The text was updated successfully, but these errors were encountered: