Python v2022.0.0 Release Notes
Release Date: 2022-02-03 // about 2 years ago-
โจ Enhancements
๐ 1. Add support for conda run without output, using
--no-capture-output
flag. (#7696)- Add an option to clear interpreter setting for all workspace folders in multiroot scenario. (#17693)
- Public API for environments (proposed). (#17905)
- Group interpreters in interpreter quick picker using separators.
(#17944)
๐ 1. Add support for pylint error ranges. Requires Python 3.8 and pylint 2.12.2 or higher. (thanks Marc Mueller)
(#18068)
๐ 1. Move pinned interpreter status bar item towards the right behind
pythonInterpreterInfoPinned
experiment. (#18282) ๐ 1. Move interpreter status bar item into thePython
language status item behindpythonInterpreterInfoUnpinned
experiment. (#18283) โก๏ธ 1. Update Jedi language server to latest. (#18325)
๐ Fixes
โก๏ธ 1. Update zh-tw translations. (thanks ted1030) (#17991) ๐ 1. Support selecting conda environments with python
3.10
. (#18128) ๐ 1. Fixes to telemetry handler in language server middleware. (#18188) 0๏ธโฃ 1. Resolve system variables inpython.defaultInterpreterPath
. (#18207) ๐จ 1. Ensures interpreters are discovered even when runninginterpreterInfo.py
script prints more than just the script output. (#18234) ๐ง 1. Remove restrictions on usingpurpose
in debug configuration. (#18248) โก๏ธ 1. Ensure Python Interpreter information in the status bar is updated if Interpreter information changes. (#18257)- Fix "Run Selection/Line in Python Terminal" for Python < 3.8 when the code includes decorators. (#18258)
- Ignore notebook cells for pylance. Jupyter extension is handling notebooks. (#18259)
- Fix for UriError when using python.interpreterPath command in tasks.
(#18285)
๐ 1. Ensure linting works under
conda run
(work-around for https://github.com/conda/conda/issues/10972). (#18364) ๐ 1. Ensure items are removed from the array in reverse order when using array indices. (#18382) โก๏ธ 1. Log experiments only after we finish updating active experiments list. (#18393)
Code Health
โ 1. Improve unit tests for envVarsService, in particular the variable substitution logic (Thanks Keshav Kini) (#17747) ๐ 1. Remove
python.pythonPath
setting andpythonDeprecatePythonPath
experiment. (#17977) ๐ 1. RemovepythonTensorboardExperiment
andPythonPyTorchProfiler
experiments. (#18074)- Reduce direct dependency on IOutputChannel. (#18132) โฌ๏ธ 1. Upgrade to Node 14 LTS (v14.18.2). (#18148)
- Switch
jedils_requirements.txt
torequirements.txt
underpythonFiles/jedilsp_requirements/
. (#18185) ๐ 1. Removedexperiments.json
file. (#18235) ๐ 1. Fixed typescript and namespace errors. (Thanks Harry-Hopkinson) (#18345)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
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!