Commit 81f56a3
: regualar rlib, not a python extension module
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: D892474511 parent c06bfb0 commit 81f56a3
File tree
3 files changed
+2
-3
lines changed- monarch_extension
- monarch_hyperactor
- src
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
0 commit comments