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 to false. (#3007) ๐Ÿšš 1. Phase out Jedi 0.17, and use Jedi behind a language server protocol as the Jedi option. Remove Jedi-related settings python.jediMemoryLimit and python.jediPath, since they are not used with the new language server implementation. (#11995) โšก๏ธ 1. Add support for dynamic updates in interpreter list. (#17043)

    1. 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)
    2. Added non-blocking discovery APIs for Jupyter. (#17452)
    3. Resolve environments using cache if cache has complete env info. (#17474)
    4. 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)
    5. 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 in unittest patterns quickpick. (thanks Anupama Nadig) (#17093) 0๏ธโƒฃ 1. Use quickpick details for the "Use Python from python.defaultInterpreterPath setting" entry. (#17124)

    1. 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)
    2. Do not display workspace related envs if no workspace is open. (#17358)
    3. 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)
    4. Fix hang caused by loop in getting interpreter information. (#17484)
    5. Ensure database storage extension uses to track all storages does not grow unnecessarily. (#17488)
    6. 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. Use conda-forge channel when installing packages into conda environments. (#17628)

    Code Health

    ๐Ÿ”จ 1. Remove support for rope. Refactoring now supported via language servers. (#10440) ๐Ÿ‘• 1. Remove pylintMinimalCheckers setting. Syntax errors now reported via language servers. (#13321) ๐Ÿšš 1. Remove ctags 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:

    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!