diff --git a/AUTHORS.rst b/AUTHORS.rst index 4672a0211..60d4f6850 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -23,3 +23,4 @@ Contributors * Noah Pendleton * John Vandenberg * Ben Mares +* Michał Górny diff --git a/src/pyscaffold/dependencies.py b/src/pyscaffold/dependencies.py index 1f70b67d1..7a4d961f6 100644 --- a/src/pyscaffold/dependencies.py +++ b/src/pyscaffold/dependencies.py @@ -8,7 +8,7 @@ # setuptools version is now enforced via `install_requires` -BUILD = ("setuptools_scm>=5", "wheel") +BUILD = ("setuptools_scm>=5",) """Dependencies that will be required to build the created project""" RUNTIME = ('importlib-metadata; python_version<"3.8"',) # TODO: Remove `importlib-metadata` when `python_requires = >= 3.8` @@ -22,10 +22,6 @@ # version 46.1.0 fix a bug with setuptools.finalize_distribution_options, # which is a hook used by setuptools_scm (better safe then sorry). -# TODO: Maybe specify a min version for wheel? -# For the time being, there is an issue preventing us to do that: -# https://github.com/pypa/pep517/issues/86 - REQ_SPLITTER = re.compile(r";(?!\s*(python|platform|implementation|os|sys)_)", re.M) """Regex to split requirements that considers both `setup.cfg specs`_ and `PEP 508`_ (in a *good enough* simplified fashion). diff --git a/tests/system/test_common.py b/tests/system/test_common.py index 6c1a98814..904451a78 100644 --- a/tests/system/test_common.py +++ b/tests/system/test_common.py @@ -38,7 +38,7 @@ def test_ensure_inside_test_venv(putup): assert ".tox" in putup -BUILD_DEPS = ["wheel", "setuptools_scm"] +BUILD_DEPS = ["setuptools_scm"] def test_putup(cwd, putup): diff --git a/tests/test_update.py b/tests/test_update.py index 5013e5b06..b06cf0413 100644 --- a/tests/test_update.py +++ b/tests/test_update.py @@ -331,7 +331,7 @@ def pyproject_from_old_extension(tmpfolder): """Old pyproject.toml file as produced by pyscaffoldext-pyproject""" config = """\ [build-system] - requires = ["setuptools", "wheel"] + requires = ["setuptools"] """ pyproject = Path(tmpfolder) / "pyproject.toml" pyproject.write_text(dedent(config))