forked from pool/python-scikit-build-core
445638345f
* This version fixes an issue rebuilding if you have a build-dir set and are using isolated build environments. The cache is now correctly cleared if this occurs. An issue with a certain style of gitignore was also fixed. - Version 0.10.4 * This version fixes the logic for handling the sysconfig variables on Windows for the values that used to be only provided on UNIX. This mostly affects targeting the Stable ABI on Python 3.13. Editable install rebuilds now work if you have a wheel.install-dir set, too. - Version 0.10.3 * This release fixes an issue on Windows systems with non-utf-8 default encodings for Python <3.14 when reading gitignores with special characters. - Version 0.10.2 * This release fixes a regression with 0.10 where a manually included file in an sdist would get included twice, affecting some tools (like uv). - Version 0.10.1 * Fix crash when building inside a submodule by @ausbin in #854 * cmake.minimum-version logic issue by @henryiii in #853 - Version 0.10.0 * This version adds auto CMake version discovery, opt-in auto minimum-version, rebuild on failure support, quite a few new override options greatly expanding the static config options for builds, more powerful regexs, and more. ## New features: * Auto CMake version by @henryiii in #804 * Auto minimum-version by @henryiii in #798 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=11
58 lines
1.3 KiB
Diff
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:
|