Skip to content

Do not show 'No interpreter is selected' when pythonPath in debug configuration is invalid#14892

Merged
karrtikr merged 3 commits into
microsoft:mainfrom
karrtikr:invalidprompt
Dec 10, 2020
Merged

Do not show 'No interpreter is selected' when pythonPath in debug configuration is invalid#14892
karrtikr merged 3 commits into
microsoft:mainfrom
karrtikr:invalidprompt

Conversation

@karrtikr
Copy link
Copy Markdown

@karrtikr karrtikr commented Dec 4, 2020

For #14814

Python path source was being calculated incorrectly. We decided that calculating source correctly is not worth the hassle, and assume source is always launch.json for new properties if they're not derived from the old ones.

PR is marked as draft so reviewers are assigned correctly, but it's ready for review. @ericsnowcurrently

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

Comment thread src/client/debugger/extension/configuration/resolvers/base.ts Outdated
Comment thread src/client/debugger/extension/configuration/resolvers/base.ts Outdated
@karrtikr karrtikr force-pushed the invalidprompt branch 2 times, most recently from ca6532b to df418a2 Compare December 4, 2020 21:52
@karrtikr karrtikr requested a review from int19h December 4, 2020 21:53
@karrtikr karrtikr marked this pull request as ready for review December 7, 2020 19:07
@karrtikr karrtikr removed the request for review from karthiknadig December 7, 2020 19:08
@github-actions github-actions Bot requested a review from karthiknadig December 7, 2020 19:08
@karrtikr karrtikr removed the request for review from karthiknadig December 7, 2020 19:11
@github-actions github-actions Bot requested a review from kimadeline December 7, 2020 19:12
@karrtikr karrtikr removed the request for review from kimadeline December 7, 2020 19:13
@github-actions github-actions Bot requested a review from kimadeline December 7, 2020 19:13
@karrtikr karrtikr marked this pull request as draft December 7, 2020 22:07
@karrtikr karrtikr removed the request for review from kimadeline December 7, 2020 22:07
@ericsnowcurrently
Copy link
Copy Markdown

@karrtikr, I was planning on waiting for you to drop the "draft" status here, but do you want a review before that?

@karrtikr
Copy link
Copy Markdown
Author

karrtikr commented Dec 9, 2020

PR is marked as draft so reviewers are assigned correctly, but it's ready for review. @ericsnowcurrently

Yes it's marked as draft for other reasons as mentioned in the PR description.

Comment thread src/client/debugger/extension/configuration/resolvers/launch.ts
Comment thread src/client/debugger/extension/configuration/resolvers/launch.ts Outdated
Comment thread src/client/debugger/extension/configuration/resolvers/launch.ts Outdated
Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

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

LGTM

@karrtikr karrtikr marked this pull request as ready for review December 10, 2020 19:04
@karrtikr karrtikr merged commit bed31ba into microsoft:main Dec 10, 2020
@karrtikr karrtikr deleted the invalidprompt branch December 10, 2020 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants