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)

    1. Add an option to clear interpreter setting for all workspace folders in multiroot scenario. (#17693)
    2. Public API for environments (proposed). (#17905)
    3. 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 the Python language status item behind pythonInterpreterInfoUnpinned 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 in python.defaultInterpreterPath. (#18207) ๐Ÿ–จ 1. Ensures interpreters are discovered even when running interpreterInfo.py script prints more than just the script output. (#18234) ๐Ÿ”ง 1. Remove restrictions on using purpose in debug configuration. (#18248) โšก๏ธ 1. Ensure Python Interpreter information in the status bar is updated if Interpreter information changes. (#18257)

    1. Fix "Run Selection/Line in Python Terminal" for Python < 3.8 when the code includes decorators. (#18258)
    2. Ignore notebook cells for pylance. Jupyter extension is handling notebooks. (#18259)
    3. 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 and pythonDeprecatePythonPath experiment. (#17977) ๐Ÿšš 1. Remove pythonTensorboardExperiment and PythonPyTorchProfiler experiments. (#18074)

    1. Reduce direct dependency on IOutputChannel. (#18132) โฌ†๏ธ 1. Upgrade to Node 14 LTS (v14.18.2). (#18148)
    2. Switch jedils_requirements.txt to requirements.txt under pythonFiles/jedilsp_requirements/. (#18185) ๐Ÿšš 1. Removed experiments.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:

    And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!