Skip to content

Commit b17c2e3

Browse files
committed
install wheel into build environments in noxfile
1 parent 2de2b9a commit b17c2e3

File tree

10 files changed

+12
-5
lines changed

10 files changed

+12
-5
lines changed

examples/hello-world-script/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@nox.session()
99
def test(session: nox.Session):
10-
session.install(SETUPTOOLS_RUST)
10+
session.install(SETUPTOOLS_RUST, "wheel")
1111
session.install("--no-build-isolation", ".")
1212
session.run("hello-world-script", *session.posargs)
1313

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"

examples/hello-world/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@nox.session()
99
def test(session: nox.Session):
10-
session.install(SETUPTOOLS_RUST)
10+
session.install(SETUPTOOLS_RUST, "wheel")
1111
session.install("--no-build-isolation", ".")
1212
session.run("hello-world", *session.posargs)
1313

examples/hello-world/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"

examples/html-py-ever/noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
@nox.session()
99
def test(session: nox.Session):
10-
session.install(SETUPTOOLS_RUST, "pytest", "pytest-benchmark", "beautifulsoup4")
10+
session.install(
11+
SETUPTOOLS_RUST, "wheel", "pytest", "pytest-benchmark", "beautifulsoup4"
12+
)
1113
session.install("--no-build-isolation", ".")
1214
session.run("pytest", *session.posargs)
1315

examples/html-py-ever/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"

examples/namespace_package/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@nox.session()
99
def test(session: nox.Session):
10-
session.install(SETUPTOOLS_RUST, "pytest")
10+
session.install(SETUPTOOLS_RUST, "wheel", "pytest")
1111
session.install("--no-build-isolation", ".")
1212
session.run("pytest", *session.posargs)
1313

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"

examples/rust_with_cffi/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@nox.session()
99
def test(session: nox.Session):
10-
session.install(SETUPTOOLS_RUST, "pytest", "cffi")
10+
session.install(SETUPTOOLS_RUST, "wheel", "pytest", "cffi")
1111
session.install("--no-build-isolation", ".")
1212
session.run("pytest", *session.posargs)
1313

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)