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

Draft fix old ci #1822

Closed
wants to merge 234 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
01e798a
Share telemetry from core extension. (#20893)
heejaechang Mar 22, 2023
61f93c3
Fix title and placeholder for python selection when using create env …
karthiknadig Mar 22, 2023
be55c97
Adjust a few strings that mention Python (#20900)
luabud Mar 23, 2023
5f9be4e
Make sure we delay start pylance server (#20910)
heejaechang Mar 24, 2023
43a21a2
Remove HTTP Client usage (#20922)
karthiknadig Mar 27, 2023
d809af4
Use new formatter install prompt on missing formatter (#20904)
karthiknadig Mar 27, 2023
6e31c6a
Update version of main to release candidate (#20923)
karthiknadig Mar 28, 2023
5fd9f97
Update main to next pre-release (#20928)
karthiknadig Mar 28, 2023
b208384
Add diagnostic to validate ComSpec (#20927)
Mar 29, 2023
ef6511e
Fix telemetry when updating pip (#20903)
karthiknadig Mar 29, 2023
8d8784f
Fix diagnostic to use "System32" instead of "SystemRoot" (#20937)
Mar 29, 2023
34c54f4
No longer install the Jupyter extension by default (#20218)
luabud Mar 29, 2023
bc59a7d
Fix linting in APIs (#20623)
paulacamargo25 Mar 29, 2023
37a70fd
Update note on the Jupyter extension in README (#20946)
luabud Mar 29, 2023
96aa8f8
Do not deprecate `python.terminal.activateEnvironmentInTerminal` sett…
Mar 30, 2023
56d1912
Fix running Untitled files with the play button (#20955)
Mar 31, 2023
5528e0e
Add nushell support to venv activation (#20842)
flying-sheep Mar 31, 2023
6fec579
Auto add community feedback comment (#20956)
karthiknadig Apr 3, 2023
1840a15
Move 'Run in ...' commands to sub-menu (#20965)
karthiknadig Apr 4, 2023
d637d92
Switch to UUID from CWD for testing (#20980)
eleanorjboyd Apr 4, 2023
e97e237
Automatically add and remove the "info needed" label (#20970)
Apr 5, 2023
22ba6bd
Don't show create env in diff editor (#20998)
karthiknadig Apr 5, 2023
3c84470
Fix UUID unittest (#20996)
eleanorjboyd Apr 5, 2023
7241760
Add `microvenv` support for non-windows platforms (#20985)
karthiknadig Apr 5, 2023
51d7963
Update to latest `debugpy` version 1.6.7 (#21001)
karthiknadig Apr 6, 2023
e1b74f9
Bump actions/checkout from 2 to 3 (#21006)
dependabot[bot] Apr 6, 2023
562ed79
Bump actions/github-script from 4 to 6 (#21007)
dependabot[bot] Apr 6, 2023
407717e
Bump peter-evans/create-or-update-comment from 2 to 3 (#21005)
dependabot[bot] Apr 6, 2023
d036567
Remove not-existent files from .eslintignore (#21011)
cpinamtz Apr 6, 2023
2401e13
Add an automation to close issue with response if Python 2.7 was sele…
Apr 6, 2023
869dc64
switch to using tcp for comm with server (#20981)
eleanorjboyd Apr 6, 2023
d844f7d
Bump mheap/github-action-required-labels from 3 to 4 (#20975)
dependabot[bot] Apr 6, 2023
6fbfde9
fix typing to be 3.7 compatible (#21012)
eleanorjboyd Apr 7, 2023
b771c0e
add tests for unittest execution adapter (#21017)
eleanorjboyd Apr 7, 2023
e288f8b
Switch to List Data Structure for Checking Known UUIDs in Test Server…
eleanorjboyd Apr 7, 2023
f4f883c
Fix info needed workflow (#21021)
Apr 8, 2023
c64bb0e
Add Testing for PytestExecutionAdapter (#21019)
eleanorjboyd Apr 10, 2023
983f05a
Add testing for unittest execution python logic (#21022)
eleanorjboyd Apr 10, 2023
92744f7
Bump xml2js from 0.4.23 to 0.5.0 (#21032)
dependabot[bot] Apr 11, 2023
d613776
Fix debugging when using "internalConsole" (#21033)
Apr 11, 2023
f058f5e
Undo unwanted change in env var tests (#21035)
Apr 11, 2023
7d2cd36
Update packages for Component Governance (#21037)
karthiknadig Apr 11, 2023
81debac
Make fixes to `pythonTerminalEnvVarActivation` experiment (#21036)
Apr 11, 2023
b4f0ad1
Expand Testing for Unittest Run in PythonFiles (#21028)
eleanorjboyd Apr 11, 2023
586d18f
Fix for missing `pip` in codespaces with `venv` (#21041)
karthiknadig Apr 11, 2023
b68facc
Remove unused bits entries from package.json (#21046)
karthiknadig Apr 13, 2023
7ac230c
Localize walkthroughs (#21045)
karthiknadig Apr 17, 2023
ed06e55
Edited Discovery Logic (#20631)
eleanorjboyd Apr 17, 2023
ab1eb28
Attempt to fix pre-release build (#21071)
Apr 17, 2023
48952a3
Use new logging API for python extension logger and LS logger (#21062)
karthiknadig Apr 17, 2023
8f8f624
Direct users to the Jupyter extension when using Run in Interactive w…
Apr 18, 2023
61882f7
Add quick pick hover support to explain conda environment lacking a P…
Apr 18, 2023
d05b83f
Python test execution simple (#21053)
eleanorjboyd Apr 18, 2023
7ddfd9f
Add black to `extensions.json` (#20912)
cpinamtz Apr 18, 2023
d23afe8
Add unittest subtest (#21081)
eleanorjboyd Apr 19, 2023
a009edb
Default to `--no-cov` when debugging pytest (#21048)
aidoskanapyanov Apr 19, 2023
05cb255
Create environment proposed API (#21074)
karthiknadig Apr 19, 2023
9bb5a44
Deprecate python logging level setting (#21083)
karthiknadig Apr 19, 2023
77c63f1
Remove Pylance auto-indent experiment code (#21088)
debonte Apr 20, 2023
7b4bc29
Overload methods testing rewrite (#21082)
eleanorjboyd Apr 20, 2023
d905cf0
Pytest fix execution args (#21094)
eleanorjboyd Apr 21, 2023
9f24fbf
Support `pythonTerminalEnvVarActivation` experiment in multiroot work…
Apr 23, 2023
60db593
Show message in logs when `distutils` is missing. (#21125)
karthiknadig Apr 25, 2023
d6269a4
Add Pytest Logging On Workspace Level (#21133)
eleanorjboyd Apr 26, 2023
1f4bfe9
Ensure microvenv is added to path after selection. (#21132)
karthiknadig Apr 26, 2023
acc8906
Fix workspaceFolderToken -> workspaceFolder (#21095)
pamelafox Apr 26, 2023
4207576
Fix telemetry event when using debug file configuration (#21118)
r3m0t Apr 27, 2023
7e72067
Add GDPR classification tag for new event (#21135)
luabud Apr 27, 2023
e0558ce
Revert "Default to `--no-cov` when debugging pytest" (#21152)
karthiknadig May 1, 2023
f7479fa
Show formatter extension install prompt and not the old prompt (#21138)
karthiknadig May 1, 2023
0db6577
Release candidate (#21159)
karthiknadig May 1, 2023
4b5cc8d
Update main to next pre-release version (#21160)
karthiknadig May 1, 2023
73cdbf1
Update extension to node 16 (#21161)
karthiknadig May 2, 2023
68fc3b1
Migrate azure pipelines to node 16 (#21162)
karthiknadig May 2, 2023
24c57bd
Fix typo in a type declaration of MultiStepInput module (#21156)
cpinamtz May 3, 2023
f5eded2
Insert debug configuration function on every quickpick item (#21165)
cpinamtz May 3, 2023
7dfa631
Add telemetry event when creating environment using button (#21172)
karthiknadig May 3, 2023
4112b04
Add some more coverage to utils functions (#21026)
cpinamtz May 4, 2023
6bdada0
Use `saveEditor` proposed API for running untitled Python files (#21183)
May 4, 2023
678f70d
Remove hack to check the vscode version (#21180)
paulacamargo25 May 4, 2023
f0253e5
Use actions from `vscode-github-triage-actions` in all Python automat…
May 5, 2023
17daae4
Open separate Python terminals when running different Python files (#…
May 9, 2023
a85eb3b
Fix startup telemetry issue (#21203)
May 9, 2023
8d291f7
Disable "snippets" expansion in Jedi LSP (#21194)
PeterJCLaw May 9, 2023
5eef525
Add logging when interpreter path changes (#21210)
May 9, 2023
eb9fde3
Add `createEnvironment.contentButton` setting (#21212)
karthiknadig May 10, 2023
1533818
Added option to run multiple Python files in separate terminals (#21223)
May 10, 2023
0c4fa40
Change name of command to run Python files in separate terminals (#21…
May 11, 2023
b0da28c
Remove IS_WINDOWS constant in favor of PlatformService (#21157)
cpinamtz May 11, 2023
b3d43e5
Do not open "save as" window when running existing Python files (#21232)
May 11, 2023
fcfc54c
Add option for pyenv interpreters when creating environments with ven…
JonathanRayner May 12, 2023
b4a47bb
Add reload flag on fastApi provider (#21241)
paulacamargo25 May 15, 2023
be9662f
revert testing to using socket (#21242)
eleanorjboyd May 16, 2023
b0ebc9b
Enable debug pytest (#21228)
eleanorjboyd May 16, 2023
a74f1d1
Detect installed packages in the selected environment (#21231)
karthiknadig May 16, 2023
c9a7268
Revert "Remove hack to check the vscode version" (#21294)
May 24, 2023
4b4e5b7
Update pyright version (#21296)
paulacamargo25 May 24, 2023
f2f5fe2
Check config type in the ChildProcessAttachEvents (#21272)
paulacamargo25 May 24, 2023
e2a9cec
allow large scale testing (#21269)
eleanorjboyd May 24, 2023
b916981
remove unneeded multiroot code (#21295)
eleanorjboyd May 24, 2023
4109228
fix debugging with new pytest run script (#21299)
eleanorjboyd May 25, 2023
72f7ef8
Set up testing rewrite experiment (#21258)
eleanorjboyd May 25, 2023
c213491
Apply environment variables after shell initialization scripts are ru…
May 26, 2023
f148139
allow pytest tests to handle multiple payloads (#21301)
eleanorjboyd May 26, 2023
e9a8dd5
remove duplicates from test_ids array (#21347)
eleanorjboyd May 31, 2023
d968b8c
Dont show command for button trigger in command pallet (#21350)
karthiknadig May 31, 2023
dbd0b73
adding extra log messages for rewrite debugging (#21352)
eleanorjboyd May 31, 2023
cd76ee1
add pythonTestAdapter to experiment enum (#21357)
eleanorjboyd Jun 2, 2023
be829b3
Unittest for large workspaces (#21351)
eleanorjboyd Jun 5, 2023
a395e2e
fix bug so canceling debug works in rewrite (#21361)
eleanorjboyd Jun 5, 2023
ad9c899
Update version for release candidate (#21369)
karthiknadig Jun 6, 2023
479a577
update version for next pre-release (#21376)
anthonykim1 Jun 6, 2023
aef6e37
Bump typing-extensions from 4.5.0 to 4.6.3 (#21358)
dependabot[bot] Jun 6, 2023
85af76c
Add function node for parameterized tests pytest (#21368)
eleanorjboyd Jun 8, 2023
84e67af
Remove jupyter depenency from readme (#21375)
minsa110 Jun 8, 2023
3e5af44
Dont sent telemetry in forks (#21377)
paulacamargo25 Jun 8, 2023
d5500a5
fix pytest run script to add cwd to path (#21399)
eleanorjboyd Jun 9, 2023
a9d5cff
Fix for showing button in merge result editor (#21408)
karthiknadig Jun 12, 2023
06f7db2
Python Walkthrough Updates (#21411)
cwebster-99 Jun 13, 2023
cb859ca
Revert: Run in dedicated terminal feature due to regressions (#21418)
karthiknadig Jun 13, 2023
625b860
Fix build failure (#21425)
karthiknadig Jun 13, 2023
f5acb54
Add flag to publish releases on manual pre-release builds (#21429)
karthiknadig Jun 14, 2023
e1c50ae
21249 read launch config in workspace file (#21426)
paulacamargo25 Jun 14, 2023
88e2ef5
Fix bug that errors on repeat folder name (#21433)
eleanorjboyd Jun 15, 2023
3dc11d2
20711 use cwd in debug testing (#21437)
paulacamargo25 Jun 15, 2023
1323a6a
Engineering - add TSAOptions (#21460)
lszomoru Jun 21, 2023
0f23238
Result resolver feature branch (#21457)
eleanorjboyd Jun 21, 2023
acd1299
Fix error checking python version (#21464)
paulacamargo25 Jun 21, 2023
2e936ef
Adopt lifecycle managed by parent (#21467)
paulacamargo25 Jun 22, 2023
55cd2e0
add test for import pytest error (#21472)
eleanorjboyd Jun 22, 2023
8c86417
Add dynamic result (#21466)
eleanorjboyd Jun 23, 2023
c1ff6c3
add to payload to allow error parsing on TS (#21483)
eleanorjboyd Jun 23, 2023
9c0af35
Let pylance use SharedArrayBuffer cancellation in the browser (#21482)
rchiodo Jun 26, 2023
304dffa
add cwd to python path during unittest sendCommand (#21490)
eleanorjboyd Jun 26, 2023
bd5b622
Dev Container for VS Code Python Extension (#21435)
anthonykim1 Jun 26, 2023
0307e91
split subtest name to be unique second half (#21497)
eleanorjboyd Jun 27, 2023
84f334f
fix bug that caused dup in param test cases (#21498)
eleanorjboyd Jun 27, 2023
8e61977
Fix filtering with QuickPick (#21524)
karthiknadig Jun 28, 2023
e40fe9d
Add GDPR tag to method property (#21522)
luabud Jun 28, 2023
2674842
rewrite should respect settings.testing.cwd (#21539)
eleanorjboyd Jun 29, 2023
b1931a3
fix bug which merges all parametrize test classes (#21542)
eleanorjboyd Jun 29, 2023
79bb94f
fix bug where session path is undefined (#21544)
eleanorjboyd Jun 29, 2023
1d58cef
Fix syspath in discovery unittest (#21546)
paulacamargo25 Jun 30, 2023
af7eb56
update to align with sys path appends (#21547)
eleanorjboyd Jun 30, 2023
f37f883
Fix path for pytest Nodes (#21548)
eleanorjboyd Jun 30, 2023
a5ef6a2
Update version for release candidate (#21556)
karthiknadig Jul 5, 2023
66270f0
Update main to next pre-release (#21559)
karthiknadig Jul 5, 2023
4f15a50
Bump semver from 5.7.1 to 7.5.2 (#21489)
dependabot[bot] Jul 5, 2023
724a0fd
Bump typing-extensions from 4.6.3 to 4.7.1 (#21552)
dependabot[bot] Jul 5, 2023
b1c3837
Correct PATH env var name for non-Windows when applying env var colle…
Jul 5, 2023
27ad70a
Disable creating gh tags for pre-releases (#21563)
karthiknadig Jul 5, 2023
cfee3dd
Remove needs labels (#21572)
eleanorjboyd Jul 6, 2023
2024636
Info needed closer (#21575)
eleanorjboyd Jul 6, 2023
abcb5ce
Move lock issues (#21580)
eleanorjboyd Jul 7, 2023
6744590
Move more workflows to python (#21581)
eleanorjboyd Jul 10, 2023
523b1f6
Update list of repo labels (#21597)
Jul 10, 2023
1308730
Add pythonwelcome2 walkthrough to activation reason (#21588)
luabud Jul 10, 2023
f77a011
fix duplicate class names processed as single node in build test tree…
eleanorjboyd Jul 10, 2023
049ca8b
Return exceptions & skips correctly pytest (#21603)
eleanorjboyd Jul 10, 2023
d3b8985
Refactor API code in a separate module (#21604)
Jul 10, 2023
cd10e38
Download `get-pip.py` during build (#21589)
karthiknadig Jul 11, 2023
d63fb18
Bump brettcannon/check-for-changed-files from 1.1.0 to 1.1.1 (#21607)
dependabot[bot] Jul 11, 2023
0c4a156
Bump mheap/github-action-required-labels from 4 to 5 (#21606)
dependabot[bot] Jul 11, 2023
8099383
Bump actions/checkout from 2 to 3 (#21577)
dependabot[bot] Jul 11, 2023
0cc5b18
handle skipped marker on class level (#21612)
eleanorjboyd Jul 12, 2023
0beefa0
Bump semver (#21618)
rzhao271 Jul 12, 2023
5ccb731
delete run messages (#21620)
eleanorjboyd Jul 12, 2023
0b30aaa
display errors and tests on discovery (#21629)
eleanorjboyd Jul 13, 2023
b454189
Fix for CodeQL errors (#21613)
karthiknadig Jul 13, 2023
65a761f
Add deprecation warning for linting and formatting settings (#21585)
luabud Jul 13, 2023
e07aa5e
Update writing style based on recommendation (#21525)
karthiknadig Jul 14, 2023
ea76858
Handle error tests as a different test icon (#21630)
eleanorjboyd Jul 14, 2023
f38f6e5
Add npm project for Python API (#21631)
Jul 14, 2023
f4d7556
Update README for Python extension API to point to examples (#21638)
Jul 14, 2023
fc1c391
Compare global storage data using only `key` (#21636)
msujew Jul 17, 2023
2e8dc67
Add extra logging regarding interpreter discovery (#21639)
Jul 17, 2023
f7125da
Use correct `tsconfig.json` when generating npm package (#21651)
Jul 17, 2023
c144200
Modify .eslintrc to turn off any errors for declaration files (#21652)
Jul 17, 2023
81ae205
Bring back feature to Run Python file in dedicated terminal (#21656)
Jul 18, 2023
c256678
Prevent posix paths locator from crashing (#21657)
Jul 19, 2023
be334bd
Do not resolve symbolic links in posix locator if they exceed the cou…
Jul 19, 2023
713007f
correct discovery on unittest skip at file level (#21665)
eleanorjboyd Jul 19, 2023
9bcb82d
Ensure `Run Python in dedicated terminal` uses `python.executeInFirDi…
Jul 24, 2023
73a0e9d
handle skip unittest at file without error (#21678)
eleanorjboyd Jul 24, 2023
6af959d
Dev Container Using MCR (#21675)
anthonykim1 Jul 24, 2023
a42cb33
Add new telemetry property to GPDR (#21683)
rchiodo Jul 24, 2023
f536b74
Edit issue-labels.yml, triage-info-needed.yml (#21685)
anthonykim1 Jul 25, 2023
8b9bca1
Do not show "Select at workspace level" option if only one workspace …
Jul 25, 2023
d673004
Convert JS-style typings to native TS in `@vscode/python-extension` (…
Jul 25, 2023
83107cc
Move "vscode" out of required dependencies for npm package (#21701)
Jul 27, 2023
06d62aa
Update homepage for Python API package (#21703)
Jul 28, 2023
efcc3d7
Make test_ids relative to workspace path not root dir (#21682)
eleanorjboyd Jul 28, 2023
11a9f1d
Remove unwanted Jupyter API (#21702)
DonJayamanne Jul 31, 2023
ceecdb0
Removing Jupyter Notebooks mentions from package.json (#21708)
cwebster-99 Jul 31, 2023
d9e368f
add area-repl to issue label (#21718)
anthonykim1 Jul 31, 2023
237f82b
Fix UUID and disposing to resolve race condition (#21667)
eleanorjboyd Jul 31, 2023
3e7118f
Update packages for Jedi and core python (#21710)
karthiknadig Aug 1, 2023
4ab510d
Update version for release candidate (#21727)
karthiknadig Aug 1, 2023
a6a8cb1
Update main to next pre-release (#21728)
karthiknadig Aug 1, 2023
8f3d60b
unittest discovery errors not displaying in test explorer (#21726)
eleanorjboyd Aug 1, 2023
358635d
Remove old and unused API for Jupyter Ext (#21731)
DonJayamanne Aug 2, 2023
ef16727
Clean up smoke test requirement (#21729)
anthonykim1 Aug 2, 2023
84bbff9
add cwd for debugging (#21668)
eleanorjboyd Aug 2, 2023
ca4dfd4
update tests only on save with more files excluded (#21741)
eleanorjboyd Aug 2, 2023
dff25d4
revert absolute test-ids (#21742)
eleanorjboyd Aug 3, 2023
f454515
Update release plan to document what to do with `main` during endgame…
brettcannon Aug 3, 2023
40bb62a
fix spelling for get-pip.py (#21752)
anthonykim1 Aug 3, 2023
23353bb
Improvements to `pythonTerminalEnvVarActivation` experiment (#21751)
Aug 4, 2023
40ff6e9
Remove private Jupyter APIs from public API types (#21761)
Aug 4, 2023
dd20561
revert due to buffer overflow on subprocess (#21762)
eleanorjboyd Aug 4, 2023
cabdf39
Use `optionalDependencies` instead of `peerDependencies` for `@vscode…
Aug 4, 2023
8e0e59b
Remove optionalDependencies from API npm package and document to inst…
Aug 4, 2023
c490339
Update version of npm package (#21765)
Aug 4, 2023
3fed49f
Add Ruff to CI (#21739)
anthonykim1 Aug 4, 2023
9ac14b8
Update README.md for npm package (#21766)
Aug 4, 2023
0a2c285
Bump brettcannon/check-for-changed-files from 1.1.1 to 1.2.0 (#21772)
dependabot[bot] Aug 9, 2023
fbbf987
Use updated API to fetch scoped env collection (#21788)
Aug 10, 2023
835eab5
Add setting to control severity of missing package diagnostic. (#21794)
karthiknadig Aug 10, 2023
ab8d3b2
Update VS Code engine (#21799)
Aug 10, 2023
71d6dab
Add one more property to load event (#21800)
luabud Aug 11, 2023
385bb37
Add `language_server.jinja_usage` to `pylance.ts` (#21809)
debonte Aug 14, 2023
bd749aa
Fix `service.test.ts` to stop disposing of all services (#21811)
eleanorjboyd Aug 14, 2023
b447bf1
Feature branch testing overflow bug fix (#21812)
eleanorjboyd Aug 15, 2023
9c740b9
Show notification reaffirming Python extension still handles activati…
Aug 15, 2023
0248fa8
fixing failing tests on CI (#21814)
eleanorjboyd Aug 15, 2023
5140a8d
Apply API recommendations for Create Env API (#21804)
karthiknadig Aug 15, 2023
96ba735
fix data to string from buffer for output channel (#21821)
eleanorjboyd Aug 16, 2023
c979455
Set workspaceFolder in debug config before substituting command varia…
Aug 17, 2023
8407e9d
Wrap env collection workspace proposed APIs in `try...catch` block (#…
Aug 18, 2023
021b362
Update VS Code engine (#21847)
Aug 18, 2023
0749b20
Show `Python: Clear Workspace interpreter` command regardless of whet…
Aug 21, 2023
cfbf1f3
remove usage of pytest CollectReport in rewrite (#21859)
eleanorjboyd Aug 21, 2023
15bb974
Do not filter using scheme when filtering environments (#21862)
Aug 22, 2023
9cc30b2
attempt to get CI to pass
eleanorjboyd Aug 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:16-bookworm

RUN apt-get install -y wget bzip2

# Run in silent mode and save downloaded script as anaconda.sh.
# Run with /bin/bash and run in silent mode to /opt/conda.
# Also get rid of installation script after finishing.
RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-2023.07-1-Linux-x86_64.sh -O ~/anaconda.sh && \
/bin/bash ~/anaconda.sh -b -p /opt/conda && \
rm ~/anaconda.sh

ENV PATH="/opt/conda/bin:$PATH"

# Sudo apt update needs to run in order for installation of fish to work .
RUN sudo apt update && \
sudo apt install fish -y


30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "VS Code Python Dev Container",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"dockerfile": "./Dockerfile",
"context": ".."
},
"customizations": {
"vscode": {
"extensions": [
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"ms-python.python",
"ms-python.black-formatter",
"ms-python.vscode-pylance",
"charliermarsh.ruff"
]
}
},
// Commands to execute on container creation,start.
"postCreateCommand": "bash scripts/postCreateCommand.sh",
"onCreateCommand": "bash scripts/onCreateCommand.sh",

"containerEnv": {
"CI_PYTHON_PATH": "/workspaces/vscode-python/.venv/bin/python"
}

}
16 changes: 2 additions & 14 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pythonExtensionApi/out/

# The following files were grandfathered out of eslint. They can be removed as time permits.

src/test/analysisEngineTest.ts
Expand Down Expand Up @@ -48,8 +50,6 @@ src/test/testing/common/services/configSettingService.unit.test.ts

src/test/common/exitCIAfterTestReporter.ts

src/test/common/net/fileDownloader.unit.test.ts
src/test/common/net/httpClient.unit.test.ts

src/test/common/terminals/activator/index.unit.test.ts
src/test/common/terminals/activator/base.unit.test.ts
Expand All @@ -76,7 +76,6 @@ src/test/common/platform/filesystem.test.ts

src/test/common/utils/cacheUtils.unit.test.ts
src/test/common/utils/decorators.unit.test.ts
src/test/common/utils/localize.functional.test.ts
src/test/common/utils/version.unit.test.ts

src/test/common/configSettings/configSettings.unit.test.ts
Expand Down Expand Up @@ -108,7 +107,6 @@ src/test/common/interpreterPathService.unit.test.ts

src/test/pythonFiles/formatting/dummy.ts

src/test/debugger/extension/banner.unit.test.ts
src/test/debugger/extension/adapter/adapter.test.ts
src/test/debugger/extension/adapter/outdatedDebuggerPrompt.unit.test.ts
src/test/debugger/extension/adapter/factory.unit.test.ts
Expand All @@ -124,7 +122,6 @@ src/test/telemetry/index.unit.test.ts
src/test/telemetry/envFileTelemetry.unit.test.ts

src/test/application/diagnostics/checks/macPythonInterpreter.unit.test.ts
src/test/application/diagnostics/checks/pythonPathDeprecated.unit.test.ts
src/test/application/diagnostics/checks/pythonInterpreter.unit.test.ts
src/test/application/diagnostics/checks/invalidLaunchJsonDebugger.unit.test.ts
src/test/application/diagnostics/checks/powerShellActivation.unit.test.ts
Expand All @@ -139,7 +136,6 @@ src/test/performance/load.perf.test.ts

src/client/interpreter/configuration/interpreterSelector/commands/base.ts
src/client/interpreter/configuration/interpreterSelector/commands/resetInterpreter.ts
src/client/interpreter/configuration/interpreterSelector/commands/setShebangInterpreter.ts
src/client/interpreter/configuration/pythonPathUpdaterServiceFactory.ts
src/client/interpreter/configuration/services/globalUpdaterService.ts
src/client/interpreter/configuration/services/workspaceUpdaterService.ts
Expand All @@ -148,7 +144,6 @@ src/client/interpreter/helpers.ts
src/client/interpreter/virtualEnvs/condaInheritEnvPrompt.ts
src/client/interpreter/display/index.ts

src/client/api.ts
src/client/extension.ts
src/client/sourceMapSupport.ts
src/client/startupTelemetry.ts
Expand Down Expand Up @@ -178,12 +173,9 @@ src/client/testing/common/runner.ts

src/client/common/helpers.ts
src/client/common/net/browser.ts
src/client/common/net/fileDownloader.ts
src/client/common/net/httpClient.ts
src/client/common/net/socket/socketCallbackHandler.ts
src/client/common/net/socket/socketServer.ts
src/client/common/net/socket/SocketStream.ts
src/client/common/asyncDisposableRegistry.ts
src/client/common/editor.ts
src/client/common/contextKey.ts
src/client/common/experiments/telemetry.ts
Expand All @@ -208,10 +200,6 @@ src/client/common/terminal/shellDetectors/vscEnvironmentShellDetector.ts
src/client/common/terminal/shellDetectors/terminalNameShellDetector.ts
src/client/common/terminal/shellDetectors/settingsShellDetector.ts
src/client/common/terminal/shellDetectors/baseShellDetector.ts
src/client/common/terminal/environmentActivationProviders/baseActivationProvider.ts
src/client/common/terminal/environmentActivationProviders/commandPrompt.ts
src/client/common/terminal/environmentActivationProviders/bash.ts
src/client/common/terminal/environmentActivationProviders/pyenvActivationProvider.ts
src/client/common/utils/decorators.ts
src/client/common/utils/enum.ts
src/client/common/utils/platform.ts
Expand Down
7 changes: 4 additions & 3 deletions .github/actions/build-vsix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:
cache: 'pip'
cache-dependency-path: |
requirements.txt
build/debugger-install-requirements.txt
build/build-install-requirements.txt
pythonFiles/jedilsp_requirements/requirements.txt

- name: Upgrade Pip
Expand All @@ -46,10 +46,11 @@ runs:
with:
options: '-t ./pythonFiles/lib/python --implementation py'

- name: Install debugpy
- name: Install debugpy and get-pip
run: |
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
python -m pip --disable-pip-version-check install packaging
python ./pythonFiles/install_debugpy.py
python ./pythonFiles/download_get_pip.py
shell: bash

- name: Install Jedi LSP
Expand Down
7 changes: 7 additions & 0 deletions .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ runs:
python -m black . --check
working-directory: pythonFiles
shell: bash

- name: Run Ruff
run: |
python -m pip install -U ruff
python -m ruff check .
working-directory: pythonFiles
shell: bash
6 changes: 0 additions & 6 deletions .github/actions/smoke-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ runs:
cache-dependency-path: |
build/test-requirements.txt
requirements.txt
build/smoke-test-requirements.txt

- name: Install dependencies (npm ci)
run: npm ci --prefer-offline
Expand All @@ -43,11 +42,6 @@ runs:
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --implementation py --no-deps --upgrade --pre debugpy
shell: bash

- name: pip install smoke test requirements
run: |
python -m pip install --upgrade -r build/smoke-test-requirements.txt
shell: bash

# Bits from the VSIX are reused by smokeTest.ts to speed things up.
- name: Download VSIX
uses: actions/download-artifact@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/release_plan.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
All dates should align with VS Code's [iteration](https://github.com/microsoft/vscode/labels/iteration-plan) and [endgame](https://github.com/microsoft/vscode/labels/endgame-plan) plans.

Feature freeze is Monday @ 17:00 America/Vancouver, XXX XX.
Feature freeze is Monday @ 17:00 America/Vancouver, XXX XX. At that point, commits to `main` should only be in response to bugs found during endgame testing until the release candidate is ready.


NOTE: the number of this release is in the issue title and can be substituted in wherever you see [YYYY.minor].
Expand Down Expand Up @@ -51,6 +51,7 @@ NOTE: this PR should make all CI relating to `main` be passing again (such as th
- [ ] Manually add/fix any 3rd-party licenses as appropriate based on what the internal build pipeline detects.
- [ ] Open appropriate [documentation issues](https://github.com/microsoft/vscode-docs/issues?q=is%3Aissue+is%3Aopen+label%3Apython).
- [ ] Contact the PM team to begin drafting a blog post.
- [ ] Announce to the development team that `main` is open again.


# Release (Wednesday, XXX XX)
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'release-*'

env:
NODE_VERSION: 14.18.2
NODE_VERSION: 16.17.1
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
# Force a path with spaces and to test extension works in these scenarios
# Unicode characters are causing 2.7 failures so skip that for now.
Expand Down Expand Up @@ -103,6 +103,7 @@ jobs:
- name: Run Pyright
uses: jakebailey/pyright-action@v1
with:
version: 1.1.308
working-directory: 'pythonFiles'

### Non-smoke tests
Expand Down Expand Up @@ -146,6 +147,13 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Download get-pip.py
run: |
python -m pip install wheel
python -m pip install -r build/build-install-requirements.txt
python ./pythonFiles/download_get_pip.py
shell: bash

- name: Install debugpy
run: |
# We need to have debugpy so that tests relying on it keep passing, but we don't need install_debugpy's logic in the test phase.
Expand All @@ -171,7 +179,7 @@ jobs:
- name: Install debugpy wheels (Python ${{ matrix.python }})
run: |
python -m pip install wheel
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
python -m pip install -r build/build-install-requirements.txt
python ./pythonFiles/install_debugpy.py
shell: bash
if: matrix.test-suite == 'debugger'
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/community-feedback-auto-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Community Feedback Auto Comment

on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'needs community feedback'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check For Existing Comment
uses: peter-evans/find-comment@v2
id: finder
with:
issue-number: ${{ github.event.issue.number }}
comment-author: 'github-actions[bot]'
body-includes: 'Thanks for the feature request! We are going to give the community'

- name: Add Community Feedback Comment
if: steps.finder.outputs.comment-id == ''
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.issue.number }}
body: |
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
28 changes: 28 additions & 0 deletions .github/workflows/info-needed-closer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Info-Needed Closer
on:
schedule:
- cron: 20 12 * * * # 5:20am Redmond
repository_dispatch:
types: [trigger-needs-more-info]
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v3
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: stable
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run info-needed Closer
uses: ./actions/needs-more-info-closer
with:
label: info-needed
closeDays: 30
closeComment: "Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. \n\nHappy Coding!"
pingDays: 30
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
66 changes: 15 additions & 51 deletions .github/workflows/issue-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

env:
# To update the list of labels, see `getLabels.js`.
REPO_LABELS: '["area-data science","area-debugging","area-diagnostics","area-editor-*","area-environments","area-formatting","area-intellisense","area-internal","area-linting","area-terminal","area-testing","author-verification-requested","bug","community ask","debt","dependencies","documentation","experimenting","feature-request","good first issue","help wanted","important","info-needed","invalid-testplan-item","investigating","iteration-candidate","iteration-plan","iteration-plan-draft","javascript","linux","macos","meta","needs community feedback","needs PR","needs proposal","needs spike","no-changelog","on-testplan","partner ask","regression","release-plan","reports-wanted","skip package*.json","skip tests","tensorboard","testplan-item","triage-needed","verification-found","verification-needed","verification-steps-needed","verified","windows"]'
TRIAGERS: '["karrtikr","karthiknadig","paulacamargo25","eleanorjboyd"]'
REPO_LABELS: '["area-api","area-data science","area-debugging","area-diagnostics","area-editor-*","area-environments","area-formatting","area-intellisense","area-internal","area-linting","area-repl","area-terminal","area-testing","author-verification-requested","bug","community ask","debt","dependencies","documentation","experimenting","feature-request","good first issue","help wanted","important","info-needed","invalid-testplan-item","investigating","iteration-candidate","iteration-plan","iteration-plan-draft","javascript","linux","macos","meta","needs community feedback","needs PR","needs proposal","needs spike","no-changelog","on-testplan","partner ask","regression","release-plan","reports-wanted","skip package*.json","skip tests","tensorboard","testplan-item","triage-needed","verification-found","verification-needed","verification-steps-needed","verified","windows"]'
TRIAGERS: '["karrtikr","karthiknadig","paulacamargo25","eleanorjboyd","anthonykim1"]'

permissions:
issues: write
Expand All @@ -18,55 +18,19 @@ jobs:
name: "Add 'triage-needed' and remove unrecognizable labels & assignees"
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- name: Checkout Actions
uses: actions/checkout@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const result = await github.rest.issues.listLabelsOnIssue({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
})
const labels = result.data.map((label) => label.name)
const hasNeedsOrTPI = labels.some((label) => (label.startsWith('needs') || label === 'testplan-item' || label.startsWith('iteration-plan') || label === 'release-plan'))
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
path: ./actions

if (!hasNeedsOrTPI) {
console.log('This issue is not labeled with a "needs __", "iteration-plan", "release-plan", or the "testplan-item" label; add the "triage-needed" label.')
- name: Install Actions
run: npm install --production --prefix ./actions

github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['triage-needed']
})
} else {
console.log('This issue already has a "needs __", "iteration-plan", "release-plan", or the "testplan-item" label, do not add the "triage-needed" label.')
}
const knownTriagers = ${{ env.TRIAGERS }}
const currentAssignees = await github.rest.issues
.get({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
})
.then((result) => result.data.assignees.map((a) => a.login));
console.log('Known triagers:', JSON.stringify(knownTriagers));
console.log('Current assignees:', JSON.stringify(currentAssignees));
const assigneesToRemove = currentAssignees.filter(a => !knownTriagers.includes(a));
console.log('Assignees to remove:', JSON.stringify(assigneesToRemove));
github.rest.issues.removeAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
assignees: assigneesToRemove,
});
const knownLabels = ${{ env.REPO_LABELS }}
for( const label of labels) {
if (!knownLabels.includes(label)) {
await github.rest.issues.deleteLabel({
owner: context.repo.owner,
repo: context.repo.repo,
name: label,
})
}
}
- name: "Add 'triage-needed' and remove unrecognizable labels & assignees"
uses: ./actions/python-issue-labels
with:
triagers: ${{ env.TRIAGERS }}
token: ${{secrets.GITHUB_TOKEN}}
repo_labels: ${{ env.REPO_LABELS }}
3 changes: 2 additions & 1 deletion .github/workflows/lock-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
lock-issues:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
- name: 'Lock Issues'
uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-inactive-days: '30'
Expand Down
Loading
Loading