]> granicus.if.org Git - python/commitdiff
raise the minimum supported BerkeleyDB version to 3.3 and add notes to
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 13 Apr 2006 19:19:01 +0000 (19:19 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 13 Apr 2006 19:19:01 +0000 (19:19 +0000)
news about this and a couple other recent fixes.

Doc/lib/libbsddb.tex
Misc/NEWS
README
setup.py

index fa7bb4b76570ad081fb61ccc7ae5f328e2509221..a5cda6dffe9da4ac5433e19a840d51e7e72a78f1 100644 (file)
@@ -15,9 +15,8 @@ other objects as keys or to store other kinds of objects the user must
 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
index 1e242d056c1e7af8a1535da1654e1f908006091a..f397739da8ec31dea95cdd380ca56577d2e90752 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,7 +44,16 @@ Extension Modules
 - 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
 -------
diff --git a/README b/README
index 26e0ec0d3a46654b78f5b6f67efecdf7f10d196c..ca694b5826e066e187b91609a92a6a492696828f 100644 (file)
--- a/README
+++ b/README
@@ -719,14 +719,13 @@ Configuring the bsddb and dbm modules
 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
 ---------------------------
index 3681589d0741adf63c2cecf4a853deb916cd8850..61c1fec6dfa0a03ce633d5e19336d2b53e460716 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -571,14 +571,13 @@ class PyBuildExt(build_ext):
 
         # 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