diff --git a/debian/control b/debian/control index 4f0deb1b1..bb15b913e 100644 --- a/debian/control +++ b/debian/control @@ -44,6 +44,8 @@ Build-Depends: python3-ruamel.yaml, python3-setuptools, python3-setuptools-git, +# python3-tomli is not available in Bullseye + python3-tomli | python3-coverage (<< 6.0), python3-yaml, sshpass, xmlto, diff --git a/debian/tests/control b/debian/tests/control index 7af979174..91a1d9644 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -14,4 +14,4 @@ Restrictions: needs-root # Run unit and integration tests on installed files. # Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/plinth/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term -Depends: git, python3-openssl, python3-pytest, python3-pytest-cov, python3-pytest-django, @ +Depends: git, python3-openssl, python3-pytest, python3-pytest-cov, python3-pytest-django, python3-tomli | python3-coverage (<< 6.0), @ diff --git a/setup.py b/setup.py index 9855f177a..936690c98 100755 --- a/setup.py +++ b/setup.py @@ -309,6 +309,7 @@ setuptools.setup( 'pytest-django', 'flake8', 'requests', + 'tomli', ], package_data={ '': ['templates/*', 'static/*', 'locale/*/LC_MESSAGES/*.mo']