7
0
Files
python-scikit-build-core/scikit-build-core-offline-wheelhouse.patch
Benjamin Greiner b3227ea630 - Update to 0.11.0
* Update vendored pyproject-metadata (PEP 639 support)
  * 0.11+ default to metadata 2.2
  * Rework CMake search path settings and add cmake.root
  * add SKBUILD_SABI_VERSION
  * Support TOML lists in cmake.define
  * Add new field build.requires
  * Drop python<=3.7 support
  * Setuptools plugin: pyproject-toml only config support
  * Setuptools plugin: error for cmake_install_target
  * Lock during experimental editable.rebuild
  * Vendor updates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=17
2025-03-04 19:54:48 +00:00

58 lines
1.3 KiB
Diff

Index: scikit_build_core-0.10.5/tests/conftest.py
===================================================================
--- scikit_build_core-0.10.5.orig/tests/conftest.py
+++ scikit_build_core-0.10.5/tests/conftest.py
@@ -35,51 +35,7 @@ BASE = DIR.parent
@pytest.fixture(scope="session")
def pep518_wheelhouse(tmp_path_factory: pytest.TempPathFactory) -> Path:
- wheelhouse = tmp_path_factory.mktemp("wheelhouse")
-
- subprocess.run(
- [
- sys.executable,
- "-m",
- "pip",
- "wheel",
- "--wheel-dir",
- str(wheelhouse),
- f"{BASE}",
- ],
- check=True,
- )
- packages = [
- "build",
- "cython",
- "hatchling",
- "pip",
- "pybind11",
- "setuptools",
- "virtualenv",
- "wheel",
- ]
-
- if importlib.util.find_spec("cmake") is not None:
- packages.append("cmake")
-
- if importlib.util.find_spec("ninja") is not None:
- packages.append("ninja")
-
- subprocess.run(
- [
- sys.executable,
- "-m",
- "pip",
- "download",
- "-q",
- "-d",
- str(wheelhouse),
- *packages,
- ],
- check=True,
- )
- return wheelhouse
+ return os.getcwd() + '/build'
class VEnv: