test: sqlite tests on freebsd fail with ModuleNotFoundError: No module named '_sqlite3' #26819

issue MarcoFalke opened this issue on January 5, 2023
  1. MarcoFalke commented at 5:36 PM on January 5, 2023: member

    It would be good if the test was skipped instead, or if the documentation explained how to install py-sqlite.

    126/256 - wallet_descriptor.py --descriptors failed, Duration: 0 s
    stdout:
    stderr:
    Traceback (most recent call last):
      File "/tmp/cirrus-ci-build/bitcoin-core/test/functional/wallet_descriptor.py", line 7, in <module>
        import sqlite3
      File "/usr/local/lib/python3.9/sqlite3/__init__.py", line 57, in <module>
        from sqlite3.dbapi2 import *
      File "/usr/local/lib/python3.9/sqlite3/dbapi2.py", line 27, in <module>
        from _sqlite3 import *
    ModuleNotFoundError: No module named '_sqlite3'
    
  2. MarcoFalke added the label Bug on Jan 5, 2023
  3. MarcoFalke added the label Tests on Jan 5, 2023
  4. bitcoin deleted a comment on Jan 11, 2023
  5. fanquake referenced this in commit 2464375fb7 on Jan 11, 2023
  6. fanquake cross-referenced this on Jan 11, 2023 from issue doc: add databases/py-sqlite3 to FreeBSD test suite deps by fanquake
  7. MarcoFalke commented at 12:50 PM on January 12, 2023: member

    Closing for now, due to low priority. Bug fixes are still welcome

  8. MarcoFalke closed this on Jan 12, 2023

  9. bitcoin deleted a comment on Jan 12, 2023
  10. bitcoin locked this on Jan 12, 2023
  11. fanquake referenced this in commit 2deb6ac321 on Jan 12, 2023
  12. fanquake referenced this in commit eea73d465e on Jan 12, 2023
  13. MarcoFalke referenced this in commit 32834034a3 on Jan 13, 2023
  14. aguycalled referenced this in commit 1184856133 on Jan 27, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC