Skip to content

fix(lang/py): componentize py usage #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vados-cosmonic
Copy link
Collaborator

This commit fixes a few issues with componentize-py in the Python docs and fixes the docs as well, removing a no-longer-used section.

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.
@vados-cosmonic vados-cosmonic enabled auto-merge (squash) August 4, 2025 10:31
@vados-cosmonic
Copy link
Collaborator Author

Hey @itowlson if you wouldn't mind this one too!

Copy link
Collaborator

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sufficiently familiar with componentize-py to verify on correctness, but if you're okay with that, then have at it!

@vados-cosmonic vados-cosmonic merged commit 42d27ba into bytecodealliance:main Aug 5, 2025
8 checks passed
@vados-cosmonic vados-cosmonic deleted the fix(lang/py)=componentize-py-usage branch August 5, 2025 03:15
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.

3 participants