Skip to content

Add the ability to set 'inherit' at all levels of the options cascade#2928

Draft
joerick wants to merge 1 commit into
mainfrom
inherit-extend
Draft

Add the ability to set 'inherit' at all levels of the options cascade#2928
joerick wants to merge 1 commit into
mainfrom
inherit-extend

Conversation

@joerick

@joerick joerick commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adds the ability for options set in

  • [tool.cibuildwheel]
  • [tool.cibuildwheel.platform]
  • env vars

to inherit the values previously set.

Previously one could only inherit in an 'overrides' config.

I always wanted this to be possible for env vars, but I also realised that when we were doing audit-command, it would be useful for projects to be able to extend the default audit (e.g. add twine check to the existing abi3audit command). So I think it makes sense to allow this at every user-configurable level.

Docs + tests still to come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant