We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ddca9 commit cb9b380Copy full SHA for cb9b380
src/semiwrap/makeplan.py
@@ -101,6 +101,10 @@ class ExtensionModule:
101
install_path: pathlib.Path
102
103
104
+class PlanError(Exception):
105
+ pass
106
+
107
108
def _split_ns(name: str) -> T.Tuple[str, str]:
109
ns = ""
110
idx = name.rfind("::")
@@ -150,7 +154,10 @@ def generate(self):
150
154
if extension.ignore:
151
155
continue
152
156
153
- yield from self._process_extension_module(package_name, extension)
157
+ try:
158
+ yield from self._process_extension_module(package_name, extension)
159
+ except Exception as e:
160
+ raise PlanError(f"{package_name} failed") from e
161
162
# TODO: this conditional probably should be done in the build system instead
163
# cannot build pyi files when cross-compiling
0 commit comments