Matthias Klose <d...@debian.org> added the comment: with this patch the following test cases fail. the tests need backports as well. with this patch there's still one test failure, which I do see with db4.7 as well.
will wait for test results on different platforms and then submit to the trunk. the setup.py change should go to the py3k branch as well. ====================================================================== ERROR: test02_DBEnv_dealloc (bsddb.test.test_basics.CrashAndBurn) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_basics.py", line 1038, in test02_DBEnv_dealloc self.assertRaises(db.DBInvalidArgError, db.DBEnv, ~db.DB_RPCCLIENT) AttributeError: 'module' object has no attribute 'DB_RPCCLIENT' ====================================================================== ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp return self._create_env(must_open_db=True) File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env self.db.set_re_len(db.DB_XIDDATASIZE) AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE' ====================================================================== ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp return self._create_env(must_open_db=True) File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env self.db.set_re_len(db.DB_XIDDATASIZE) AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE' ====================================================================== ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed_must_open_db) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp return self._create_env(must_open_db=True) File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env self.db.set_re_len(db.DB_XIDDATASIZE) AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE' ====================================================================== ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC_must_open_db) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp return self._create_env(must_open_db=True) File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env self.db.set_re_len(db.DB_XIDDATASIZE) AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE' ---------- nosy: +doko versions: +Python 3.2 -Python 2.6 Added file: http://bugs.python.org/file16549/python-support_bdb-4.8-v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6949> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com