Skip to content
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 user modules can be imported #11353

Merged
merged 2 commits into from
Apr 23, 2020

Conversation

karthiknadig
Copy link
Member

For #11264

  • 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!).

This is a hotfix for #11264. We may need to look at this issue deeper to better handle test discovery for unittest.

@codecov-io
Copy link

codecov-io commented Apr 23, 2020

Codecov Report

Merging #11353 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11353      +/-   ##
==========================================
- Coverage   61.05%   60.96%   -0.09%     
==========================================
  Files         604      608       +4     
  Lines       33421    33512      +91     
  Branches     4732     4738       +6     
==========================================
+ Hits        20405    20431      +26     
+ Misses      12574    12053     -521     
- Partials      442     1028     +586     
Impacted Files Coverage Δ
...ient/testing/unittest/services/discoveryService.ts 100.00% <ø> (ø)
...client/datascience/kernel-launcher/kernelFinder.ts 62.24% <0.00%> (-16.76%) ⬇️
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
...rc/client/common/process/pythonExecutionFactory.ts 85.43% <0.00%> (-5.19%) ⬇️
src/client/common/process/pythonDaemon.ts 15.87% <0.00%> (-4.03%) ⬇️
src/client/common/process/pythonDaemonPool.ts 68.22% <0.00%> (-2.29%) ⬇️
src/client/common/process/internal/python.ts 58.82% <0.00%> (-1.97%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/activation/activationService.ts 87.35% <0.00%> (-0.88%) ⬇️
... and 154 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c430eb...9ae7050. Read the comment docs.

@sonarqubecloud
Copy link

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
0.0% 0.0% Duplication

@karthiknadig karthiknadig marked this pull request as ready for review April 23, 2020 18:48
Copy link

@karrtikr karrtikr left a comment

Choose a reason for hiding this comment

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

🚢 it

@karthiknadig karthiknadig merged commit f96e762 into microsoft:master Apr 23, 2020
karthiknadig added a commit to karthiknadig/vscode-python that referenced this pull request Apr 23, 2020
* Make sure user modules can be imported

* Update tests
karthiknadig added a commit that referenced this pull request Apr 23, 2020
* Temporarily switch to node FS apis in KnownPathsService (#11340)
* Make sure user modules can be imported (#11353)
karthiknadig added a commit that referenced this pull request Apr 29, 2020
* Fix background (again) for ipywidgets (#11062) (#11064)

* Fix arrowing down through cells (#11095)

* Fix scrolling in the monaco editor  (#11089)

* Fix monaco editor scrolling and line height

* Add news entry

* Fixes for UI issues (#11130)

* Cherry pick commits from master into April release (#11138)

* Load widget scripts from CDN and/or local python interpreter (#10987)

* Address sonar issues
* Fix linter
* Fixes
* Better way to pas array buffer
* Added comments
* Oops

* Copy widget scripts to extension folder (#11082)

* Copy widget scripts to extension folder
* Fix test

* Remove aml scripts from extension (#11085)

* Validate python when nb opened not on extension activates (#11087)

For #10893

* Support workspace images in markdown cells (#11086)

For #10893

* Fix functional tests for ipywidgets and download just chrome b… (#11093)

For #11092

playwright downloads other browsers, we need just one chrome (as this is closest to what VSCode is built upon)

* Added tests for k3d widget (#11133)

For #10799, #11096

* Fix failing ipywidget tests (#11132)

For #11099

* Update change log

* Port perf fix to release branch (#11144)

* Fix code lens perf for interactive window (#11142)

* Eliminate first level of redundancy

* Working with a cache

* Add test to verify no more generating cell ranges

* Add news entry

* Clean up on closing

* Make sure close and reopen works

* Fix sonar errors

* Fix restart

* Fix wrong IDisposable type

* Rename restartedKernel to onKernelRestarted

* Recompute when changing settings

* Clear out document close event when document closes

* Update changelog

* Fix build error from missing file

* Port fix for transient data in notebooks. (#11168)

* Remove unwanted elements from cells when saving. (#11164)

* Remove unwanted elements from cells when saving.

* Fix a sonar warning

* FIx another sonar warning

* Update changelog

* Port undo fix to release branch (#11181)

* Fix undo in notebooks (#11167)

* Put back ctrl+z and 'z' for undo. Refactor to use one value to compute custom editor support

* Add news entry

* Update change log

* Ensure save works after saving untitled notebooks (#11190)

* Ensure save works after saving untitled notebooks
* Remove old document

* Port fix for PDF saving to release (#11194)

* Fix pdf viewer so that we just ship the standalone version. (#11192)

* Update changelog

* Fix scrolling when don't have focus (#11246)

* Account for scenarios where module name is undefined (#11248)

For #11241

* Add message when widget script is not found on CDN (#11249)

For #11247
* Add message
* Add tests
* Fix typo

* Fix failing unit tests on windows (#11191) (#11277)

Co-authored-by: Rich Chiodo <[email protected]>

* Display error message when fetching script source timesout (#11276)

For #11242
* Add error for timeout
* Add imports

* Update version and change log for release (#11279)

* Update version

* Update change logs

* Port two fixes to the release branch (#11337)

* Change CDN files to download locally (#11286)

* Working downloader

* Tests passing

* Add more tests

* Add retry test

* Fix build errors. Not sure why not happening locally.

* Fix unit tests

* Fix azure ml on windows
Rework error checking to use status

* Fix sonar error

* Add some more descriptive comments

* More comments

* Refactor some code

* Make sure to not use exists as we're downloading anyway

* Fix container timeout from firing unnecessarily (#11336)

* Fix container timeout from firing unnecessarily

* Check for undefined for timer

* Update changelog

* Wire unhandled widget messages to the jupyter output (#11273)

* Update changelog

* Cherry-pick fixes from master (#11367)

* Temporarily switch to node FS apis in KnownPathsService (#11340)
* Make sure user modules can be imported (#11353)

* Port fixes into April point release (#11392)

Cherry pick the following PRs:

#11248
#11276
#11249
#11280
#11364

* Remove isolate script when running unittest (#11378) (#11407)

* Ensure env gets used when running unittest

* Fix tests

* Move runStartupCommand to global location (#11409)

* Move startup to global (#11402)

* Update change log

* Update version and change logs (#11408)

* Fix widget tests (#11406)

Tests are broken in Release branch

* Disable CDN unit tests. Don't seem to pass on azure (#11441)

* Disable CDN unit tests. Don't seem to pass on azure

* Need to skip in other suite setup too.

* only close interactive session on interactive window close (#11405) (#11437)

* only close interactive session on interactive window close (#11405)

* Fix merge problems

Co-authored-by: Rich Chiodo <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
Co-authored-by: Rich Chiodo <[email protected]>
Co-authored-by: Ian Huff <[email protected]>
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants