Skip to content

Commit 8adba27

Browse files
committed
Update hatch config for hatch v1.16
See pypa/hatch#2113 for more info
1 parent 28ac85b commit 8adba27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,15 @@ installer = "uv"
164164
#--------------- Build and check your package ---------------#
165165

166166
# This table installs the tools you need to test and build your package
167+
# `builder = true` needed since hatch 1.16: https://github.com/pypa/hatch/issues/2113
167168
[tool.hatch.envs.build]
168169
description = """Test the installation the package."""
169170
dependencies = [
170171
"pip",
171172
"twine",
172173
]
173174
detached = true
175+
builder = true
174176

175177
# This table installs created the command hatch run install:check which will build and check your package.
176178
[tool.hatch.envs.build.scripts]

0 commit comments

Comments
 (0)