Skip to content

Commit 2dfc04f

Browse files
authored
Release candidate (#18123)
* Update jedi LSP to latest * Update version * Run npm audit fix * Update change log
1 parent 4c4be47 commit 2dfc04f

29 files changed

+1723
-3622
lines changed

CHANGELOG.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,127 @@
11
# Changelog
22

3+
## 2021.12.0-rc (6 December 2021)
4+
5+
### Enhancements
6+
7+
1. Python extension should activate on onDebugInitialConfigurations.
8+
(thanks [Nayana Vinod](https://github.com/nayana-vinod) and [Jessica Jolly](https://github.com/JessieJolly)).
9+
([#9557](https://github.com/Microsoft/vscode-python/issues/9557))
10+
1. Declare limited support when running in virtual workspaces by only supporting language servers.
11+
([#17519](https://github.com/Microsoft/vscode-python/issues/17519))
12+
1. Add a "Do not show again" option to the formatter installation prompt.
13+
([#17937](https://github.com/Microsoft/vscode-python/issues/17937))
14+
1. Add the ability to install `pip` if missing, when installing missing packages from the `Jupyter Extension`.
15+
([#17975](https://github.com/Microsoft/vscode-python/issues/17975))
16+
1. Declare limited support for untrusted workspaces by only supporting Pylance.
17+
([#18031](https://github.com/Microsoft/vscode-python/issues/18031))
18+
1. Update to latest jedi language server.
19+
([#18051](https://github.com/Microsoft/vscode-python/issues/18051))
20+
1. Add language status item indicating that extension works partially in virtual and untrusted workspaces.
21+
([#18059](https://github.com/Microsoft/vscode-python/issues/18059))
22+
23+
### Fixes
24+
25+
1. Partial fix for using the same directory as discovery when running tests.
26+
(thanks [Brian Rutledge](https://github.com/bhrutledge))
27+
([#9553](https://github.com/Microsoft/vscode-python/issues/9553))
28+
1. Handle decorators properly when using the `Run Selection/Line in Python Terminal` command.
29+
([#15058](https://github.com/Microsoft/vscode-python/issues/15058))
30+
1. Don't interpret `--rootdir` as a test folder for `pytest`.
31+
(thanks [Brian Rutledge](https://github.com/bhrutledge))
32+
([#16079](https://github.com/Microsoft/vscode-python/issues/16079))
33+
1. Ensure debug configuration env variables overwrite env variables defined in .env file.
34+
([#16984](https://github.com/Microsoft/vscode-python/issues/16984))
35+
1. Fix for `pytest` run all tests when using `pytest.ini` and `cwd`.
36+
(thanks [Brian Rutledge](https://github.com/bhrutledge))
37+
([#17546](https://github.com/Microsoft/vscode-python/issues/17546))
38+
1. When parsing pytest node ids with parameters, use native pytest information to separate out the parameter decoration rather than try and parse the nodeid as text.
39+
(thanks [Martijn Pieters](https://github.com/mjpieters))
40+
([#17676](https://github.com/Microsoft/vscode-python/issues/17676))
41+
1. Do not process system Python 2 installs on macOS Monterey.
42+
([#17870](https://github.com/Microsoft/vscode-python/issues/17870))
43+
1. Remove duplicate "Clear Workspace Interpreter Setting" command from the command palette.
44+
([#17890](https://github.com/Microsoft/vscode-python/issues/17890))
45+
1. Ensure that path towards extenal tools like linters are not synched between
46+
machines. (thanks [Sorin Sbarnea](https://github.com/ssbarnea))
47+
([#18008](https://github.com/Microsoft/vscode-python/issues/18008))
48+
1. Increase timeout for activation of conda environments from 30s to 60s.
49+
([#18017](https://github.com/Microsoft/vscode-python/issues/18017))
50+
51+
### Code Health
52+
53+
1. Removing experiments for refresh and failed tests buttons.
54+
([#17868](https://github.com/Microsoft/vscode-python/issues/17868))
55+
1. Remove caching debug configuration experiment only.
56+
([#17895](https://github.com/Microsoft/vscode-python/issues/17895))
57+
1. Remove "join mailing list" notification experiment.
58+
([#17904](https://github.com/Microsoft/vscode-python/issues/17904))
59+
1. Remove dependency on `winston` logger.
60+
([#17921](https://github.com/Microsoft/vscode-python/issues/17921))
61+
1. Bump isort from 5.9.3 to 5.10.0.
62+
([#17923](https://github.com/Microsoft/vscode-python/issues/17923))
63+
1. Remove old discovery code and discovery experiments.
64+
([#17962](https://github.com/Microsoft/vscode-python/issues/17962))
65+
1. Remove dependency on `azure-storage`.
66+
([#17972](https://github.com/Microsoft/vscode-python/issues/17972))
67+
1. Ensure telemetry correctly identifies when users set linter paths.
68+
([#18019](https://github.com/Microsoft/vscode-python/issues/18019))
69+
70+
### Thanks
71+
72+
Thanks to the following projects which we fully rely on to provide some of
73+
our features:
74+
75+
- [debugpy](https://pypi.org/project/debugpy/)
76+
- [isort](https://pypi.org/project/isort/)
77+
- [jedi](https://pypi.org/project/jedi/)
78+
and [parso](https://pypi.org/project/parso/)
79+
- [jedi-language-server](https://pypi.org/project/jedi-language-server/)
80+
- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server)
81+
- [Pylance](https://github.com/microsoft/pylance-release)
82+
- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed)
83+
- [rope](https://pypi.org/project/rope/) (user-installed)
84+
85+
Also thanks to the various projects we provide integrations with which help
86+
make this extension useful:
87+
88+
- Debugging support:
89+
[Django](https://pypi.org/project/Django/),
90+
[Flask](https://pypi.org/project/Flask/),
91+
[gevent](https://pypi.org/project/gevent/),
92+
[Jinja](https://pypi.org/project/Jinja/),
93+
[Pyramid](https://pypi.org/project/pyramid/),
94+
[PySpark](https://pypi.org/project/pyspark/),
95+
[Scrapy](https://pypi.org/project/Scrapy/),
96+
[Watson](https://pypi.org/project/Watson/)
97+
- Formatting:
98+
[autopep8](https://pypi.org/project/autopep8/),
99+
[black](https://pypi.org/project/black/),
100+
[yapf](https://pypi.org/project/yapf/)
101+
- Interpreter support:
102+
[conda](https://conda.io/),
103+
[direnv](https://direnv.net/),
104+
[pipenv](https://pypi.org/project/pipenv/),
105+
[poetry](https://pypi.org/project/poetry/),
106+
[pyenv](https://github.com/pyenv/pyenv),
107+
[venv](https://docs.python.org/3/library/venv.html#module-venv),
108+
[virtualenv](https://pypi.org/project/virtualenv/)
109+
- Linting:
110+
[bandit](https://pypi.org/project/bandit/),
111+
[flake8](https://pypi.org/project/flake8/),
112+
[mypy](https://pypi.org/project/mypy/),
113+
[prospector](https://pypi.org/project/prospector/),
114+
[pylint](https://pypi.org/project/pylint/),
115+
[pydocstyle](https://pypi.org/project/pydocstyle/),
116+
[pylama](https://pypi.org/project/pylama/)
117+
- Testing:
118+
[pytest](https://pypi.org/project/pytest/),
119+
[unittest](https://docs.python.org/3/library/unittest.html#module-unittest)
120+
121+
And finally thanks to the [Python](https://www.python.org/) development team and
122+
community for creating a fantastic programming language and community to be a
123+
part of!
124+
3125
## 2021.11.0 (4 November 2021)
4126

5127
### Enhancements

jedils_requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jedi==0.18.0 \
2222
--hash=sha256:18456d83f65f400ab0c2d3319e48520420ef43b23a086fdc05dff34132f0fb93 \
2323
--hash=sha256:92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707
2424
# via jedi-language-server
25-
jedi-language-server==0.34.11 \
26-
--hash=sha256:1a30400455240445e22cdd9ee2c87e06b2405e088096ec2d30ebafaec5423190 \
27-
--hash=sha256:3eb2a009552a139e201081beca774eb642fc2548aef2a17230a40545c502d1bc
25+
jedi-language-server==0.34.12 \
26+
--hash=sha256:a6d272fa82f47407f1bcb8f4ee5d105a2bec450010af2eb60570b0d563d416eb \
27+
--hash=sha256:e1194e793d2d7af3dcb1c2b9b7ed6e974eefdd64b1934a30e2043d21cba7aafe
2828
# via -r jedils_requirements.in
29-
parso==0.8.2 \
30-
--hash=sha256:12b83492c6239ce32ff5eed6d3639d6a536170723c6f3f1506869f1ace413398 \
31-
--hash=sha256:a8c4922db71e4fdb90e0d0bc6e50f9b273d3397925e5e60a717e719201778d22
29+
parso==0.8.3 \
30+
--hash=sha256:8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0 \
31+
--hash=sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75
3232
# via jedi
3333
pydantic==1.8.2 \
3434
--hash=sha256:021ea0e4133e8c824775a0cfe098677acf6fa5a3cbf9206a376eed3fc09302cd \
@@ -66,9 +66,9 @@ typeguard==2.13.2 \
6666
--hash=sha256:4f7da3d80dda5e42d6973f11f33da3542b8bf86edc12ba926b2dbad62adf3fcf \
6767
--hash=sha256:7e50071590ab997509aa0977609eb5cf9d73d84c1f416cb4fab78b77a9d15326
6868
# via pygls
69-
typing-extensions==4.0.0 \
70-
--hash=sha256:2cdf80e4e04866a9b3689a51869016d36db0814d84b8d8a568d22781d45d27ed \
71-
--hash=sha256:829704698b22e13ec9eaf959122315eabb370b0884400e9818334d8b677023d9
69+
typing-extensions==4.0.1 \
70+
--hash=sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e \
71+
--hash=sha256:7f001e5ac290a0c0401508864c7ec868be4e701886d5b573a9528ed3973d9d3b
7272
# via
7373
# importlib-metadata
7474
# pydantic

news/1 Enhancements/17519.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/17937.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/17975.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/18031.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/18051.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/18059.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1 Enhancements/9557.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/2 Fixes/15058.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)