Python v2021.10.0 Release Notes
Release Date: 2021-10-07 // over 2 years ago-
โจ Enhancements
๐ 1. Set the default value of
python.linting.pylintEnabled
tofalse
. (#3007) ๐ 1. Phase out Jedi 0.17, and use Jedi behind a language server protocol as the Jedi option. Remove Jedi-related settingspython.jediMemoryLimit
andpython.jediPath
, since they are not used with the new language server implementation. (#11995) โก๏ธ 1. Add support for dynamic updates in interpreter list. (#17043)- Query for fresh workspace envs when auto-selecting interpreters in a new workspace. (#17264) โก๏ธ 1. Increase Microsoft Python Language Server deprecation prompt frequency and update wording. (#17361) ๐ 1. Remove "The Python extension will have limited support for Python 2.7 in the next release" notification. (#17451)
- Added non-blocking discovery APIs for Jupyter. (#17452)
- Resolve environments using cache if cache has complete env info. (#17474)
- Ensure debugger contribution points are turned off when using virtual workspaces. (#17493) ๐ 1. Display a notification about the end of Jedi support when using Python 2.7. (#17512)
- If user has selected an interpreter which is not discovery cache, correctly add it to cache.
(#17575)
โก๏ธ 1. Update to latest version of Jedi LS.
(#17591)
โก๏ธ 1. Update to
vscode-extension-telemetry
0.4.2. (#17608)
๐ Fixes
โ 1. Don't override user provided
--rootdir
in pytest args. (#8678) ๐ฒ 1. Don't log error during settings migration if settings.json doesn't exist. (#11354) โ 1. Fix casing of text inunittest
patterns quickpick. (thanks Anupama Nadig) (#17093) 0๏ธโฃ 1. Use quickpick details for the "Use Python frompython.defaultInterpreterPath
setting" entry. (#17124)- Fix refreshing progress display in the status bar. (#17338) โฑ 1. Ensure we do not start a new discovery for an event if one is already scheduled. (#17339)
- Do not display workspace related envs if no workspace is open. (#17358)
- Ensure we correctly evaluate Unknown type before sending startup telemetry.
(#17362)
โ
1. Fix for unittest discovery failure due to root id mismatch.
(#17386)
๐ 1. Improve pattern matching for shell detection on Windows.
(thanks Erik Demaine)
(#17426)
โ
1. Changed the way of searching left bracket
[
in case of subsets of tests. (thanks ilexei) (#17461) - Fix hang caused by loop in getting interpreter information. (#17484)
- Ensure database storage extension uses to track all storages does not grow unnecessarily. (#17488)
- Ensure all users use new discovery code regardless of their experiment settings.
(#17563)
โฑ 1. Add timeout when discovery runs
conda info --json
command. (#17576) ๐ฆ 1. Useconda-forge
channel when installing packages into conda environments. (#17628)
Code Health
๐จ 1. Remove support for
rope
. Refactoring now supported via language servers. (#10440) ๐ 1. RemovepylintMinimalCheckers
setting. Syntax errors now reported via language servers. (#13321) ๐ 1. Removectags
support. Workspace symbols now supported via language servers. (#16063) ๐ 1. Fix linting for some files in .eslintignore. (#17181)Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- jedi-language-server
- Microsoft Python Language Server
- ๐ Pylance
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, poetry, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: pytest, unittest
And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!