Skip to content

Commit 8fec1c3

Browse files
Adds paren to deps for hidden extra constraint (#4108)
Fix #4107
1 parent 35ce37d commit 8fec1c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
<!-- Changes to how Black is packaged, such as dependency requirements -->
2424

25+
- Fixed a bug that included dependencies from the `d` extra by default (#4108)
26+
2527
### Parser
2628

2729
<!-- Changes to the parser or to version autodetection -->

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ preview = true
2525
# NOTE: You don't need this in your own Black configuration.
2626

2727
[build-system]
28-
requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
28+
requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
2929
build-backend = "hatchling.build"
3030

3131
[project]
@@ -187,7 +187,7 @@ CC = "clang"
187187
build-frontend = { name = "build", args = ["--no-isolation"] }
188188
# Unfortunately, hatch doesn't respect MACOSX_DEPLOYMENT_TARGET
189189
before-build = [
190-
"python -m pip install 'hatchling==1.18.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy==1.7.1' 'click==8.1.3'",
190+
"python -m pip install 'hatchling==1.20.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy==1.7.1' 'click==8.1.3'",
191191
"""sed -i '' -e "600,700s/'10_16'/os.environ['MACOSX_DEPLOYMENT_TARGET'].replace('.', '_')/" $(python -c 'import hatchling.builders.wheel as h; print(h.__file__)') """,
192192
]
193193

0 commit comments

Comments
 (0)