[IPython-dev] Looking towards 0.10...

Jörgen Stenarson jorgen.stenarson at bostream.nu
Mon Mar 16 14:16:12 EDT 2009


Fernando Perez skrev:
> On Sun, Mar 15, 2009 at 2:24 AM, Gael Varoquaux
> <gael.varoquaux at normalesup.org> wrote:
>> On Sat, Mar 14, 2009 at 07:06:23PM -0700, Fernando Perez wrote:
>>> We're closing in for 0.10.
>> Could I have a week (say a week and a half ;->). I would like to merge
>> back in IPython some modifications we did to the frontend in the ETS code
>> base. Problem is, now that my paper deadline is past, I am spending the
>> week end on a Mayavi release :).
> 
> I imagine that reviewing all my changes will take some time, so go for
> it (as quick as you can).  My branch is big and nobody has looked at
> it, so I'm sure it will take a few iterations on it.
> 
> There's also Jorgen's that's almost ready to merge, and Laurent's that
> needs review.  So I'm sure we'll need a few days to finish the
> review/merge work we have on the table.  Here's the table, by the way,
> so we can all pick a fruit and start munching on it:

I have just merged from trunk and removed the debug code that was left 
over from your fix of the tests. Hopefully it's good to go now.

When doing this I tried to run iptest one level above IPython/ and got a 
cryptic crash that claims it is not possible to import Release. I guess 
this is because iptest is not meant to be run from there but a better 
error message would be good to have.

/Jörgen

C:\python\external\ipython\IPython>cd ..

C:\python\external\ipython>dir
  Volymen i enhet C har ingen etikett.
  Volymens serienummer är 100A-559F

  Innehåll i katalogen C:\python\external\ipython

2009-03-16  18:55    <KAT>          .
2009-03-16  18:55    <KAT>          ..
2008-09-22  18:25                10 .checkeol
2008-09-22  18:25               161 .hgignore
2008-09-22  18:25             3 469 COPYING.txt
2008-09-22  18:25    <KAT>          debian
2008-09-22  18:25    <KAT>          docs
2008-09-22  18:25               627 ipykit.py
2009-03-16  19:01    <KAT>          IPython
2008-09-22  18:25               420 ipython.py
2008-10-20  18:29               224 magic_run_test.py
2009-03-16  18:55               522 MANIFEST.in
2008-09-22  18:25               281 README.txt
2008-10-20  18:38                21 runscript.py
2009-03-16  18:55    <KAT>          sandbox
2008-09-22  18:25    <KAT>          scripts
2008-09-22  18:25             6 833 setup.py
2008-09-22  18:25             9 633 setupbase.py
2008-09-24  22:49             6 771 setupbase.pyc
2008-09-22  18:25               341 setupegg.py
2008-09-22  18:25             3 277 setupexe.py
2008-09-24  22:49    <KAT>          setupext
2008-09-22  18:25               468 setup_bdist_egg.py
2008-09-24  18:22    <KAT>          test
2008-09-22  18:25    <KAT>          tools
               15 fil(er)              33 058 byte
               10 katalog(er)  356 193 054 720 byte ledigt

C:\python\external\ipython>python scripts/iptest
E
======================================================================
ERROR: Failure: ImportError (cannot import name Release)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\lib\site-packages\nose-0.11.0.dev_r0-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"C:\Python25\lib\site-packages\nose-0.11.0.dev_r0-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"C:\Python25\lib\site-packages\nose-0.11.0.dev_r0-py2.5.egg\nose\importer.py", 
line 82, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "c:\python\external\ipython\IPython\__init__.py", line 63, in 
<module>
     from IPython import Release # do it explicitly so pydoc can see it 
- pydoc bug
ImportError: cannot import name Release

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

C:\python\external\ipython>cd IPython

C:\python\external\ipython\IPython>python ../scripts/iptest
SS...........SSSSSSSSSSS.S...S................
----------------------------------------------------------------------
Ran 46 tests in 0.703s

OK (SKIP=15)

C:\python\external\ipython\IPython>



More information about the IPython-dev mailing list