Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
04e0b34
Fix path
May 6, 2020
9297d96
Merge branch 'master' of https://github.com/Microsoft/vscode-python
May 6, 2020
9f3d5ac
Merge branch 'master' of https://github.com/Microsoft/vscode-python
May 11, 2020
607bf98
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jun 1, 2020
e566214
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jun 11, 2020
4477900
Actually fix settings
Jun 18, 2020
d0d50de
Add news
Jun 18, 2020
03aa5f9
Add test
Jun 18, 2020
e4a032f
Format
Jun 18, 2020
27eeec7
Suppress 'jediEnabled' removal
Jun 18, 2020
89f432e
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jun 23, 2020
3ed655b
Drop survey first launch threshold
Jun 26, 2020
64ac38a
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jun 29, 2020
52a4325
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jun 30, 2020
67d7cb8
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jul 8, 2020
0ce6d91
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jul 22, 2020
571115e
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Jul 30, 2020
41fbcbb
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Aug 4, 2020
8fee970
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Aug 10, 2020
67ea545
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Aug 17, 2020
25d634f
Merge branch 'master' of https://github.com/Microsoft/vscode-python
Aug 18, 2020
447edfa
Update LSP to fix issue with settings in MPLS v1
Aug 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
  • Loading branch information
Mikhail Arkhipov
Mikhail Arkhipov committed Jul 8, 2020
commit 67d7cb8509835f479e1f3f0220f18afe3c048a67
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/2_bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,3 @@ XXX

</p>
</details>

<br />

<details>

<summary>
Output from <code>Console</code> under the <code>Developer Tools</code> panel (toggle Developer Tools on under <code>Help</code>; turn on source maps to make any tracebacks be useful by running <code>Enable source map support for extension debugging</code>)
</summary>

<p>

```
XXXX
```

</p>
</details>
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# Changelog

## 2020.6.3 (30 June 2020)

### Fixes

1. Correctly check for ZMQ support, previously it could allow ZMQ to be supported when zmq could not be imported.
([#12585](https://github.com/Microsoft/vscode-python/issues/12585))
1. Auto indentation no longer working for notebooks and interactive window.
([#12389](https://github.com/Microsoft/vscode-python/issues/12389))
1. Add telemetry for tracking run by line.
([#12580](https://github.com/Microsoft/vscode-python/issues/12580))
1. Add more telemetry to distinguish how is the start page opened.
([#12603](https://github.com/microsoft/vscode-python/issues/12603))
1. Stop looking for mspythonconfig.json file in subfolders.
([#12614](https://github.com/Microsoft/vscode-python/issues/12614))

## 2020.6.2 (25 June 2020)

### Fixes

1. Fix `linting.pylintEnabled` setting check.
([#12285](https://github.com/Microsoft/vscode-python/issues/12285))
1. Don't modify LS settings if jediEnabled does not exist.
([#12429](https://github.com/Microsoft/vscode-python/issues/12429))

## 2020.6.1 (17 June 2020)

### Fixes

1. Fixed issue when `python.jediEnabled` setting was not removed and `python.languageServer` setting was not updated.
([#12429](https://github.com/Microsoft/vscode-python/issues/12429))

### Thanks

Thanks to the following projects which we fully rely on to provide some of
our features:

- [debugpy](https://pypi.org/project/debugpy/)
- [isort](https://pypi.org/project/isort/)
- [jedi](https://pypi.org/project/jedi/)
and [parso](https://pypi.org/project/parso/)
- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server)
- [ptvsd](https://pypi.org/project/ptvsd/)
- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed)
- [rope](https://pypi.org/project/rope/) (user-installed)

Also thanks to the various projects we provide integrations with which help
make this extension useful:

- Debugging support:
[Django](https://pypi.org/project/Django/),
[Flask](https://pypi.org/project/Flask/),
[gevent](https://pypi.org/project/gevent/),
[Jinja](https://pypi.org/project/Jinja/),
[Pyramid](https://pypi.org/project/pyramid/),
[PySpark](https://pypi.org/project/pyspark/),
[Scrapy](https://pypi.org/project/Scrapy/),
[Watson](https://pypi.org/project/Watson/)
- Formatting:
[autopep8](https://pypi.org/project/autopep8/),
[black](https://pypi.org/project/black/),
[yapf](https://pypi.org/project/yapf/)
- Interpreter support:
[conda](https://conda.io/),
[direnv](https://direnv.net/),
[pipenv](https://pypi.org/project/pipenv/),
[pyenv](https://github.com/pyenv/pyenv),
[venv](https://docs.python.org/3/library/venv.html#module-venv),
[virtualenv](https://pypi.org/project/virtualenv/)
- Linting:
[bandit](https://pypi.org/project/bandit/),
[flake8](https://pypi.org/project/flake8/),
[mypy](https://pypi.org/project/mypy/),
[prospector](https://pypi.org/project/prospector/),
[pylint](https://pypi.org/project/pylint/),
[pydocstyle](https://pypi.org/project/pydocstyle/),
[pylama](https://pypi.org/project/pylama/)
- Testing:
[nose](https://pypi.org/project/nose/),
[pytest](https://pypi.org/project/pytest/),
[unittest](https://docs.python.org/3/library/unittest.html#module-unittest)

And finally thanks to the [Python](https://www.python.org/) development team and
community for creating a fantastic programming language and community to be a
part of!

## 2020.6.0 (16 June 2020)

### Enhancements
Expand Down
12 changes: 11 additions & 1 deletion ThirdPartyNotices-Distribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28271,7 +28271,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

-------------------------------------------------------------------

jedi 0.17.0 - MIT
jedi 0.17.1 - MIT
Copyright (c) <2013>
copyright u'jedi contributors
copyright (c) 2014 by Armin Ronacher.
Expand Down Expand Up @@ -28541,6 +28541,16 @@ DEALINGS IN THE SOFTWARE.

= = = = =

Jedi also includes "django-stubs", which is licenced as follows:

Copyright (c) Maxim Kurnikov.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


-------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions build/ci/performance/perfJobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
inputs:
targets: 'prePublishNonBundle'
- powershell: |
mocha --require source-map-support/register --opts ./build/.mocha.performance.opts
mocha --require source-map-support/register --config ./build/.mocha.performance.json
node ./build/ci/performance/savePerformanceResults.js

- job: Testing_Round_2
Expand All @@ -33,7 +33,7 @@ jobs:
pool: DSPerf
steps:
- powershell: |
mocha --require source-map-support/register --opts ./build/.mocha.performance.opts
mocha --require source-map-support/register --config ./build/.mocha.performance.json
node ./build/ci/performance/savePerformanceResults.js

- job: Testing_Round_3
Expand All @@ -47,7 +47,7 @@ jobs:
pool: DSPerf
steps:
- powershell: |
mocha --require source-map-support/register --opts ./build/.mocha.performance.opts
mocha --require source-map-support/register --config ./build/.mocha.performance.json
node ./build/ci/performance/savePerformanceResults.js

- job: Testing_Round_4
Expand All @@ -61,7 +61,7 @@ jobs:
pool: DSPerf
steps:
- powershell: |
mocha --require source-map-support/register --opts ./build/.mocha.performance.opts
mocha --require source-map-support/register --config ./build/.mocha.performance.json
node ./build/ci/performance/savePerformanceResults.js

- job: Testing_Round_5
Expand All @@ -75,5 +75,5 @@ jobs:
pool: DSPerf
steps:
- powershell: |
mocha --require source-map-support/register --opts ./build/.mocha.performance.opts
mocha --require source-map-support/register --config ./build/.mocha.performance.json
node ./build/ci/performance/savePerformanceResults.js
10 changes: 0 additions & 10 deletions build/ci/templates/steps/initialization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ parameters:
compile: 'true'
sqlite: 'false'
installVSCEorNPX: 'true'
enableGather: 'false'

steps:
- bash: |
Expand Down Expand Up @@ -93,15 +92,6 @@ steps:
verbose: true
customCommand: ci

- task: Npm@1
displayName: 'Install optional python-program-analysis'
condition: and(succeeded(), eq('${{ parameters.enableGather }}', 'true'))
inputs:
workingDir: ${{ parameters.workingDirectory }}
command: custom
verbose: true
customCommand: 'install @msrvida/python-program-analysis'

# On Mac, the command `node` doesn't always point to the current node version.
# Debugger tests use the variable process.env.NODE_PATH
- script: |
Expand Down
1 change: 0 additions & 1 deletion build/existingFiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
"src/client/language/types.ts",
"src/client/language/unicode.ts",
"src/client/languageServices/jediProxyFactory.ts",
"src/client/languageServices/languageServerSurveyBanner.ts",
"src/client/languageServices/proposeLanguageServerBanner.ts",
"src/client/linters/bandit.ts",
"src/client/linters/baseLinter.ts",
Expand Down
2 changes: 1 addition & 1 deletion build/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ black ; python_version>='3.6'
yapf
pylint
pycodestyle
prospector
prospector==1.2.0 # Last version of prospector with Python 2.7 support
pydocstyle
nose
pytest==4.6.9 # Last version of pytest with Python 2.7 support
Expand Down
23 changes: 1 addition & 22 deletions build/webpack/webpack.extension.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ const configFileName = path.join(constants.ExtensionRootDir, 'tsconfig.extension
// Some modules will be pre-genearted and stored in out/.. dir and they'll be referenced via NormalModuleReplacementPlugin
// We need to ensure they do not get bundled into the output (as they are large).
const existingModulesInOutDir = common.getListOfExistingModulesInOutDir();
// tslint:disable-next-line:no-var-requires no-require-imports
const FileManagerPlugin = require('filemanager-webpack-plugin-fixed');
// If ENABLE_GATHER variable is defined, don't exclude the python-program-analysis pacakge.
// See externals, below.
const ppaPackageList = process.env.ENABLE_GATHER ? [] : ['@msrvida/python-program-analysis'];
const config = {
mode: 'production',
target: 'node',
Expand Down Expand Up @@ -61,25 +56,9 @@ const config = {
{ enforce: 'post', test: /linebreak[\/\\]src[\/\\]linebreaker.js/, loader: 'transform-loader?brfs' }
]
},
// Packages listed in externals keeps webpack from trying to package them.
// The ppaPackageList variable is set to non-empty if the build pipeline has been
// authenticated to install @msrvida/python-program-analysis.
externals: ['vscode', 'commonjs', ...ppaPackageList, ...existingModulesInOutDir],
externals: ['vscode', 'commonjs', ...existingModulesInOutDir],
plugins: [
...common.getDefaultPlugins('extension'),
// Copy gather spec files into a known location for the webpacked extension
new FileManagerPlugin({
onEnd: [
{
copy: [
{
source: './node_modules/@msrvida/python-program-analysis/dist/es5/specs/*.yaml',
destination: './out/client/gatherSpecs'
}
]
}
]
}),
new copyWebpackPlugin([
{
from: './node_modules/pdfkit/js/pdfkit.standalone.js',
Expand Down
4 changes: 2 additions & 2 deletions experiments.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@
"name": "LocalZMQKernel - experiment",
"salt": "LocalZMQKernel",
"min": 0,
"max": 25
"max": 75
},
{
"name": "LocalZMQKernel - control",
"salt": "LocalZMQKernel",
"min": 25,
"min": 75,
"max": 100
},
{
Expand Down
1 change: 0 additions & 1 deletion news/1 Enhancements/10744.md

This file was deleted.

1 change: 0 additions & 1 deletion news/1 Enhancements/12249.md

This file was deleted.

1 change: 1 addition & 0 deletions news/1 Enhancements/12486.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to the latest version of [`jedi`](https://github.com/davidhalter/jedi) (`0.17.1`). This brings completions for Django (via [`django-stubs`](https://github.com/typeddjango/django-stubs)) as well as support for Python 3.9 and various bugfixes (mostly around generic type annotations). (thanks [Peter Law](https://gitlab.com/PeterJCLaw/))
1 change: 1 addition & 0 deletions news/1 Enhancements/12694.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Include the JUPYTER_PATH environment variable when searching the disk for kernels.
1 change: 1 addition & 0 deletions news/1 Enhancements/12732.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added exporting to python, HTML and PDF from the interative window.
1 change: 1 addition & 0 deletions news/1 Enhancements/12764.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment.
1 change: 1 addition & 0 deletions news/2 Fixes/10579.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure we only have a single isort process running on a single file.
1 change: 0 additions & 1 deletion news/2 Fixes/10587.md

This file was deleted.

1 change: 1 addition & 0 deletions news/2 Fixes/10993.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Provided a method for external partners to participate in jupyter server URI picking/authentication.
1 change: 1 addition & 0 deletions news/2 Fixes/11412.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Get Jupyter connections to work with a Windows store installed Python/Jupyter combination.
1 change: 1 addition & 0 deletions news/2 Fixes/11796.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Paste can sometimes double paste into a notebook or interactive window editor.
1 change: 1 addition & 0 deletions news/2 Fixes/12046.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Variables should not falsh when running by line.
1 change: 0 additions & 1 deletion news/2 Fixes/12155.md

This file was deleted.

1 change: 0 additions & 1 deletion news/2 Fixes/12225.md

This file was deleted.

1 change: 0 additions & 1 deletion news/2 Fixes/12246.md

This file was deleted.

1 change: 0 additions & 1 deletion news/2 Fixes/12285.md

This file was deleted.

1 change: 1 addition & 0 deletions news/2 Fixes/12355.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
If we fail to start a raw kernel daemon then fall back to using process execution.
1 change: 0 additions & 1 deletion news/2 Fixes/12389.md

This file was deleted.

1 change: 0 additions & 1 deletion news/2 Fixes/12429.md

This file was deleted.

1 change: 1 addition & 0 deletions news/2 Fixes/12460.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the export button from the interactive window to export again.
1 change: 0 additions & 1 deletion news/2 Fixes/12580.md

This file was deleted.

1 change: 0 additions & 1 deletion news/2 Fixes/12585.md

This file was deleted.

1 change: 1 addition & 0 deletions news/2 Fixes/12588.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Process Jupyter messages synchronously when possible.
1 change: 0 additions & 1 deletion news/2 Fixes/12614.md

This file was deleted.

1 change: 1 addition & 0 deletions news/2 Fixes/12773.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Open variable explorer when opening variable explorer during debugging.
1 change: 1 addition & 0 deletions news/3 Code Health/12539.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix linux nightly tests so they run and report results. Also seems to get rid of stream destroyed messages for raw kernel.
1 change: 0 additions & 1 deletion news/3 Code Health/12603.md

This file was deleted.

1 change: 1 addition & 0 deletions news/3 Code Health/12656.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Log ExP experiments the user belongs to in the output panel.
1 change: 1 addition & 0 deletions news/3 Code Health/12722.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add more telemetry for "Select Interpreter" command.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.