From 601f82e57247edf8505696304fbc7a3da4013cfc Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Thu, 28 Jun 2018 13:19:38 +0200 Subject: fix PEP 518 configuration Add `build-system.requires` key to `pyproject.toml`: - this is necessary with pip 10.0.1, as otherwise the defaults will be to require both `setuptools` and `wheel` (and we only need the later) - a `pyproject.toml` with no `build-system.requires` key will be invalid and rejected by a future version of pip (see https://github.com/pypa/pip/issues/5416#issuecomment-399638608) --- changelog.d/1404.misc.rst | 1 + pyproject.toml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog.d/1404.misc.rst diff --git a/changelog.d/1404.misc.rst b/changelog.d/1404.misc.rst new file mode 100644 index 00000000..2d4bd629 --- /dev/null +++ b/changelog.d/1404.misc.rst @@ -0,0 +1 @@ +Fix PEP 518 configuration: set build requirements in ``pyproject.toml`` to ``["wheel"]``. diff --git a/pyproject.toml b/pyproject.toml index cffd0e9a..07c23bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +[build-system] +requires = ["wheel"] + [tool.towncrier] package = "setuptools" package_dir = "setuptools" -- cgit v1.2.1