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 f9cbe0d commit b89b597Copy full SHA for b89b597
hatch_build.py
@@ -21,7 +21,7 @@ def initialize(self, version: str, build_data: dict[str, Any]) -> None:
21
frame = frame_info.frame
22
module = inspect.getmodule(frame)
23
if module and module.__name__.startswith("hatchling.build") and "config_settings" in frame.f_locals:
24
- config_settings = frame.f_locals["config_settings"]
+ config_settings = frame.f_locals["config_settings"] or {}
25
26
package_list = config_settings.get("CONAN_BUILD")
27
if package_list:
0 commit comments