-
Notifications
You must be signed in to change notification settings - Fork 1.2k
make sure we use our resource to get interpreter details #11474
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
make sure we use our resource to get interpreter details #11474
Conversation
@@ -76,7 +76,7 @@ export class PythonExecutionFactory implements IPythonExecutionFactory { | |||
const interpreterService = this.serviceContainer.get<IInterpreterService>(IInterpreterService); | |||
const logger = this.serviceContainer.get<IProcessLogger>(IProcessLogger); | |||
|
|||
const interpreter = await interpreterService.getInterpreterDetails(pythonPath); | |||
const interpreter = await interpreterService.getInterpreterDetails(pythonPath, options.resource); |
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.
Per discussion on teams I think this is the change we need. This should cover cases where the full pythonPath is specified in the spec, and if it's just "python" it will use the resource to calculate the interpreter.
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.
🕐
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.
Kudos, SonarCloud Quality Gate passed!
|
Codecov Report
@@ Coverage Diff @@
## master #11474 +/- ##
==========================================
- Coverage 60.61% 60.60% -0.02%
==========================================
Files 612 612
Lines 33472 33472
Branches 4719 4719
==========================================
- Hits 20290 20285 -5
- Misses 12731 12735 +4
- Partials 451 452 +1
Continue to review full report at Codecov.
|
For #11469
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).