{"id":8758,"date":"2021-11-04T15:34:53","date_gmt":"2021-11-04T23:34:53","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=8758"},"modified":"2021-12-08T11:24:46","modified_gmt":"2021-12-08T19:24:46","slug":"python-in-visual-studio-code-november-2021-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-november-2021-release\/","title":{"rendered":"Python in Visual Studio Code \u2013 November 2021 Release"},"content":{"rendered":"<p>We are pleased to announce that the November 2021 release of the Python Extension for Visual Studio Code is now available. You can\u00a0<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">download the Python extension<\/a> from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about <a href=\"https:\/\/code.visualstudio.com\/docs\/python\/python-tutorial\">Python support in Visual Studio Code<\/a> in the documentation.<\/p>\n<p>Last month we focused on housekeeping GitHub issues and pull requests. We reduced our open issue count by 20% by closing (triaging or fixing) 288 issues! If you\u2019re interested, you can check the full list of improvements in our <a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/blob\/master\/CHANGELOG.md\">changelog<\/a>.<\/p>\n<p>As part of this release, the Microsoft Python Language Server has reached end of life.<\/p>\n<h2>The Microsoft Python Language Server has reached end of life<\/h2>\n<p>In September, <a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-september-2021-release\/#microsoft-python-language-server-end-of-life-november-2021\">we announced<\/a> that the Microsoft Python Language Server would be reaching end of life as of the November 2021 release of the Python extension. Since then, we\u2019ve encouraged our remaining legacy language server users to switch to a supported language server \u2013 either <a href=\"https:\/\/devblogs.microsoft.com\/python\/pylance-has-reached-stable\">Pylance<\/a> (our default and recommended language support) or <a href=\"https:\/\/github.com\/pappasam\/jedi-language-server\">Jedi<\/a>.<\/p>\n<p>As of today\u2019s release, all remaining users who have not chosen a new language server have been flipped to the default language support for Python in Visual Studio Code \u2013 Pylance. If at any point you want to try a different language server, you can do that by <a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-may-2021-release\/#configuring-your-language-server\">updating your settings.<\/a><\/p>\n<p>We again want to thank our Microsoft Python Language Server users for their feedback over the years. You all have helped make Python in Visual Studio Code what it is today!<\/p>\n<h2>Other Changes and Enhancements<\/h2>\n<p>We have also added small enhancements and fixed issues requested by users that should improve your experience working with Python in Visual Studio Code. Some notable changes include:<\/p>\n<ul>\n<li>Support environment variable substitution for \u201cpython\u201d property in the launch.json file. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/12289\">#12289<\/a>)<\/li>\n<li>Support\u00a0<em>expectedFailure <\/em>when running\u00a0unittest\u00a0tests using\u00a0pytest. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/8427\">#8427<\/a>)<\/li>\n<li>Support unittestsub-tests. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/17561\">#17561<\/a>)<\/li>\n<li>Fix for\u00a0running all tests when using\u00a0ini. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/17546\">#17546<\/a>)<\/li>\n<li>Fix unresponsive extension issues. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/11924\">#11924<\/a>)<\/li>\n<\/ul>\n<p>We would like to thank all participants of the <a href=\"https:\/\/anitab-org.github.io\/open-source-day\/upcoming\/#overview\">Grace Hopper Celebration\u2019s Open Source Day<\/a> who contributed to the Python extension last October:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Carolinekung2\">Carolinekung2\u00a0<\/a>: Update homebrew instructions to install Python 3. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/17590\">#17590<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/quynhd07\">Quynh Do<\/a>: Change text when selecting or clearing interpreters in a multiroot folder scenario. (<a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/17037\">#10737<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/analiabs\">Anal\u00eda Bannura<\/a> and <a href=\"https:\/\/github.com\/arsentieva\">Anna Arsentieva<\/a>: Rename the commands in the Run\/Debug button of the editor title. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/17019\">#17019<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/thi-lee\">Thi Le<\/a>: Improve setting description for enabling A\/B tests. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/7793\">#7793<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/Vidushi-Gupta\">Vidushi Gupta<\/a>: Reword message for A\/B testing in the output channel. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/6352\">#6352<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/IceJinx33\">Aliva Das<\/a>: Use replaceAll for replacing separators. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/15288\">#15288<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/Vidushi-Gupta\">Vidushi Gupta<\/a>: Fix for when creating new Integrated Terminal doesn&#8217;t take selected workspace into account for activating the environment. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/15522\">#15522<\/a>)<\/li>\n<li>\u00a0<a href=\"https:\/\/github.com\/nayana-vinod\">Nayana Vinod<\/a>\u00a0and\u00a0<a href=\"https:\/\/github.com\/JessieJolly\">Jessica Jolly<\/a>: Python extension now activates on onDebugInitialConfigurations. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/9557\">#9557<\/a>)<\/li>\n<\/ul>\n<p>Last but not least, special thanks to this month\u2019s contributors:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/afikrim\">afikrim<\/a>: Change drive first before changing directory in windows, to anticipate running file outside working directory with different storage drive. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/14730\">#14730<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/acash715\">acash715<\/a>: If the executeInFileDir setting is enabled, always change to the script directory before running the script, even if the script is in the Workspace folder. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/15181\">#15181<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/lithammer\">Peter Lithammer<\/a>: Fix truncated mypy errors by setting &#8211;no-pretty. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/16836\">#16836<\/a>)<\/li>\n<\/ul>\n<p>Be sure to\u00a0<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">download the Python extension<\/a>\u00a0for Visual Studio Code now to try out the above improvements. If you run into any problems or have suggestions, <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/new\/choose\">please file an issue<\/a> on the\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\">Python VS Code GitHub<\/a>\u00a0page.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce that the November 2021 release of the Python Extension for Visual Studio Code is now available. As part of this release, the Microsoft Python Language Server has reached end of life.<\/p>\n","protected":false},"author":33429,"featured_media":10119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-8758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>We are pleased to announce that the November 2021 release of the Python Extension for Visual Studio Code is now available. As part of this release, the Microsoft Python Language Server has reached end of life.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/8758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/users\/33429"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=8758"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/8758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/10119"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=8758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=8758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=8758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}