Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2019-02-12 Thread Stuart Prescott
Hi Andreas,

> Currently the package in Git does not build due to #921779. I admit I
> have no idea why #917754 occures but my comparison with python-cycler
> (which is able to find the module named
> 'matplotlib.sphinxext.only_directives') Gave me some hope that switching
> back from python3-sphinx to python-sphinx will solve this.

matplotlib.sphinxext.only_directives was removed from  matplotlib but you 
should be fairly easily able to fix up the documentation build, for example:

https://sources.debian.org/src/python-periodictable/sid/debian/patches/sphinx-only-directive.patch/

cheers
Stuart


-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2019-02-12 Thread Andreas Tille
Hi,

On Sun, Oct 28, 2018 at 07:32:43PM +0100, Andreas Tille wrote:
> Hi Julian,
> 
> On Sat, Oct 27, 2018 at 06:05:39PM +0200, Julian Taylor wrote:
> > I have pushed an update to git that fixes the build for me and filed
> > https://github.com/statsmodels/statsmodels/pull/5348 for the problem.
> 
> I've uploaded statsmodels 0.9.0-1 to experimental.  No idea whether we
> might need a formal transition or whether we simply should upload to
> unstable and "see what happens with dependencies".  I'd welcome if
> maintaniers with rdepends would give it a try and decide what might be
> the best strategy.

Unfortunately this issue went totally out of my focus and others obviously
did not mind as well. 

Currently the package in Git does not build due to #921779. I admit I
have no idea why #917754 occures but my comparison with python-cycler
(which is able to find the module named 'matplotlib.sphinxext.only_directives')
Gave me some hope that switching back from python3-sphinx to python-sphinx
will solve this.

Regarding bug #882641 I think droping the two tests containing the strings

statsmodels/datasets/tests/test_utils.py:fn = 
"raw.github.com,vincentarelbundock,Rdatasets,master,csv,HistData,Guerry.csv.zip"
statsmodels/datasets/tests/test_utils.py:fn = 
"raw.github.com,vincentarelbundock,Rdatasets,master,doc,HistData,rst,Guerry.rst.zip"

should do the trick.

Any help to fix this is really welcome.

Kind regards

Andreas.


-- 
http://fam-tille.de



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-28 Thread Andreas Tille
Hi Julian,

On Sat, Oct 27, 2018 at 06:05:39PM +0200, Julian Taylor wrote:
> I have pushed an update to git that fixes the build for me and filed
> https://github.com/statsmodels/statsmodels/pull/5348 for the problem.

I've uploaded statsmodels 0.9.0-1 to experimental.  No idea whether we
might need a formal transition or whether we simply should upload to
unstable and "see what happens with dependencies".  I'd welcome if
maintaniers with rdepends would give it a try and decide what might be
the best strategy.

Kind regards

Andreas.

-- 
http://fam-tille.de



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-27 Thread Julian Taylor
On 10/26/18 11:33 PM, Andreas Tille wrote:
> 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 
>>> 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.
> 


I have pushed an update to git that fixes the build for me and filed
https://github.com/statsmodels/statsmodels/pull/5348 for the problem.



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-27 Thread Julian Taylor
On 10/26/18 11:33 PM, Andreas Tille wrote:
> 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 
>>> 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.
> 

I'll have a look at the issue now.



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-26 Thread Andreas Tille
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 
> > 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



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-26 Thread Yaroslav Halchenko


On Fri, 26 Oct 2018, Andreas Tille wrote:

> Hi Yarislav,

> On Sun, Aug 12, 2018 at 02:40:28PM -0400, Yaroslav Halchenko wrote:
> > Fwiw I will look into updating soon unless someone beats me to it

> 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!

> ...
> copying images... [ 97%] savefig/var_fevd.png
> copying images... [100%] savefig/dvar_forecast.png

> copying static files... done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded, 33 warnings.

> The HTML pages are in build/html.
> Copying rendered example notebooks
> mkdir -p build/html/examples/notebooks/generated
> cp source/examples/notebooks/generated/*html 
> build/html/examples/notebooks/generated
> #../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 
> doc = open(filename, encoding='utf8').read()

so the script now is python3. adjust shebang?
alternative might work to patch it with smth like

  from io import open

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik



Re: New version of statsmodels is out possibly fixing important bug - any volunteer

2018-10-26 Thread Andreas Tille
Hi Yarislav,

On Sun, Aug 12, 2018 at 02:40:28PM -0400, Yaroslav Halchenko wrote:
> Fwiw I will look into updating soon unless someone beats me to it

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:


...
copying images... [ 97%] savefig/var_fevd.png
copying images... [100%] savefig/dvar_forecast.png

copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 33 warnings.

The HTML pages are in build/html.
Copying rendered example notebooks
mkdir -p build/html/examples/notebooks/generated
cp source/examples/notebooks/generated/*html 
build/html/examples/notebooks/generated
#../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 
doc = open(filename, encoding='utf8').read()
TypeError: 'encoding' is an invalid keyword argument for this function
make[2]: *** [Makefile:77: html] Error 1
make[2]: Leaving directory '/build/statsmodels-0.9.0/docs'
make[1]: *** [debian/rules:39: override_dh_auto_build-indep] Error 2
...


Any hint / patch / take over would be really welcome.

Kind regards

Andreas.


> On August 11, 2018 1:50:42 AM EDT, Andreas Tille  wrote:
> >Hi,
> >
> >it seems upstream dealt with issue #3892 in latest upstream version
> >0.9.
> >As far as I can see this will fix #880245.
> >
> >Any volunteer to upgrade the package?
> >
> >Kind regards
> >
> >   Andreas.


[1] https://salsa.debian.org/science-team/statsmodels 

-- 
http://fam-tille.de



New version of statsmodels is out possibly fixing important bug - any volunteer

2018-08-10 Thread Andreas Tille
Hi,

it seems upstream dealt with issue #3892 in latest upstream version 0.9.
As far as I can see this will fix #880245.

Any volunteer to upgrade the package?

Kind regards

   Andreas.

-- 
http://fam-tille.de