Skip to content

Commit 1988666

Browse files
committed
Update new _WheelBuilder inits
Signed-off-by: Michał Górny <[email protected]>
1 parent 618319b commit 1988666

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mesonpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ def wheel(self, directory: Path) -> pathlib.Path:
11211121
def editable(self, directory: Path) -> pathlib.Path:
11221122
"""Generates an editable wheel in the specified directory."""
11231123
self.build()
1124-
builder = _EditableWheelBuilder(self._metadata, self._manifest, self._limited_api, self._allow_windows_shared_libs)
1124+
builder = _EditableWheelBuilder(self._metadata, self._manifest, self._limited_api, self._allow_windows_shared_libs, self._is_cross, self._build_details)
11251125
return builder.build(directory, self._source_dir, self._build_dir, self._build_command, self._editable_verbose)
11261126

11271127

tests/test_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_ios_platform_tag(monkeypatch):
102102
def wheel_builder_test_factory(content, pure=True, limited_api=False):
103103
manifest = defaultdict(list)
104104
manifest.update({key: [(pathlib.Path(x), os.path.join('build', x)) for x in value] for key, value in content.items()})
105-
return mesonpy._WheelBuilder(None, manifest, limited_api, False)
105+
return mesonpy._WheelBuilder(None, manifest, limited_api, False, False, None)
106106

107107

108108
def test_tag_empty_wheel():

tests/test_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def test_entrypoints(wheel_full_metadata):
265265
def test_top_level_modules(package_module_types):
266266
with mesonpy._project() as project:
267267
builder = mesonpy._EditableWheelBuilder(
268-
project._metadata, project._manifest, project._limited_api, project._allow_windows_shared_libs)
268+
project._metadata, project._manifest, project._limited_api, project._allow_windows_shared_libs, False, None)
269269
assert set(builder._top_level_modules) == {
270270
'file',
271271
'package',

0 commit comments

Comments
 (0)