From cb3a099f0447ecf475877c71f3e596a82338b5a0 Mon Sep 17 00:00:00 2001 From: Alexandre Detiste Date: Mon, 28 Jul 2025 19:16:20 +0200 Subject: [PATCH] debian, pyproject.toml: Remove ancient python3-tomli workaround Thanks to git blame I found why python3-tomli had been added back then: 6199718a19383d8d070b7bdc9d26ead71a9d26dd python3-tomli is slowly being sunset in favor of tomllib from the Standard Library: https://wiki.debian.org/Python/Backports Reviewed-by: Sunil Mohan Adapa --- debian/control | 2 -- debian/tests/control | 2 +- pyproject.toml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/debian/control b/debian/control index a47daa59b..b0505b7f5 100644 --- a/debian/control +++ b/debian/control @@ -52,8 +52,6 @@ Build-Depends: python3-setuptools, python3-setuptools-git, python3-systemd, -# python3-tomli is needed by python3-coverage when pyproject.toml is used - python3-tomli, python3-typeshed, python3-yaml, sshpass, diff --git a/debian/tests/control b/debian/tests/control index 631741fbe..87e9e7256 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -14,5 +14,5 @@ Restrictions: needs-root, breaks-testbed # Run unit and integration tests on installed files. # Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term -Depends: e2fsprogs, git, python3-pytest, python3-pytest-cov, python3-pytest-django, python3-tomli, @ +Depends: e2fsprogs, git, python3-pytest, python3-pytest-cov, python3-pytest-django, @ Restrictions: breaks-testbed diff --git a/pyproject.toml b/pyproject.toml index 9c3799743..3d17510d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,6 @@ test = [ "pytest-django", "flake8", "requests", - "tomli", ] [project.urls]