Skip to content

Changes to logic for selection of best (default) version of Python interpreter - #3813

Merged
Don Jayamanne (DonJayamanne) merged 48 commits into
microsoft:masterfrom
DonJayamanne:issue3369AutoX
Jan 3, 2019
Merged

Don Jayamanne (DonJayamanne) merged 48 commits into
microsoft:masterfrom
DonJayamanne:issue3369AutoX

Conversation

@DonJayamanne

@DonJayamanne Don Jayamanne (DonJayamanne) commented Dec 26, 2018 •

Copy link
Copy Markdown

For #3369

Depends on #3809
Depends on #3812

  • Add tests for configSettings.ts by injecting IWorkspaceService.
    This must be done as Multi Root (functional) tests failed.
    We need to add unit tests to cover it.

  • Add tests (Would be nice to see convertPythonVersionToSemver get some unit test attention. Otherwise, this PR looks great. I do appreciate the large amount of work it took to replace this functionality with SemVer!)

  • 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!)
  • 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)
@DonJayamanne Don Jayamanne (DonJayamanne) changed the title WIP - Changes to logic for selection of best (default) version of Python interpreter Dec 31, 2018
Comment thread build/ci/mocha-vsts-reporter.js Resolved
Comment thread src/client/common/platform/registry.ts Resolved
@d3r3kk

Copy link
Copy Markdown

Overall I like the change. There will have to be some back and forth on what constitutes the 'best interpreter' but I think you've largely nailed it for the majority of our users.

I like the approach you took with the rule evaluator, I think that will make it very simple/flexible to sort out issues or change priority of 'best interpreters' found on a system.

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@d3r3kk

Copy link
Copy Markdown

Still a few comments.

@DonJayamanne
Don Jayamanne (DonJayamanne) merged commit 6c80bbc into microsoft:master Jan 3, 2019
@DonJayamanne
Don Jayamanne (DonJayamanne) deleted the issue3369AutoX branch May 24, 2019 20:23
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants