Skip to content

Commit 66040fb

Browse files
committed
[DEBUG] Add some more debug options
Signed-off-by: Cristian Le <[email protected]>
1 parent 7e47ef0 commit 66040fb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/scikit_build_core/repair_wheel/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pathlib import Path
1515
from typing import TYPE_CHECKING, ClassVar, Final
1616

17-
from .._logging import logger
17+
from .._logging import logger, rich_print
1818

1919
if TYPE_CHECKING:
2020
from ..build._wheelfile import WheelWriter
@@ -159,6 +159,8 @@ def get_library_dependencies(self, target: Target) -> list[Target]:
159159

160160
def repair_wheel(self) -> None:
161161
"""Repair the current wheel."""
162+
rich_print(self.configuration)
163+
162164
for target in self.targets:
163165
if self._filter_targets:
164166
if target.type == "STATIC_LIBRARY":

tests/test_repair_wheel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def test_full_build(
5959
if backend == "pip":
6060
isolated.install(
6161
"-v",
62+
"--config-settings=logging.level=DEBUG",
6263
"./extern",
6364
".",
6465
isolated=with_isolation,
@@ -70,6 +71,7 @@ def test_full_build(
7071
isolated.module("build", *build_args, "./extern")
7172
else:
7273
build_args.append("--no-isolation")
74+
build_args.append("--config-setting=logging.level=DEBUG")
7375
isolated.module("build", *build_args, ".")
7476
wheels = list(dist.glob("*.whl"))
7577
isolated.install(*wheels)

0 commit comments

Comments
 (0)