diff --git a/pyproject.toml b/pyproject.toml index e3f25bf7..fd6ab5f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,7 @@ [build-system] requires = [ - "setuptools >= 42", - "setuptools_scm[toml] >= 3.5.0", - "setuptools_scm_git_archive >= 1.1", - "wheel >= 0.33.6", + "setuptools >= 45", + "setuptools_scm[toml] >= 7.0.0", ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 2c120491..05a7ea89 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ packages=["pytest_html"], package_data={"pytest_html": ["resources/*"]}, entry_points={"pytest11": ["html = pytest_html.plugin"]}, - setup_requires=["setuptools_scm"], + setup_requires=["setuptools_scm[toml]>=7.0.0"], install_requires=["py>=1.8.2", "pytest>=5.0,!=6.0.0", "pytest-metadata"], license="Mozilla Public License 2.0 (MPL 2.0)", keywords="py.test pytest html report",