Skip to content

Add maturin import hook for development #430

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Apr 23, 2025

The main problem here is if I manually develop a release build for testing

> uv run maturin develop -m obstore/Cargo.toml --release

then the maturin import hook will still rebuild with a debug wheel when I start Python:

>>> import obstore
building "obstore"
rebuilt and loaded package "obstore" in 5.832s
<frozen importlib._bootstrap>:228: RuntimeWarning: obstore has not been compiled in release mode. Performance will be degraded.

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.

1 participant