Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin setuptools-scm build time dependency #2457

Merged
merged 3 commits into from Aug 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -13,6 +13,7 @@
trailing comma (#2384)
- Parsing support has been added for unparenthesized walruses in set literals, set
comprehensions, and indices (#2447).
- Pin `setuptools-scm` build-time dependency version (#2457)

### _Blackd_

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Expand Up @@ -23,7 +23,10 @@ extend-exclude = '''
# NOTE: You don't need this in your own Black configuration.

[build-system]
requires = ["setuptools>=41.0", "setuptools-scm", "wheel"]
# 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"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
@@ -1,2 +1,3 @@
[options]
setup_requires = setuptools_scm
setup_requires =
setuptools_scm~=6.0.1