Skip to content

Shows a user friendly message rather than simple pass #143485

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rahul-srivastava-codes
Copy link

Shows user-friendly message guiding them on how to install Python 3 and offers OS-specific tips

Shows user-friendly message guiding them on how to install Python 3 and offers OS-specific tips
@rustbot
Copy link
Collaborator

rustbot commented Jul 5, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jul 5, 2025
Comment on lines +29 to +30
print("Python 3 is not available. Please install Python 3.6 or later.")
sys.exit(1)
Copy link
Member

@fmease fmease Jul 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this break Python 2 users (who don't have Python 3 installed on their system)? We intentionally keep supporting Python 2 past EOL because it doesn't cost us much maintenance-wise. The pass is quite intentional here.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely you are right, but mentioning the print mostly refers to user get right kind of version which will eventually help them task done..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants