Skip to content

Re-implement conda tool discovery in a separate uncoupled component.#14745

Merged
int19h merged 1 commit into
microsoft:mainfrom
int19h:625
Nov 19, 2020
Merged

Re-implement conda tool discovery in a separate uncoupled component.#14745
int19h merged 1 commit into
microsoft:mainfrom
int19h:625

Conversation

@int19h

@int19h int19h commented Nov 16, 2020

Copy link
Copy Markdown
  • 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.

@int19h

int19h commented Nov 16, 2020

Copy link
Copy Markdown
Author

Note that this is not the locator itself, but rather the wrapper around conda that locator will use. Hence why no caching here.

Comment thread src/client/pythonEnvironments/common/externalDependencies.ts Outdated
}
yield* getCandidatesFromKnownPaths();
yield* getCandidatesFromEnvironmentsTxt();
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Some of these functions don't really need to be generators, but it's a bit more readable when it's consistent.

Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts Outdated
@karrtikr

Copy link
Copy Markdown

@int19h The auto assign bot is still in effect, so everyone is being assigned. Removed the unintended reviewers.

@int19h int19h added the no-changelog No news entry required label Nov 16, 2020
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts Outdated
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts
Comment thread src/test/pythonEnvironments/discovery/locators/condaHelper.unit.test.ts Outdated
@int19h int19h force-pushed the 625 branch 2 times, most recently from d3e2340 to c7b8674 Compare November 19, 2020 08:11
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts Outdated
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts
Comment thread src/client/pythonEnvironments/discovery/locators/services/conda.ts
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@int19h int19h merged commit abfb8c3 into microsoft:main Nov 19, 2020
@int19h int19h deleted the 625 branch November 19, 2020 20:46
karrtikr pushed a commit to karrtikr/vscode-python that referenced this pull request Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants