-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Unable to install RustPython from source with cargo install. #3982
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
Comments
oh, wow. this is so weird, but reproducible. |
This appears to be a side effect of #3507 and other PRs that added @qingshi163 are you able to help investigate this issue? |
I think we need to file a bug report to rust. the different result of |
I created a small project to test it. I now think our code is wrong and |
Can't believe it, if the code is wrong, why rust not allow a static variable to be constructed by a const variable. a const var in rust isn't works like macro, the compiler copy it to everywhere it is using? I think the simplest work around is make NOT_IMPLEMENTED static instead const |
This is (probably) broken by #3819. Using previous version than that will be helpful |
I tried to fix it a few days ago but making NOT_IMPLEMENTED static was not enough |
I think the issue is caused by crossbeam::AtomicCell, It works with std::sync::AtomicPtr, see the test we probably can extend our PyAtomic to take a function pointer. |
@qingshi163 Thank you! we will need a proper fix later but pinning crossbeam-utils will be helpful right now |
I ran the below command:
To try the new pip features and I get this error:
Rust & Cargo Versions
I am on macOS Monterey 12.4 x86_64.
Any help would be appreciated.
Joel
The text was updated successfully, but these errors were encountered: