1
0
python-meson-python/mesonpy-no-wheel-rebuild.patch
Dirk Mueller 5451cf6f41 Accepting request 1037898 from home:bnavigator:branches:devel:languages:python
------------------------------------------------------------------
- Update to 0.11.0
  * Project moved to the mesonbuild organization
  * Determine wheel tags by introspecting the Python interpreter
  * Allow users to pass options directly to Meson via the
    tools.meson-python.args.{dist,setup,compile,install}
    pyproject.toml keys, and the {dist,setup,compile,install}-args
    frontend config options
  * Use the system ninja dependency if possible
  * Include files generated by mesonadd_dist_script to sdists
  * Use tomllib on Python>=3.11
  * Drop wheel dependency in favor of in-house solution
  * Fix bug where the entry_points.txt file wasn't being generated
  * Fix bug where Cygwin Python extensions were not being noticed
- Drop meson-subdir-fix.patch fixed upstream
- Add mesonpy-no-wheel-rebuild.patch

OBS-URL: https://build.opensuse.org/request/show/1037898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meson-python?expand=0&rev=8
2022-11-24 13:51:03 +00:00

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.11.0/tests/conftest.py
===================================================================
--- meson_python-0.11.0.orig/tests/conftest.py
+++ meson_python-0.11.0/tests/conftest.py
@@ -133,17 +133,7 @@ def disable_pip_version_check():
@pytest.fixture(scope='session')
def pep518_wheelhouse(tmpdir_factory):
- wheelhouse = tmpdir_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