diff --git a/CHANGES.md b/CHANGES.md index ef0a57d6142..4b5a291c7b9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ ### Packaging - Fix missing modules in self-contained binaries (#2466) +- Fix missing toml extra used during installation (#2475) ## 21.8b0 diff --git a/pyproject.toml b/pyproject.toml index 30e62974475..73e19608108 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,10 +23,7 @@ extend-exclude = ''' # NOTE: You don't need this in your own Black configuration. [build-system] -# 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>=45.0", "setuptools_scm[toml]>=6.3.1", "wheel"] build-backend = "setuptools.build_meta" [tool.pytest.ini_options] diff --git a/setup.cfg b/setup.cfg index dbd667e8f19..1a0a217eb91 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [options] setup_requires = - setuptools_scm~=6.0.1 + setuptools_scm[toml]>=6.3.1