Gramps master - failures in running import tests depending on bsddb3

Hi devs,

Environment: Windows 11, Ubuntu 24.04.3 running under WSL, Gramps master branch

Gramps builds and runs; the issue I am running into is with unit tests. I’ve followed the CI scripts to resolve most dependencies, but five tests from imports_test.py are failing due to a bsddb3 dependency, and all the errors look similar to this one:

======================================================================
FAIL: test_imp_3_4_5_zip (gramps.plugins.test.imports_test.TestImports.test_imp_3_4_5_zip)
test_imp_3_4_5_zip
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/codefarmer/dev/grprj/gramps/gramps/plugins/test/imports_test.py", line 256, in db_load
    db = make_database(dbid)
         ^^^^^^^^^^^^^^^^^^^
  File "/home/codefarmer/dev/grprj/gramps/gramps/gen/db/utils.py", line 88, in make_database
    raise Exception(f"can't load database backend: '{plugin_id}'")
Exception: can't load database backend: 'bsddb'

The pre-req python3-bsddb3 is already the newest version (6.2.9-2build6). However, running python -m pip install bsddb3 fails with the following (only one line shown out of many):

Can't find a local Berkeley DB installation.

Questions:

  1. Are these tests supposed to pass?
  2. Is there a quick way to fix this?
  3. The configuration info on the Berkeley DB page seems outdated, particularly with regard to enabling a setting in gramps.ini file.

Thanks!