FYI apparently scipy 0.10 is not fully backward compatible with prev
API (e.g. broke nitime).  I guess due to

__all__ dicts have been added to all modules, which has cleaned up the 
namespaces (particularly useful for interactive work).
http://docs.scipy.org/doc/scipy/reference/release.0.10.0.html#deprecated-features

Although factorial remains described as imported from misc:

    Global symbols from subpackages
    -------------------------------
    ::
    
     misc                  --> info, factorial, factorial2, factorialk,
                               comb, who, lena, central_diff_weights,
                               derivative, pade, source

it is present only from .misc.  Since it seems to be a regression to me I
filed a bugreport

http://projects.scipy.org/scipy/ticket/1656

but I thought some of you might be interested to robustify your code.  If it
gets confirmed as a bug, I will reassign #671978 to scipy package in Debian so
hopefully that 0.10 gets fixed in Debian world at least.

Cheers

----- Forwarded message from Lucas Nussbaum <lu...@lucas-nussbaum.net> -----

Date: Tue, 8 May 2012 14:03:10 +0200
From: Lucas Nussbaum <lu...@lucas-nussbaum.net>
To: sub...@bugs.debian.org
Subject: Bug#671978: nitime: FTBFS: ImportError: cannot import name factorial
X-CRM114-Status: Good  ( pR: 12.7598 )

Source: nitime
Version: 0.3.1-1
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[2]: Entering directory `/«PKGBUILDDIR»/doc'
> ../tools/make_examples.py
> Traceback (most recent call last):
>   File "../tools/make_examples.py", line 94, in <module>
>     execfile(script)
>   File "seed_analysis.py", line 47, in <module>
>     import nitime.fmri.io as io
>   File 
> "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/nitime/fmri/__init__.py",
>  line 18, in <module>
>     import hrf
>   File 
> "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/nitime/fmri/hrf.py",
>  line 2, in <module>
>     from scipy import factorial
> ImportError: cannot import name factorial
> make[2]: *** [rstexamples] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/nitime_0.3.1-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.




----- End forwarded message -----

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
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        



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to