Bug#880245: New version of statsmodels is out possibly fixing important bug - any volunteer
Andreas Tille
andreas at an3as.eu
Fri Oct 26 22:33:04 BST 2018
Hi Yaroslav,
On Fri, Oct 26, 2018 at 08:59:57AM -0400, Yaroslav Halchenko wrote:
>
> > I guess this went out of your focus. I tried my best to update Git[1] to
> > version 0.9.0. The package build process stumbles about doc creation:
>
> THANKS!
You (and all other Uploaders) are welcome.
> > #../tools/examples_rst.py
> > ../tools/fold_toc.py build/html/index.html
> > Traceback (most recent call last):
> > File "../tools/fold_toc.py", line 12, in <module>
> > doc = open(filename, encoding='utf8').read()
>
> so the script now is python3. adjust shebang?
Only adjusting shebang is not sufficient. The file tools/fold_toc.py
is definitely Python2. I tried:
$ 2to3 -w fold_toc.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to fold_toc.py
RefactoringTool: Files that need to be modified:
RefactoringTool: fold_toc.py
But for whatever reason it is not changed automatically. Am I missing
something?
> alternative might work to patch it with smth like
>
> from io import open
I have not tried this yet.
Any further hint (preferably somebody else taking over)?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the debian-science-maintainers
mailing list