borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.24k stars 744 forks source link

vagrant: freebsd14 box broken #8508

Closed ThomasWaldmann closed 2 weeks ago

ThomasWaldmann commented 3 weeks ago

the python 3.9 there has issues:

freebsd14: py39-fuse2: commands[0]> py.test -v -n 8 -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs borg.testsuite
    freebsd14: Traceback (most recent call last):
    freebsd14:   File "/vagrant/borg/borg/.tox/py39-fuse2/bin/py.test", line 8, in <module>
    freebsd14:     sys.exit(console_main())
    freebsd14:   File "/vagrant/borg/borg/.tox/py39-fuse2/lib/python3.9/site-packages/_pytest/config/__init__.py", line 201, in console_main
    freebsd14:     code = main()
    freebsd14:   File "/vagrant/borg/borg/.tox/py39-fuse2/lib/python3.9/site-packages/_pytest/config/__init__.py", line 156, in main
    freebsd14:     config = _prepareconfig(args, plugins)
    freebsd14:   File "/vagrant/borg/borg/.tox/py39-fuse2/lib/python3.9/site-packages/_pytest/config/__init__.py", line 341, in _prepareconfig
    freebsd14:     config = pluginmanager.hook.pytest_cmdline_parse(
    ...
    freebsd14: ModuleNotFoundError: No module named '_sqlite3'
ThomasWaldmann commented 2 weeks ago

Only py 3.9 and 3.11 are broken. 3.10 and 3.12 work.

for py310, we explicitly installed py310-sqlite3. py312 comes from pyenv.

ThomasWaldmann commented 2 weeks ago

fixed by #8520.