[Python-checkins] r45368 - in python/trunk: Doc/lib/libbsddb.tex Misc/NEWS README setup.py

gregory.p.smith python-checkins at python.org
Thu Apr 13 21:19:02 CEST 2006


Author: gregory.p.smith
Date: Thu Apr 13 21:19:01 2006
New Revision: 45368

Modified:
   python/trunk/Doc/lib/libbsddb.tex
   python/trunk/Misc/NEWS
   python/trunk/README
   python/trunk/setup.py
Log:
raise the minimum supported BerkeleyDB version to 3.3 and add notes to
news about this and a couple other recent fixes.


Modified: python/trunk/Doc/lib/libbsddb.tex
==============================================================================
--- python/trunk/Doc/lib/libbsddb.tex	(original)
+++ python/trunk/Doc/lib/libbsddb.tex	Thu Apr 13 21:19:01 2006
@@ -15,9 +15,8 @@
 serialize them somehow, typically using \function{marshal.dumps()} or 
 \function{pickle.dumps}.
 
-Starting with Python 2.3 the \module{bsddb} module requires the
-Berkeley DB library version 3.2 or later (it is known to work with 3.2
-through 4.3 at the time of this writing).
+The \module{bsddb} module requires a Berkeley DB library version from
+3.3 thru 4.4.
 
 \begin{seealso}
   \seeurl{http://pybsddb.sourceforge.net/}{Website with documentation

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Apr 13 21:19:01 2006
@@ -44,7 +44,16 @@
 - Bug #1467952: os.listdir() now correctly raises an error if readdir()
   fails with an error condition.
 
-- Fix bsddb.db.DBError derived exceptions so they can be unpickled.
+- Fixed bsddb.db.DBError derived exceptions so they can be unpickled.
+
+- Bug #1117761: bsddb.*open() no longer raises an exception when using
+  the cachesize parameter.
+
+- Bug #1149413: bsddb.*open() no longer raises an exception when using
+  a temporary db (file=None) with the 'n' flag to truncate on open.
+
+- Bug #1332852: bsddb module minimum BerkeleyDB version raised to 3.3
+  as older versions cause excessive test failures.
 
 Library
 -------

Modified: python/trunk/README
==============================================================================
--- python/trunk/README	(original)
+++ python/trunk/README	Thu Apr 13 21:19:01 2006
@@ -719,14 +719,13 @@
 Beginning with Python version 2.3, the PyBsddb package
 <http://pybsddb.sf.net/> was adopted into Python as the bsddb package,
 exposing a set of package-level functions which provide
-backwards-compatible behavior.  Only versions 3.1 through 4.1 of
+backwards-compatible behavior.  Only versions 3.3 through 4.4 of
 Sleepycat's libraries provide the necessary API, so older versions
 aren't supported through this interface.  The old bsddb module has
 been retained as bsddb185, though it is not built by default.  Users
 wishing to use it will have to tweak Modules/Setup to build it.  The
 dbm module will still be built against the Sleepycat libraries if
-other preferred alternatives (ndbm, gdbm) are not found, though
-versions of the Sleepycat library prior to 3.1 are not considered.
+other preferred alternatives (ndbm, gdbm) are not found.
 
 Building the sqlite3 module
 ---------------------------

Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Thu Apr 13 21:19:01 2006
@@ -571,14 +571,13 @@
 
         # Sleepycat Berkeley DB interface.  http://www.sleepycat.com
         #
-        # This requires the Sleepycat DB code. The earliest supported version
-        # of that library is 3.2, the latest supported version is 4.4.  A list
-        # of available releases can be found at
-        #
-        # http://www.sleepycat.com/update/index.html
+        # This requires the Sleepycat DB code. The supported versions
+        # are set below.  Visit http://www.sleepycat.com/ to download
+        # a release.  Most open source OSes come with one or more
+        # versions of BerkeleyDB already installed.
 
         max_db_ver = (4, 4)
-        min_db_ver = (3, 2)
+        min_db_ver = (3, 3)
         db_setup_debug = False   # verbose debug prints from this script?
 
         # construct a list of paths to look for the header file in on


More information about the Python-checkins mailing list