fix(lang/py): componentize py usage#296
Merged
vados-cosmonic merged 4 commits intoAug 5, 2025
Merged
Conversation
This commit fixes the discrepancy due to changes in how `componentize-py` works that have been merged recently. Both bindings generation and the generated code have changed such that the guide is no longer correct as to what to import and implement -- the new docs prefer a `wit_world` import which is generated.
This commit removes the section regarding exporting interfaces (instead of functions) as the code was long ago changed to use interfaces by default.
womeier
reviewed
Aug 4, 2025
Co-authored-by: Wolfgang Meier <womeier@posteo.de>
Collaborator
Author
|
Hey @itowlson if you wouldn't mind this one too! |
itowlson
approved these changes
Aug 5, 2025
Collaborator
itowlson
left a comment
There was a problem hiding this comment.
I'm not sufficiently familiar with componentize-py to verify on correctness, but if you're okay with that, then have at it!
catamorphism
pushed a commit
to catamorphism/component-docs
that referenced
this pull request
Aug 12, 2025
* fix(lang/py): componentize-py update This commit fixes the discrepancy due to changes in how `componentize-py` works that have been merged recently. Both bindings generation and the generated code have changed such that the guide is no longer correct as to what to import and implement -- the new docs prefer a `wit_world` import which is generated. * fix(lang/py): remove section regarding exporting interface This commit removes the section regarding exporting interfaces (instead of functions) as the code was long ago changed to use interfaces by default. * refactor(lang/py): use markdown include for WIT file * fix(lang/py): exports interface in python docs Co-authored-by: Wolfgang Meier <womeier@posteo.de> --------- Co-authored-by: Wolfgang Meier <womeier@posteo.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit fixes a few issues with
componentize-pyin the Python docs and fixes the docs as well, removing a no-longer-used section.