mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
debian, setup.py: Add dependency on python3-tomli
Closes: #2169. python3-coverage >= 6.0 requires python3-tomli to be installed when using pyproject.toml. There is no hard dependency on tomli for the coverage package perhaps due to its optional nature. However, python3-toml is not available in Bullseye. So, require a version of python3-coverage that does not require python3-tomli. Tests: - Run git-pbuilder for stable and unstable. Builds were successful. - Run autopkgtest for stable and unstable. Dependencies were satisfied but there was an unrelated error during test collection. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
03a805888d
commit
6199718a19
2
debian/control
vendored
2
debian/control
vendored
@ -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,
|
||||
|
||||
2
debian/tests/control
vendored
2
debian/tests/control
vendored
@ -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), @
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user