Python v2021.12.0 Release Notes

Release Date: 2021-12-09 // over 2 years ago
  • โœจ Enhancements

    1. Python extension should activate on onDebugInitialConfigurations. (thanks Nayana Vinod and Jessica Jolly). (#9557) ๐Ÿ‘ 1. Declare limited support when running in virtual workspaces by only supporting language servers. (#17519)
    2. Add a "Do not show again" option to the formatter installation prompt. (#17937) ๐Ÿ“ฆ 1. Add the ability to install pip if missing, when installing missing packages from the Jupyter Extension. (#17975) ๐Ÿ‘ 1. Declare limited support for untrusted workspaces by only supporting Pylance. (#18031) โšก๏ธ 1. Update to latest jedi language server. (#18051)
    3. Add language status item indicating that extension works partially in virtual and untrusted workspaces. (#18059)

    ๐Ÿ›  Fixes

    โœ… 1. Partial fix for using the same directory as discovery when running tests. (thanks Brian Rutledge) (#9553)

    1. Handle decorators properly when using the Run Selection/Line in Python Terminal command. (#15058) โœ… 1. Don't interpret --rootdir as a test folder for pytest. (thanks Brian Rutledge) (#16079) ๐Ÿ”ง 1. Ensure debug configuration env variables overwrite env variables defined in .env file. (#16984) โœ… 1. Fix for pytest run all tests when using pytest.ini and cwd. (thanks Brian Rutledge) (#17546) โœ… 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. (thanks Martijn Pieters) (#17676) ๐ŸŽ 1. Do not process system Python 2 installs on macOS Monterey. (#17870) ๐Ÿšš 1. Remove duplicate "Clear Workspace Interpreter Setting" command from the command palette. (#17890) ๐Ÿ‘• 1. Ensure that path towards extenal tools like linters are not synched between machines. (thanks Sorin Sbarnea) (#18008) โฑ 1. Increase timeout for activation of conda environments from 30s to 60s. (#18017)

    Code Health

    โœ… 1. Removing experiments for refresh and failed tests buttons. (#17868) ๐Ÿ”ง 1. Remove caching debug configuration experiment only. (#17895) ๐Ÿšš 1. Remove "join mailing list" notification experiment. (#17904) ๐Ÿšš 1. Remove dependency on winston logger. (#17921)

    1. Bump isort from 5.9.3 to 5.10.0. (#17923) ๐Ÿšš 1. Remove old discovery code and discovery experiments. (#17962) ๐Ÿšš 1. Remove dependency on azure-storage. (#17972) ๐Ÿ‘• 1. Ensure telemetry correctly identifies when users set linter paths. (#18019)

    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!