Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D89247451

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 16, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 16, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89247451.

Summary:
convert `monarch_hyperactor` from `rust_python_library` to `rust_library` and add `extension-module` to `monarch_extension`

`monarch_hyperactor` is not a Python extension module - it has no `#[pymodule]` entry point. the actual Python extension is `monarch_extension`, which depends on `monarch_hyperactor` and exposes its types to Python.

this change converts `monarch_hyperactor` from `rust_python_library` to `rust_library`, removing the `dependencies_override`. it adds the `extension-module` feature to pyo3 in `monarch_extension` where it belongs, removes a non-functional `#[pymodule]` attribute from `monarch_hyperactor/src/channel.rs`, and removes incorrect dependencies from Python type stubs that were depending on `monarch_hyperactor` instead of `monarch_extension`.

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant