-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Gate discovery of managed toolchains with preview #3835
Conversation
98c39c7
to
3f02b9d
Compare
3f02b9d
to
35d0714
Compare
Self::VirtualEnv => f.write_str("virtual environments"), | ||
Self::System => { | ||
// TODO(zanieb): We intentionally omit managed toolchains for now since they are not public | ||
Self::System(preview) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll probably rethink this display in a future change.
let sources = SourceSelector::All; | ||
let sources = SourceSelector::All(PreviewMode::Enabled); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We turn on preview so we discover managed toolchains when finding the Python versions requested by tests.
9517162
to
8f2c59b
Compare
35d0714
to
e84bbf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me.
Prepares for merge of #3797, gating managed toolchain discovery with the preview flag to lower risk of releasing.
e.g.
We'll add automatic fetching of managed interpreters later.