From 4ec8bb0abd22e3491f9dee13a6ffb20179c9a55b Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 12 Aug 2026 14:42:15 -0400 Subject: [PATCH 1/2] fix: validate inherit rules eagerly and loudly - Validate inherit rule keys against the known option names, with did-you-mean suggestions; a missing colon or a typo in CIBW_INHERIT is now an error instead of a silent no-op. - Require a single token per rule; convert shlex ValueError and non-string TOML values to OptionsReaderError instead of tracebacks. - Parse overrides and CIBW_INHERIT eagerly in OptionsReader.__init__ so malformed config fails fast on every code path. - Convert OptionFormat.NotSupported to OptionsReaderError when an append/prepend rule hits a non-mergeable option. - Filter the xbuild-tools NUL sentinel out of merged lists. - Scope platform env rules with CIBW_INHERIT_ instead of a - suffix inside CIBW_INHERIT keys; CIBW_INHERIT rules also apply to CIBW_