- Issue #6949: Allow the _bsddb extension to be built with db-4.8.x.
diff --git a/setup.py b/setup.py
index a86ae1c..fa92d05 100644
--- a/setup.py
+++ b/setup.py
@@ -707,7 +707,7 @@
         # a release.  Most open source OSes come with one or more
         # versions of BerkeleyDB already installed.
 
-        max_db_ver = (4, 7)
+        max_db_ver = (4, 8)
         min_db_ver = (3, 3)
         db_setup_debug = False   # verbose debug prints from this script?