Skip to content

Commit e968c61

Browse files
committed
Update nox session to use new build script
1 parent 1d270e7 commit e968c61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def build_release(session: nox.Session) -> None:
339339
)
340340

341341
session.log("# Install dependencies")
342-
session.install("build", "twine")
342+
session.install("twine")
343343

344344
with release.isolated_temporary_checkout(session, version) as build_dir:
345345
session.log(
@@ -375,11 +375,11 @@ def build_dists(session: nox.Session) -> List[str]:
375375
)
376376

377377
session.log("# Build distributions")
378-
session.run("python", "-m", "build", silent=True)
378+
session.run("python", "build-project.py", silent=True)
379379
produced_dists = glob.glob("dist/*")
380380

381381
session.log(f"# Verify distributions: {', '.join(produced_dists)}")
382-
session.run("twine", "check", *produced_dists, silent=True)
382+
session.run("twine", "check", "--strict", *produced_dists, silent=True)
383383

384384
return produced_dists
385385

0 commit comments

Comments
 (0)