From ececee7da77d6930443206bc5527242502dface6 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Fri, 3 Sep 2021 16:13:13 +0100 Subject: [PATCH] Fix missing toml extra Fixed breakage uncovered by setuptools-scm 6.3.0 where installation would fail for project that missed to mention the toml extra. --- pyproject.toml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 30e62974475..bdd21d77f05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ extend-exclude = ''' # We're pinning setuptools-scm to bugfix versions only because for build-time # deps having them work on install by default is really important. Especially # since it's hard for users to work-around the specified build requirements. -requires = ["setuptools>=41.0", "setuptools_scm~=6.0.1", "wheel"] +requires = ["setuptools>=41.0", "setuptools_scm[toml]~=6.0.1", "wheel"] build-backend = "setuptools.build_meta" [tool.pytest.ini_options] diff --git a/setup.cfg b/setup.cfg index dbd667e8f19..63787c75754 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [options] setup_requires = - setuptools_scm~=6.0.1 + setuptools_scm[toml]~=6.0.1