{"id":9480,"date":"2023-10-06T11:48:44","date_gmt":"2023-10-06T19:48:44","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=9480"},"modified":"2023-10-06T11:55:57","modified_gmt":"2023-10-06T19:55:57","slug":"python-in-visual-studio-code-october-2023-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-october-2023-release\/","title":{"rendered":"Python in Visual Studio Code &#8211; October 2023 Release"},"content":{"rendered":"<p>We\u2019re excited to announce the October 2023 release of the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python<\/a> and <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.jupyter\">Jupyter<\/a> extensions for Visual Studio Code!<\/p>\n<p>This release includes the following announcements:<\/p>\n<ul>\n<li>Python Debugger extension updates<\/li>\n<li>Deprecation of Python 3.7 support<\/li>\n<li>Lint on change option for Pylint extension<\/li>\n<li>Mypy extension reporting scope and daemon mode<\/li>\n<li>Grace Hopper Conference and Open Source Day Participation<\/li>\n<\/ul>\n<p>If you\u2019re interested, you can check the full list of improvements in our changelogs for the <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/releases\">Python<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-jupyter\/blob\/main\/CHANGELOG.md\">Jupyter<\/a> and <a href=\"https:\/\/github.com\/microsoft\/pylance-release\/blob\/main\/CHANGELOG.md\">Pylance<\/a> extensions.<\/p>\n<h2>Python Debugger extension updates<\/h2>\n<p>The <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.debugpy\">Debugpy extension<\/a>, which was announced a <a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-july-2023-release\/#debugpy-extension-in-preview\">few months ago<\/a>, has been renamed to &#8220;Python Debugger&#8221; for improved discoverability in the marketplace.<\/p>\n<p>This extension now includes a new User setting <code>debugpy.debugJustMyCode<\/code> that, when disabled, allows you to step into system or third-party library code for all your applications (by default, the debugger steps only into your own Python code). This was a popular feature request for those who wanted to more conveniently disable justMyCode to all of their projects, instead of having to manually configure it in each of their projects&#8217; <code>launch.json<\/code> debug configurations.<\/p>\n<p>To try it out, make sure you have the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.debugpy\">Python Debugger extension<\/a> installed. Then open the settings UI (<strong>File &gt; Preferences &gt; Settings<\/strong>), search for &#8220;debugJustMyCode&#8221; and disable the checkbox:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2023\/10\/debugger-just-my-code-setting.png\"><img decoding=\"async\" class=\"alignnone  wp-image-9485\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2023\/10\/debugger-just-my-code-setting-300x40.png\" alt=\"Image debugger just my code setting\" width=\"1043\" height=\"139\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2023\/10\/debugger-just-my-code-setting-300x40.png 300w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2023\/10\/debugger-just-my-code-setting-1024x135.png 1024w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2023\/10\/debugger-just-my-code-setting-768x101.png 768w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/a><\/p>\n<p>Now once you create a <code>launch.json<\/code> file, it will use the value of <code>debugpy.debugJustMyCode<\/code> by default, as long as <code>justMyCode<\/code> is not specified in the file. Note that when <code>justMyCode<\/code> is specified, its value will take precedence over the <code>debugpy.debugJustMyCode<\/code> setting.<\/p>\n<h2>Lint on change option for Pylint extension<\/h2>\n<p>By default, the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.pylint\">Pylint extension<\/a> only reports errors and warnings when a file is saved. There&#8217;s now a new setting called <code>pylint.lintOnChange<\/code> that once set to <code>true<\/code>, will enable the extension to report errors and warnings as you type, without having to save the file.<\/p>\n<h2>Mypy extension reporting scope and daemon mode<\/h2>\n<p>The <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.mypy-type-checker\">Mypy Type Checker extension<\/a> has now two new settings to allow you to specify mypy&#8217;s reporting scope and whether to use mypy&#8217;s daemon.<\/p>\n<p>The first is <code>mypy-type-checker.reportingScope<\/code>, which can be set to <code>file<\/code> (the default) to enable problems to be reported only for open files in the workspace, or <code>workspace<\/code> to enable reporting for all files in the workspace.<\/p>\n<p>The second is <code>mypy-type-checker.preferDaemon<\/code>, which when set to <code>true<\/code>, will use <a href=\"https:\/\/mypy.readthedocs.io\/en\/stable\/mypy_daemon.html\">mypy&#8217;s daemon<\/a> (<code>dmypy<\/code>) instead of mypy itself (<code>mypy<\/code>) to perform type checking, which can be much faster in some scenarios.<\/p>\n<h2>Deprecation of Python 3.7 support<\/h2>\n<p>As previously mentioned in our <a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-july-2023-release\/#upcoming-deprecation-of-python-3-7-support\">July 2023<\/a> release blog, we have dropped official Python 3.7 support in the Python extension. There are no plans to actively remove support for Python 3.7, and so we expect the extension will continue to work unofficially with Python 3.7 for the foreseeable future.<\/p>\n<p>Keep in mind, all other releases of Python are now on an annual release cadence, thus, we expect to stop official support for a Python release once it reaches end of life in the first extension release of the following calendar year (i.e., Python 3.8 is scheduled to reach EOL in October 2024, so the first extension release in 2025 will stop official support).<\/p>\n<h2>Grace Hopper Conference and Open Source Day Participation<\/h2>\n<p>On September 22nd, our team participated in <a href=\"https:\/\/ghc.anitab.org\/programs-and-awards\/open-source-day\/\">Open Source Day<\/a>! Open Source Day is an all-day hackathon and a part of Grace Hopper Celebration, the largest celebration of women and non-binary technologists in open source. During this event, attendees work with peers as well as experienced mentors to contribute to several open source projects.<\/p>\n<p>We were thrilled to have participated once again in this event and would like to thank all of the mentors who participated in this event alongside us, and to each one of the participants who contributed to our projects:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/ludizhan\">@ludizhan<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/20233\">vscode-python#20233<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/annaburlyaeva\">@annaburlyaeva<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/22038\">vscode-python#22038<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/rr2203\">@rr2203<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-pylint\/issues\/395\">vscode-pylint#395<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/aku1310\">@aku1310<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-pylint\/issues\/388\">vscode-pylint#388<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Kelly-LC\">@Kelly-LC<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-black-formatter\/issues\/321\">vscode-black-formatter#321<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/bhagya-98\">@bhagya-98<\/a> made their first contributions in <a href=\"https:\/\/github.com\/microsoft\/vscode-black-formatter\/issues\/315\">vscode-black-formatter#315<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-black-formatter\/issues\/316\">vscode-black-formatter#316<\/a> and <a href=\"https:\/\/github.com\/microsoft\/vscode-flake8\/issues\/221\">vscode-flake8#221<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Riya28\">@Riya28<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-flake8\/issues\/219\">vscode-flake8#219<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/sainarne15\">@sainarne15<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-flake8\/issues\/218\">vscode-flake8#218<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/srilasya02\">@srilasya02<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-mypy\/issues\/158\">vscode-mypy#158<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/antar-ghuman\">@antar-ghuman<\/a> and <a href=\"https:\/\/github.com\/Jyothirmaikottu\">@Jyothirmaikottu<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-mypy\/issues\/153\">vscode-mypy#153<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/norasoliman\">@norasoliman<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-mypy\/issues\/159\">vscode-mypy#159<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pheonix-18\">@pheonix-18<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-isort\/issues\/326\">vscode-isort#326<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Riddhi-Thanki\">@Riddhi-Thanki<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-isort\/issues\/325\">vscode-isort#325<\/a><\/li>\n<\/ul>\n<p>There are a number of \u201cquick fix\u201d feature issues open for those who are looking to contribute! We hope to encourage the Python community to contribute and maintain the various extensions we have created in any way they can. You can find these issues labeled as <code>good first issue<\/code> within the <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\">vscode-python<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-pylint\/issues\">vscode-pylint<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-flake8\/issues\">vscode-flake8<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-isort\/issues\">vsocde-isort<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-mypy\/issues\">vscode-mypy<\/a>, and <a href=\"https:\/\/github.com\/microsoft\/vscode-black-formatter\/issues\">vscode-black-formatter<\/a> repositories. We encourage contributions on any issue that does not already have an assignee.<\/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 and Jupyter Notebooks in Visual Studio Code. Some notable changes include:<\/p>\n<ul>\n<li>&#8220;Use Existing&#8221; and &#8220;Delete and Recreate&#8221; for Create Environment command enabled for conda environments <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/21828\">(vscode-python#21828)<\/a><\/li>\n<li>Support go to definition on <code>__getattr__<\/code> with Pylance <a href=\"https:\/\/github.com\/microsoft\/pylance-release\/issues\/4764\">(pylance-release#4764)<\/a><\/li>\n<li>The setting to enable inlay hints for partial call arguments (<code>python.analysis.inlayHints.callArgumentNames<\/code>) can now be set to <code>partial<\/code> to disable hints for positional-only and keyword-only parameters, or <code>all<\/code> to enable them <a href=\"https:\/\/github.com\/microsoft\/pylance-release\/issues\/4543\">(pylance-release#4543)<\/a><\/li>\n<\/ul>\n<p>Try out these new improvements by downloading the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python extension<\/a> and the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.jupyter\">Jupyter extension<\/a> from the Marketplace, or install them directly from the extensions view in Visual Studio Code (Ctrl + Shift + X or \u2318 + \u21e7 + X). 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. 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 <a href=\"https:\/\/github.com\/Microsoft\/vscode-python\">Python VS Code GitHub page<\/a>.<\/p>\n<p>We would also like to extend special thanks to this month\u2019s contributors:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Spitfire1900\">@Spitfire1900<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/22019\">vscode-python#22019<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/annaburlyaeva\">@annaburlyaeva<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/22055\">vscode-python#22055<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ludizhan\">@ludizhan<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/22058\">vscode-python#22058<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/himi11\">@himi11<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/22062\">vscode-python#22062<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The October 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month&#8217;s updates include Python debugger extension updates, deprecation of Python 3.7 support, and a recap of Open Source Day. Keep reading to learn more!<\/p>\n","protected":false},"author":99209,"featured_media":10119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[17],"class_list":["post-9480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python"],"acf":[],"blog_post_summary":"<p>The October 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month&#8217;s updates include Python debugger extension updates, deprecation of Python 3.7 support, and a recap of Open Source Day. Keep reading to learn more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/9480","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\/99209"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=9480"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/9480\/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=9480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=9480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=9480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}