tests/python/wheel: update for recent python-build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anna “CyberTailor” 2024-04-22 01:33:58 +05:00
parent 4fcc20b7be
commit c1ded809ab
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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