Skip to content
Discussion options

Josverl
Oct 12, 2025
Collaborator Sponsor

You must be logged in to vote

After a good night's sleep I was able to figure out how to pass options from one manifest to another.
See manifestfile.py:

It appears this is not yet documented in docs 📗

Example on how to use this that also allow different options to be passed to different modules/requires:

board/variant manifest.py:

require(
    "bundle-typing",
    # opt_level=2, # defaults to 3
)

bundle-typing/manifest.py:

options.defaults(opt_level=3, extensions=False) 

require("__future__", opt_level=options.opt_level)
require("typing", opt_level=options.opt_level)
require("abc", opt_level=options.opt_level)

typing/manifest.py:

# default to opt_level …

Replies: 1 comment

Comment options

Josverl
Oct 13, 2025
Collaborator Author Sponsor

You must be logged in to vote
0 replies
Answer selected by Josverl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant