-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Run python code using env variables from activated envs #3930
Run python code using env variables from activated envs #3930
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.
|
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.
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
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.
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
For #3330
For #3746
For #2855
For #3953
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)