pantsbuild / pants

The Pants Build System
https://www.pantsbuild.org
Apache License 2.0
3.26k stars 625 forks source link

Reducing system dependencies by using an embedded Python runtime (e.g. RustPython) #17673

Closed danmx closed 1 year ago

danmx commented 1 year ago

Is your feature request related to a problem? Please describe.

Pants require a python to be in PATH to bootstrap itself.

Describe the solution you'd like

Since Pants2 has Rust-based core it would be possible to reduce system dependencies and embedding Python runtime into the tool itself e.g. by using RustPython.

Describe alternatives you've considered

Rewriting bootstrap parts in Rust.

Additional context

sureshjoshi commented 1 year ago

I think this is the high level ticket for this idea? https://github.com/pantsbuild/pants/issues/7369

benjyw commented 1 year ago

Yep, I think this is a dup of #7369 , and if so it is being actively worked on, via the new scie format: https://github.com/a-scie/jump

benjyw commented 1 year ago

@danmx OK to close as a dup?

benjyw commented 1 year ago

To clarify, this is a duplicate issue (with #7369), not "not planned".

Eric-Arellano commented 1 year ago

GitHub describes "not planned" as intended to cover duplicates as well