-
Notifications
You must be signed in to change notification settings - Fork 136
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
build-wheel sets _PYTHON_HOST_PLATFORM with incorrect format #1141
Comments
Sorry, I don't have time to help building Rust-based packages at the moment. But there are some pre-built wheels for Cryptography 39 linked from #657 (comment). I haven't tested these wheels myself, so you should only use them for sensitive work if you trust @emanuele-f. When creating issues in the future, please provide more context , including:
|
Sorry for commenting on a closed issue, but I think I know what's wrong here. The You can use an ugly hack, change the file in question at line 460 to P.S. run the build wheel command with |
Thanks very much – this looks like the same problem as #607 (comment): build-wheel's override of _PYTHON_HOST_PLATFORM should use a dash rather than an underscore. |
No problem. Is just changing the way platform string is being composed going to break the existing build scripts? |
I don't think so, but as I said in the other comment, you might get a clearer answer by finding when the variable was added in the Git history. |
setuptools_rust/build.py", line 470, in get_dylib_ext_path host_arch = host_platform.rsplit("-", 1)[1] IndexError: list index out of range Closes chaquo#1141
The text was updated successfully, but these errors were encountered: