I've done a bit of testing, and my prelim 1.2.2 packaging seems to work fine. Also a tiny bit more yak shaving.
I have not tried to get the unit testing stuff working with the debian/tests automated test suite business. But if that were done, this version might be able to get past the freeze. (Also a good idea for its own sake, of course.) There's a lot of test stuff, and it's set up with Docker and tox. Just "cd testing && ./run_tests" downloads all sorts of python stuff and runs it without Docker just fine (see below), but ways to directly invoke just the tests are documented in README-TESTING.md. Bottom line, I don't see any particular difficulty in getting it to work in an autopkgtest / DEP-8 setup. "./setup.py test" from the main directory might even be enough, once all the right dependencies are marshalled in debian/tests/control. Cheers, --Barak. testing/functional/test_restart.py .................................. [ 81%] testing/functional/test_selection.py ............................................................................... [ 98%] testing/functional/test_verify.py ........ [100%] ====================================================================== warnings summary ====================================================================== .tox/py311/lib/python3.11/site-packages/future/standard_library/__init__.py:65 /home/barak/src/git/duplicity/.tox/py311/lib/python3.11/site-packages/future/standard_library/__init__.py:65: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ------------------------------------------------ generated xml file: /home/barak/src/git/duplicity/report.xml ------------------------------------------------ ================================================== 467 passed, 10 skipped, 1 warning in 1044.34s (0:17:24) =================================================== __________________________________________________________________________ summary ___________________________________________________________________________ code: commands succeeded ERROR: py27: InterpreterNotFound: python2.7 ERROR: py35: InterpreterNotFound: python3.5 ERROR: py36: InterpreterNotFound: python3.6 ERROR: py37: InterpreterNotFound: python3.7 ERROR: py38: InterpreterNotFound: python3.8 ERROR: py39: InterpreterNotFound: python3.9 ERROR: py310: InterpreterNotFound: python3.10 py311: commands succeeded