Fail wheel builds closed when ragfs-python cannot be bundled.
(self)
| 386 | print(error_detail) |
| 387 | |
| 388 | def _should_require_ragfs_artifact(self) -> bool: |
| 389 | """Fail wheel builds closed when ragfs-python cannot be bundled.""" |
| 390 | required = os.environ.get("OV_REQUIRE_RAGFS_BUILD") |
| 391 | if required is not None: |
| 392 | return required == "1" |
| 393 | return "bdist_wheel" in sys.argv |
| 394 | |
| 395 | def build_extension(self, ext): |
| 396 | """Build a single Python native extension artifact using CMake.""" |
no test coverage detected