You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Couldn't find the symbol `PyInit_pyqir` in the native library. Python will fail to import this module. If you're using pyo3, check that `#[pymodule]` uses `pyqir` as module name
and failure to import the pyqir._native module at runtime. The behavior might be related to the change in 0.15.2: PyO3/maturin#1608
To Reproduce
Steps to reproduce the behavior:
Install a recent maturin version
cd into pyqir/
Run maturin build --release -F llvm14-0
See warning
Expected behavior
The warning should not happen. The resulting module should be importable.
System information
Tried on arch with maturin 1.0.1 installed as well as during NixOS packaging, where the package build with 23.05 stable realese shipping maturin 14.17 but not the unstable branch.
The text was updated successfully, but these errors were encountered:
Describe the bug
Maturin build fails starting with 0.15.x with
and failure to import the
pyqir._native
module at runtime. The behavior might be related to the change in 0.15.2: PyO3/maturin#1608To Reproduce
Steps to reproduce the behavior:
pyqir/
maturin build --release -F llvm14-0
Expected behavior
The warning should not happen. The resulting module should be importable.
System information
The text was updated successfully, but these errors were encountered: