Skip to content

Commit dda897c

Browse files
authored
2018.11.0-rc (#3490)
1 parent 31a46a1 commit dda897c

File tree

277 files changed

+10698
-5933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+10698
-5933
lines changed

.github/release_plan.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
- [ ] Update the version in [`package.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json)
44
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) is up-to-date
55
- [ ] Update [`CHANGELOG.md`](https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md)
6-
- Create a new section for this release
7-
- Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news | code-insiders -`)
8-
- Touch up news entries (and corresponding news entry files)
9-
- Copy over the "Thanks" section from the previous release
6+
- [ ] Create a new section for this release
7+
- [ ] Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news | code-insiders -`)
8+
- [ ] Touch up news entries (and corresponding news entry files)
9+
- [ ] Copy over the "Thanks" section from the previous release
1010
- [ ] Update [`ThirdPartyNotices-Distribution.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt)
11-
- Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
12-
- Register any Python changes with [OSPO](https://opensource.microsoft.com/)
11+
- [ ] Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --npm-overrides package.datascience-ui.dependencies.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
12+
- [ ] Register any Python changes with [OSPO](https://opensource.microsoft.com/)
1313
- [ ] Update [`ThirdPartyNotices-Repository.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Repository.txt) and register any changes with OSPO
1414
- [ ] Open appropriate [documentation issues](https://github.com/microsoft/vscode-docs/issues?q=is%3Aissue+is%3Aopen+label%3Apython)
1515

1616

1717
# Release candidate (Monday before release)
18-
19-
- [ ] Announce feature freeze
18+
[Work should be done against the `release` branch]
2019
- [ ] Ensure all new feature usages are tracked via telemetry
20+
- [ ] Merge in `master`
2121
- [ ] Update the version in [`package.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json)
2222
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) is up-to-date
2323
- [ ] Update [`CHANGELOG.md`](https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md)
24-
- Update version and date for the release section
25-
- Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final | code-insiders -`)
26-
- Touch up news entries (and corresponding news entry files)
27-
- Check that the "Thanks" section is up-to-date
24+
- [ ] Update version and date for the release section
25+
- [ ] Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final | code-insiders -`)
26+
- [ ] Touch up news entries (and corresponding news entry files)
27+
- [ ] Check that the "Thanks" section is up-to-date
2828
- [ ] Update [`ThirdPartyNotices-Distribution.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt)
29-
- Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
30-
- Register any Python changes with [OSPO](https://opensource.microsoft.com/)
29+
- [ ] Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --npm-overrides package.datascience-ui.dependencies.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
30+
- [ ] Register any Python changes with [OSPO](https://opensource.microsoft.com/)
3131
- [ ] Update [`ThirdPartyNotices-Repository.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Repository.txt) and register any changes with OSPO
3232
- [ ] Merge into the [`release` branch](https://github.com/microsoft/vscode-python/tree/release)
3333
- [ ] Open appropriate [documentation issues](https://github.com/microsoft/vscode-docs/issues?q=is%3Aissue+is%3Aopen+label%3Apython)
@@ -37,34 +37,34 @@
3737
# Final (near a VS Code release)
3838

3939
## Preparation
40-
[Final PR should be against the `release` branch and then cherrypicked into `master`]
40+
[Work should be against the `release` branch]
4141

42-
- [ ] Make sure no extraneous files are being included in the `.vsix` file (make sure to check for hidden files)
4342
- [ ] Make sure the [appropriate pull requests](https://github.com/microsoft/vscode-docs/pulls) for the [documentation](https://code.visualstudio.com/docs/python/python-tutorial) -- including the [WOW](https://code.visualstudio.com/docs/languages/python) page -- are ready
4443
- [ ] Update the version in [`package.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json)
4544
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) is up-to-date (the only update should be the version number if `package-lock.json` has been kept up-to-date)
4645
- [ ] Update [`CHANGELOG.md`](https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md)
47-
- Update version and date for the release section
48-
- Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final | code-insiders -`)
46+
- [ ] Update version and date for the release section
47+
- [ ] Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final | code-insiders -`)
4948
- Check that the "Thanks" section is up-to-date
5049
- [ ] Update [`ThirdPartyNotices-Distribution.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt)
51-
- Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
52-
- Register any Python changes with [OSPO](https://opensource.microsoft.com/)
50+
- [ ] Run [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --npm-overrides package.datascience-ui.dependencies.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
51+
- [ ] Register any Python changes with [OSPO](https://opensource.microsoft.com/)
5352
- [ ] Update [`ThirdPartyNotices-Repository.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Repository.txt) and register any changes with OSPO
5453

5554
## Release
5655

5756
- [ ] Make sure [CI](https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md) is passing
5857
- [ ] Generate the final `.vsix` file
58+
- [ ] Make sure no extraneous files are being included in the `.vsix` file (make sure to check for hidden files)
5959
- [ ] Upload the final `.vsix` file to the [marketplace](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
6060
- [ ] Publish [documentation](https://code.visualstudio.com/docs/python/python-tutorial) [changes](https://github.com/microsoft/vscode-docs/pulls)
6161
- [ ] Publish the [blog](http://aka.ms/pythonblog) post
6262
- [ ] Create a [release](https://github.com/Microsoft/vscode-python/releases) on GitHub (which creates an appropriate git tag)
6363
- [ ] Determine if a hotfix is needed
64+
- [ ] Merge `release` back into `master`
6465

6566
## Prep for the _next_ release
6667
- [ ] Bump the [version](https://github.com/Microsoft/vscode-python/blob/master/package.json) number to the next `alpha`
67-
- [ ] Lift the feature freeze
6868
- [ ] Create a new [release plan](https://github.com/Microsoft/vscode-python/edit/master/.github/release_plan.md)
6969

7070
## Clean up after _this_ release

.github/test_plan.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
- Make sure that you do not have `python.pythonPath` specified in your `settings.json` when testing automatic detection
4545
- Do note that the `Select Interpreter` drop-down window scrolls
4646

47-
- [ ] Detected a single virtual environment at the top-level of the workspace folder (if you created this _after_ opening VS Code, then run `Reload Window` to pick up the new environment)
47+
- [ ] Detected a single virtual environment at the top-level of the workspace folder on Mac when when `python` command points to default Mac Python installation or `python` command fails in the terminal.
48+
- [ ] Appropriate suffix label specified in status bar (e.g. `(venv)`)
49+
- [ ] Detected a single virtual environment at the top-level of the workspace folder on Windows when `python` fails in the terminal.
50+
- [ ] Appropriate suffix label specified in status bar (e.g. `(venv)`)
51+
- [ ] Detected a single virtual environment at the top-level of the workspace folder
4852
- [ ] Appropriate suffix label specified in status bar (e.g. `(venv)`)
4953
- [ ] [`Create Terminal`](https://code.visualstudio.com/docs/python/environments#_activating-an-environment-in-the-terminal) works
5054
- [ ] Steals focus

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.huskyrc.json
23
out
34
node_modules
45
*.pyc

.travis.yml

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ matrix:
66
- os: linux
77
python: "2.7"
88
env: UNIT_TEST=true
9-
- os: linux
10-
python: "2.7"
11-
env: DEBUGGER_TEST=true
129
- os: linux
1310
python: "2.7"
1411
env: DEBUGGER_TEST_RELEASE=true
@@ -18,9 +15,6 @@ matrix:
1815
- os: linux
1916
python: "2.7"
2017
env: MULTIROOT_WORKSPACE_TEST=true
21-
- os: linux
22-
python: "3.6-dev"
23-
env: DEBUGGER_TEST=true
2418
- os: linux
2519
python: "3.6-dev"
2620
env: DEBUGGER_TEST_RELEASE=true
@@ -33,9 +27,6 @@ matrix:
3327
- os: linux
3428
python: "3.6-dev"
3529
env: PERFORMANCE_TEST=true
36-
- os: linux
37-
python: "3.7-dev"
38-
env: DEBUGGER_TEST=true
3930
- os: linux
4031
python: "3.7-dev"
4132
env: DEBUGGER_TEST_RELEASE=true
@@ -45,6 +36,9 @@ matrix:
4536
- os: linux
4637
python: "3.7-dev"
4738
env: MULTIROOT_WORKSPACE_TEST=true
39+
- os: linux
40+
python: "3.7-dev"
41+
env: BUNDLE=true
4842
before_install: |
4943
if [ $TRAVIS_OS_NAME == "linux" ]; then
5044
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
@@ -60,39 +54,24 @@ before_install: |
6054
npm install -g azure-cli
6155
export CI_PYTHON_PATH=`which python`
6256
install:
63-
- npm ci
57+
- travis_wait 5 npm ci
6458
- npm run clean
65-
- npm run vscode:prepublish
59+
- npx gulp prePublishNonBundle
6660
- npx gulp hygiene-modified
61+
- python -m pip install --upgrade pip
6762
- python -m pip install --upgrade -r requirements.txt
68-
- python -m pip install -t ./pythonFiles/experimental/ptvsd git+https://github.com/Microsoft/ptvsd/
63+
- python -m pip install -t ./pythonFiles/experimental/ptvsd --no-cache-dir --implementation py --no-deps ptvsd
6964

7065
script:
7166
- if [ $UNIT_TEST == "true" ]; then
7267
npm run cover:enable;
7368
npm run test:unittests;
7469
fi
75-
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
76-
bash <(curl -s https://codecov.io/bash);
77-
fi
78-
- if [ $DEBUGGER_TEST == "true" ]; then
79-
npm run cover:enable;
80-
npm run testDebugger --silent;
81-
fi
82-
- npm run debugger-coverage
83-
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
84-
bash <(curl -s https://codecov.io/bash);
85-
fi
86-
- npm run clean:ptvsd
87-
- pip install -t ./pythonFiles/experimental/ptvsd ptvsd --no-cache-dir;
8870
- if [ $DEBUGGER_TEST_RELEASE == "true" ]; then
8971
npm run cover:enable;
9072
npm run testDebugger --silent;
9173
fi
9274
- npm run debugger-coverage
93-
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
94-
bash <(curl -s https://codecov.io/bash);
95-
fi
9675
- if [ $FUNCTIONAL_TEST == "true" ]; then
9776
python -m pip install --upgrade -r functionalTestRequirements.txt;
9877
npm run test:functional;
@@ -101,16 +80,10 @@ script:
10180
npm run cover:enable;
10281
npm run testSingleWorkspace --silent;
10382
fi
104-
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
105-
bash <(curl -s https://codecov.io/bash);
106-
fi
10783
- if [ $MULTIROOT_WORKSPACE_TEST == "true" ]; then
10884
npm run cover:enable;
10985
npm run testMultiWorkspace --silent;
11086
fi
111-
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
112-
bash <(curl -s https://codecov.io/bash);
113-
fi
11487
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && "$PERFORMANCE_TEST" == "true" ]]; then
11588
npm run testPerformance --silent;
11689
fi
@@ -123,6 +96,13 @@ script:
12396
- if [[ $AZURE_STORAGE_ACCOUNT && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
12497
npm run clean;
12598
vsce package;
99+
azure storage blob upload python*.vsix $AZURE_STORAGE_CONTAINER ms-python-insiders-unbundled.vsix --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_ACCESS_KEY --quiet;
100+
fi
101+
- if [[ $BUNDLE == "true" && $AZURE_STORAGE_ACCOUNT && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
102+
npm run clean;
103+
npm run package;
104+
npx gulp clean:cleanExceptTests;
105+
npm run testSmoke;
126106
azure storage blob upload python*.vsix $AZURE_STORAGE_CONTAINER ms-python-insiders.vsix --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_ACCESS_KEY --quiet;
127107
fi
128108
- if [[ $AZURE_STORAGE_ACCOUNT && "$TRAVIS_BRANCH" == release* && "$TRAVIS_PULL_REQUEST" == "false" ]]; then

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"eg2.tslint"
6+
]
7+
}

.vscode/launch.json

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"runtimeExecutable": "${execPath}",
4343
"args": [
4444
"${workspaceFolder}/src/testMultiRootWkspc/multi.code-workspace",
45+
"--disable-extensions",
4546
"--extensionDevelopmentPath=${workspaceFolder}",
4647
"--extensionTestsPath=${workspaceFolder}/out/test"
4748
],
@@ -63,6 +64,7 @@
6364
"runtimeExecutable": "${execPath}",
6465
"args": [
6566
"${workspaceFolder}/src/test",
67+
"--disable-extensions",
6668
"--extensionDevelopmentPath=${workspaceFolder}",
6769
"--extensionTestsPath=${workspaceFolder}/out/test"
6870
],
@@ -80,6 +82,7 @@
8082
"runtimeExecutable": "${execPath}",
8183
"args": [
8284
"${workspaceFolder}/src/testMultiRootWkspc/multi.code-workspace",
85+
"--disable-extensions",
8386
"--extensionDevelopmentPath=${workspaceFolder}",
8487
"--extensionTestsPath=${workspaceFolder}/out/test"
8588
],
@@ -91,33 +94,14 @@
9194
],
9295
"preLaunchTask": "Compile"
9396
},
94-
{
95-
"name": "Tests (Language Server)",
96-
"type": "extensionHost",
97-
"request": "launch",
98-
"runtimeExecutable": "${execPath}",
99-
"args": [
100-
"${workspaceFolder}/src/test",
101-
"--extensionDevelopmentPath=${workspaceFolder}",
102-
"--extensionTestsPath=${workspaceFolder}/out/test"
103-
],
104-
"stopOnEntry": false,
105-
"sourceMaps": true,
106-
"outFiles": [
107-
"${workspaceFolder}/out/**/*.js"
108-
],
109-
"preLaunchTask": "Compile",
110-
"env": {
111-
"VSC_PYTHON_LANGUAGE_SERVER": "1"
112-
}
113-
},
11497
{
11598
"name": "Tests (VS Code, with code coverage, *.test.ts)",
11699
"type": "extensionHost",
117100
"request": "launch",
118101
"runtimeExecutable": "${execPath}",
119102
"args": [
120103
"${workspaceFolder}/src/test",
104+
"--disable-extensions",
121105
"--extensionDevelopmentPath=${workspaceFolder}",
122106
"--extensionTestsPath=${workspaceFolder}/out/test"
123107
],

.vscodeignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
1+
!out/client/**/*.map
12
**/*.map
3+
*.vsix
24
.appveyor.yml
35
.editorconfig
46
.eslintrc
57
.gitattributes
68
.gitignore
79
.gitmodules
10+
.huskyrc.json
811
.npmrc
912
.travis.yml
1013
CODE_OF_CONDUCT.md
1114
CODING_STANDARDS.md
1215
CONTRIBUTING.md
1316
CONTRIBUTING - LANGUAGE SERVER.md
1417
coverconfig.json
18+
functionalTestRequirements.txt
1519
gulpfile.js
20+
package-lock.json
1621
packageExtension.cmd
22+
pvsc-dev-ext.py
23+
PYTHON_INTERACTIVE_TROUBLESHOOTING.md
1724
tsconfig.json
1825
tsfmt.json
1926
tslint.json
2027
typings.json
2128
vsc-extension-quickstart.md
2229
vscode-python-signing.*
2330
webpack.config.js
24-
yarn.lock
31+
webpack.datascience-ui.config.js
2532

2633
.github/**
2734
.mocha-reporter/**

0 commit comments

Comments
 (0)