The tag was macos-latest and I didn't run it for a while. When I ran the build the error was:
error: failed to run custom build command for `pyo3-ffi v0.21.2`
Caused by:
process didn't exit successfully: `/Users/runner/work/icicle-python/icicle-python/target/release/build/pyo3-ffi-d150facabc083c7d/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=PYO3_CROSS
cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
cargo:rerun-if-env-changed=PYO3_NO_PYTHON
--- stderr
thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-build-config-0.21.2/src/impl_.rs:1334:33:
Path does not exist: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I think this message could be improved, because there was no mention of PYO3_CROSS_LIB_DIR or the actual path that was not found. It took me a while to figure out the PYO3_CROSS_LIB_DIR
Steps to Reproduce
N/A
Backtrace
No response
Your operating system and version
macos
Your Python version (python --version)
Python 3.9
Your Rust version (rustc --version)
rustc 1.71.1
Your PyO3 version
0.21.2
How did you install python? Did you use a virtualenv?
Bug Description
I had a workflow that contained a step:
The tag was
macos-latest
and I didn't run it for a while. When I ran the build the error was:I think this message could be improved, because there was no mention of
PYO3_CROSS_LIB_DIR
or the actual path that was not found. It took me a while to figure out thePYO3_CROSS_LIB_DIR
Steps to Reproduce
N/A
Backtrace
No response
Your operating system and version
macos
Your Python version (
python --version
)Python 3.9
Your Rust version (
rustc --version
)rustc 1.71.1
Your PyO3 version
0.21.2
How did you install python? Did you use a virtualenv?
Came with Xcode, venv was not used
Additional Info
No response