# HG changeset patch # User pacien # Date 1680862304 -7200 # Node ID 787e7caf887af1a0b6dae0bd1319a8c535ac9ead # Parent 2231f7d8a60266bb6907b1708400c970ed799017 run-tests: remove obsolete coverage check and packaging import (issue6805) This removes an obsolete `coverage` version check (version from a decade ago). This also conveniently removes the dependency over `packaging.version`, which requires some additional installation since Python 3.10. diff -r 2231f7d8a602 -r 787e7caf887a tests/run-tests.py --- a/tests/run-tests.py Wed Apr 05 11:58:25 2023 +0200 +++ b/tests/run-tests.py Fri Apr 07 12:11:44 2023 +0200 @@ -54,7 +54,6 @@ import json import multiprocessing import os -import packaging.version as version import platform import queue import random @@ -794,9 +793,7 @@ try: import coverage - covver = version.Version(coverage.__version__) - if covver < version.Version("3.3"): - parser.error('coverage options require coverage 3.3 or later') + coverage.__version__ # silence unused import warning except ImportError: parser.error('coverage options now require the coverage package')