Mac OSX Fink Python 2.6 test failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Incomplete
|
Low
|
Unassigned |
Bug Description
I'm taking over packaging of ipython for Fink on MacOSX. I've added the test suite to the build system and it works on python 2.5. On python 2.6, I'm seing this test failure. In my limited use of ipython with 2.6 it works, but my coverage is very small.
This is on Mac OSX 10.5.6 and ipython 0.9.1.
Also, is there a way to not create a .ipython directory when running the test as nobody?
Thanks,
-kurt
The error can be produced like this:
fink --maintainer rebuild ipython-py26
"~/.ipython/
if some of the new settings bother you.
Please press <RETURN> to start IPython.
*******
Traceback (most recent call last):
File "scripts/iptest", line 8, in <module>
iptest.main()
File "/sw/src/
TestProgram
File "/sw/lib/
argv=argv, testRunner=
File "/sw/lib/
self.
File "/sw/lib/
self.
File "/sw/lib/
self.test = self.testLoader
File "/sw/lib/
return unittest.
File "/sw/lib/
suites = [self.loadTests
File "/sw/lib/
module, discovered=
File "/sw/lib/
tests.
File "/sw/lib/
entry_path, discovered=True)
File "/sw/lib/
module, discovered=
File "/sw/lib/
return self.suiteClass
File "/sw/lib/
return self.makeSuite(
File "/sw/lib/
self.
TypeError: unhashable type: 'ContextSuite'
I am not exactly clear on how this can be reproduced. You mention a couple different things:
1. Not creating the .ipython dir during testing. We pretty much need to create it.
2. Something about the ipy_user_conf.py file
3. Something that is going wrong with IPython is started.
From the information you give it is hard to untangle these 3 things. Can you give us more details.
Thanks!