Run python code using env variables from activated envs#3930
Merged
DonJayamanne merged 52 commits intomicrosoft:masterfrom Jan 10, 2019
Merged
Run python code using env variables from activated envs#3930DonJayamanne merged 52 commits intomicrosoft:masterfrom
DonJayamanne merged 52 commits intomicrosoft:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3930 +/- ##
=======================================
+ Coverage 54% 55% +1%
=======================================
Files 323 327 +4
Lines 13488 13660 +172
Branches 2096 2119 +23
=======================================
+ Hits 7220 7385 +165
- Misses 5789 5790 +1
- Partials 479 485 +6
Continue to review full report at Codecov.
|
brettcannon
suggested changes
Jan 9, 2019
Member
brettcannon
left a comment
There was a problem hiding this comment.
I'm a bit worried about cached information for conda environments going stale if the user installs something before the timed cache invalidation.
I'm also wondering if the parsing code of the resulting environment is more complicated than it needs to be.
And because I'm me, I wonder if some of this could have been written as a Python script. 😁
src/client/common/terminal/environmentActivationProviders/pipEnvActivationProvider.ts
Show resolved
Hide resolved
src/test/common/terminals/environmentActivationProviders/pipEnvActivationProvider.unit.test.ts
Outdated
Show resolved
Hide resolved
src/test/common/terminals/environmentActivationProviders/pipEnvActivationProvider.unit.test.ts
Outdated
Show resolved
Hide resolved
src/test/common/terminals/environmentActivationProviders/pipEnvActivationProvider.unit.test.ts
Outdated
Show resolved
Hide resolved
brettcannon
approved these changes
Jan 10, 2019
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
…vActivationProvider.unit.test.ts Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
d0d9954 to
77adb2b
Compare
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
Co-Authored-By: DonJayamanne <don.jayamanne@yahoo.com>
…e/pythonVSCode into issueCondaActivation * 'issueCondaActivation' of https://github.com/DonJayamanne/pythonVSCode: Update news/2 Fixes/3330.md Update news/3 Code Health/3746.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #3330
For #3746
For #2855
For #3953
package-lock.jsonhas been regenerated by runningnpm install(if dependencies have changed)