-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remove python dependency #13239
Comments
We are already discussing about getting rid of Perl dependency (#12913). We would still need to depend on at least one scripting language for various purposes ( |
Just to be clear: this issue is filed about moving from Python 2.x to Python 3.x, not removing the Python dependency completely, right? |
AFAIK, the dependency on Python 2 is mostly from LLVM. |
Our 2.x dependency is from LLVM; Rust itself used to be able to cope with 3.x, but LLVM (at least as of 1+ years ago) can not. |
I'm also not clear on what this bug is about. If it's to move just to 3 without supporting 2, then I would need more persuading. |
I'm not clear what python is needed for at all. If it's about build process, there's more appropriate tools for that. Make compiled programming language dependent on python looks stupid for me. |
@netkgk Python is being widely used for checking commits (e.g. |
The Python dependency is only a build dependency. If you're not building Rust yourself, and most people won't be, you don't need to have it installed. The only reason to build Rust yourself once there are a solid set of distribution packages and first-party builds in place would be if you want to contribute to the project. |
Sounds like this is a misunderstanding about how Rust uses Python. Closing. |
…cros, r=Veykril Fix add reference action on macros. Before we were using the range of the corresponding expression node in the macro expanded file, which is obviously incorrect as we are setting the text in the original source. For some reason, the test I added is failing and I haven't found a way to fix it. Does anyone know why `check_fix` wouldn't work with macros? Getting this error: ```text thread 'handlers::type_mismatch::tests::test_add_reference_to_macro_call' panicked at 'no diagnostics', crates/ide-diagnostics/src/handlers/type_mismatch.rs:317:9 ``` closes rust-lang#13219
Remove this:
python 2.6 or later (but not 3.x)
from dependency list
The text was updated successfully, but these errors were encountered: