- Update to 0.12.0 * Raise SystemExit on expected errors * Revise error messages for consistency * Support setuptools-style macOS cross compilation via ARCHFLAGS * Allow to overwrite macOS platform tag via _PYTHON_HOST_PLATFORM * Include (similar) allowed keys in error messages - Refresh test wheels OBS-URL: https://build.opensuse.org/request/show/1058265 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meson-python?expand=0&rev=10
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
We already have the meson_python wheel, can't built it in isolated mode inside OBS
|
|
|
|
Index: meson_python-0.12.0/tests/conftest.py
|
|
===================================================================
|
|
--- meson_python-0.12.0.orig/tests/conftest.py
|
|
+++ meson_python-0.12.0/tests/conftest.py
|
|
@@ -142,17 +142,7 @@ def disable_pip_version_check():
|
|
|
|
@pytest.fixture(scope='session')
|
|
def pep518_wheelhouse(tmp_path_factory):
|
|
- wheelhouse = tmp_path_factory.mktemp('wheelhouse')
|
|
- meson_python = str(package_dir.parent.parent)
|
|
- # Populate wheelhouse with wheel for the following packages and
|
|
- # their dependencies. Wheels are downloaded from PyPI or built
|
|
- # from the source distribution as needed. Sources or wheels in
|
|
- # the pip cache are used when available.
|
|
- packages = [
|
|
- meson_python,
|
|
- ]
|
|
- subprocess.run([sys.executable, '-m', 'pip', 'wheel', '--wheel-dir', str(wheelhouse), *packages], check=True)
|
|
- return str(wheelhouse)
|
|
+ return str(package_dir.parent.parent / 'build')
|
|
|
|
|
|
@pytest.fixture
|