diff -up cobbler-3.3.1/setup.py.nocov cobbler-3.3.1/setup.py --- cobbler-3.3.1/setup.py.nocov 2022-02-18 04:55:15.000000000 -0700 +++ cobbler-3.3.1/setup.py 2022-02-28 21:51:44.969184938 -0700 @@ -18,7 +18,6 @@ from setuptools import find_packages from sphinx.setup_command import BuildDoc import codecs -from coverage import Coverage import pwd import shutil import subprocess @@ -360,15 +359,8 @@ class test_command(Command): def run(self): import pytest - cov = Coverage() - cov.erase() - cov.start() - result = pytest.main() - cov.stop() - cov.save() - cov.html_report(directory="covhtml") sys.exit(int(bool(len(result.failures) > 0 or len(result.errors) > 0))) @@ -497,7 +489,6 @@ if __name__ == "__main__": }, license="GPLv2+", setup_requires=[ - "coverage", "distro", "setuptools", "sphinx", @@ -517,7 +508,7 @@ if __name__ == "__main__": ], extras_require={ "lint": ["pyflakes", "pycodestyle"], - "test": ["pytest", "pytest-cov", "codecov", "pytest-mock"] + "test": ["pytest", "pytest-mock"] }, packages=find_packages(exclude=["*tests*"]), scripts=[