Bugs item #1332852, was opened at 2005-10-19 21:41
Message generated for change (Comment added) made by greg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1332852&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: None
>Status: Closed
Resolution: None
Priority: 6
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Gregory P. Smith (greg)
Summary: BSD DB test failures for BSD DB 3.2

Initial Comment:
After a bunch of modifications to build and get bsddb
mostly running, I still get 4 test failures with Python
2.4 and CVS head.

FAIL: test_previous_last_looping
(test.test_bsddb.TestBTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 128, in test_previous_last_looping
    self.assertSetEquals(items, self.d.items())
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 55, in assertSetEquals
    self.assertEqual(Set(seqn1), Set(seqn2))
AssertionError: Set([('e', 'Rossum'), ('r',
'invented'), ('q', 'Guido'), ('w', 'van'), ('t',
'Python'), ('y', None)]) != Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', '')])

======================================================================
FAIL: test_previous_last_looping
(test.test_bsddb.TestHashTable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 128, in test_previous_last_looping
    self.assertSetEquals(items, self.d.items())
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 55, in assertSetEquals
    self.assertEqual(Set(seqn1), Set(seqn2))
AssertionError: Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', None)]) != Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', '')])

======================================================================
FAIL: test_previous_last_looping
(test.test_bsddb.TestBTree_InMemory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 128, in test_previous_last_looping
    self.assertSetEquals(items, self.d.items())
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 55, in assertSetEquals
    self.assertEqual(Set(seqn1), Set(seqn2))
AssertionError: Set([('e', 'Rossum'), ('r',
'invented'), ('q', 'Guido'), ('w', 'van'), ('t',
'Python'), ('y', None)]) != Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', '')])

======================================================================
FAIL: test_previous_last_looping
(test.test_bsddb.TestHashTable_InMemory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 128, in test_previous_last_looping
    self.assertSetEquals(items, self.d.items())
  File
"/home/neal/build/python/dist/clean/Lib/test/test_bsddb.py",
line 55, in assertSetEquals
    self.assertEqual(Set(seqn1), Set(seqn2))
AssertionError: Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', None)]) != Set([('e', 'Rossum'), ('r',
'invented'), ('t', 'Python'), ('w', 'van'), ('q',
'Guido'), ('y', '')])


----------------------------------------------------------------------

>Comment By: Gregory P. Smith (greg)
Date: 2006-04-13 12:20

Message:
Logged In: YES 
user_id=413

ok i've raised the minimum to 3.3 in python 2.5 trunk.  svn
r45368.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-04-12 20:20

Message:
Logged In: YES 
user_id=33168

I don't mind and think it's reasonable to set whatever
minimum version for 2.5.  I don't think 3.2 support should
be removed from 2.4 though.  In 2.4, you can print a message
in setup.py if the version is too old.

I think that's conservative enough and reasonble.

----------------------------------------------------------------------

Comment By: Gregory P. Smith (greg)
Date: 2006-04-12 12:21

Message:
Logged In: YES 
user_id=413

i'd prefer to just not support 3.2 anymore.

mind if i just change setup.py to not accept 3.2?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-19 22:20

Message:
Logged In: YES 
user_id=33168

Oops, that last comment got cut off.  I've got db-3.2 and
db-4.1 on my system at least.  Not sure why the older one is
picked up rather than the newer one.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-19 22:17

Message:
Logged In: YES 
user_id=33168

test_bsddb3 core dumps for me.  backtrace attached.

Do we really support 3.2 anymore?  Maybe we shouldn't?  I'm
on a gentoo system.  I don't know wha

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1332852&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to