tests/python/wheel: update for recent python-build
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4fcc20b7be
commit
c1ded809ab
|
@ -37,7 +37,7 @@ pkginfo = ["pkginfo"]
|
|||
# DOAP
|
||||
rdf = ["rdflib"]
|
||||
# Python packaging
|
||||
wheel = ["build"]
|
||||
wheel = ["build>=1.2.0"]
|
||||
# package.yaml, pubspec.yaml, shard.yml
|
||||
yaml = ["PyYAML"]
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ def test_pkg_empty(monkeypatch: pytest.MonkeyPatch, mxml: MetadataXML, dirname:
|
|||
# calls to 'pip' can make this test fail
|
||||
def blackhole(*args, **kwargs):
|
||||
pass
|
||||
monkeypatch.setattr(build.env, "_subprocess", blackhole)
|
||||
monkeypatch.setattr(build.env, "run_subprocess", blackhole)
|
||||
|
||||
gen = WheelGenerator(Path(__file__).parent / "pkg_empty" / dirname)
|
||||
assert gen.active
|
||||
|
|
Loading…
Reference in New Issue