{"id":10209,"date":"2025-10-10T09:55:26","date_gmt":"2025-10-10T17:55:26","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=10209"},"modified":"2025-10-10T09:58:14","modified_gmt":"2025-10-10T17:58:14","slug":"python-in-visual-studio-code-october-2025-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-october-2025-release\/","title":{"rendered":"Python in Visual Studio Code &#8211; October 2025 Release"},"content":{"rendered":"<p>We&#8217;re excited to announce that the October 2025 release of the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python<\/a> extensions for Visual Studio Code are now available!<\/p>\n<p>This release includes the following announcements:<\/p>\n<ul>\n<li>Python Environments extension improvements<\/li>\n<li>Enhanced testing workflow with Copy Test ID in gutter menu<\/li>\n<li>Shell startup improvements for Python environment activation<\/li>\n<\/ul>\n<p>If you&#8217;re 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>\u00a0and <a href=\"https:\/\/github.com\/microsoft\/pylance-release\/blob\/main\/CHANGELOG.md\">Pylance<\/a> extensions.<\/p>\n<h2>Python Environments Extension Improvements<\/h2>\n<p>The <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.vscode-python-envs\">Python Environments extension<\/a> received several fixes and updates to enhance your Python development experience in VS Code. Highlights include improved performance and reliability when working with conda environments &#8211; now lauching code directly without <code>conda run<\/code>, a smoother environment flow with Python versions now sorted in descending order for easier acces to the latest releases, fixes for crashes when running Python files that use <code>input()<\/code>, and improvements to false-positive environment configuration warnings.<\/p>\n<p>The extension also now automatically refreshes environment managers when expanding tree nodes, keeping your environment list up to date without any extra steps.<\/p>\n<p>We appreciate the community feedback that helped identify and prioritize these improvements. Please continue to share your thoughts, suggestions and bug reports on the <a href=\"https:\/\/github.com\/microsoft\/vscode-python-environments\">Python Environments GitHub repository<\/a> as we continue rolling out this extension.<\/p>\n<h2>Enhanced Testing Workflow with Copy Test ID<\/h2>\n<p>We&#8217;ve improved the testing experience by adding a &#8220;Copy Test ID&#8221; option to the gutter icon context menu for test functions. This feature allows you to quickly copy test identifiers in pytest format directly from the editor gutter, making it easier to run specific tests from the command line or share test references with teammates.<\/p>\n<p><div class=\"wp-playlist wp-video-playlist wp-playlist-light\">\n\t\t<video controls=\"controls\" preload=\"none\" width=\"640\"\n\t\t height=\"364\"\t><\/video>\n\t<div class=\"wp-playlist-next\"><\/div>\n\t<div class=\"wp-playlist-prev\"><\/div>\n\t<noscript>\n\t<ol>\n\t\t<li><a href='https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2025\/10\/py_copy_test_id-1.mp4'>Copy test id<\/a><\/li>\t<\/ol>\n\t<\/noscript>\n\t<script type=\"application\/json\" class=\"wp-playlist-script\">{\"type\":\"video\",\"tracklist\":true,\"tracknumbers\":true,\"images\":true,\"artists\":true,\"tracks\":[{\"src\":\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2025\/10\/py_copy_test_id-1.mp4\",\"type\":\"video\/mp4\",\"title\":\"Copy test id\",\"caption\":\"\",\"description\":\"Right clicking on the test gutter and selecting copy test id\",\"meta\":{\"length_formatted\":\"0:04\"},\"dimensions\":{\"original\":{\"width\":1604,\"height\":912},\"resized\":{\"width\":640,\"height\":364}},\"image\":{\"src\":\"https:\/\/devblogs.microsoft.com\/python\/wp-includes\/images\/media\/video.svg\",\"width\":48,\"height\":64},\"thumb\":{\"src\":\"https:\/\/devblogs.microsoft.com\/python\/wp-includes\/images\/media\/video.svg\",\"width\":48,\"height\":64}}]}<\/script>\n<\/div>\n\t<\/p>\n<h2>Improved Shell Startup for Python Environment Activation<\/h2>\n<p>We have made improvements to shell start up to reduce issues where terminals created by <a href=\"https:\/\/github.com\/features\/copilot\">GitHub Copilot<\/a> weren&#8217;t properly activating Python virtual environments. With the new shell startup approach, you&#8217;ll get a more reliable environment activation across terminal creation methods while reducing redundant permission prompts.<\/p>\n<p>Additionally, virtual environment prompts such as <code>(.venv)<\/code> now appear correctly when PowerShell is activated through shell integration, and we have resolved issues with activation in WSL.<\/p>\n<p>To benefit from these improvements, set your <code>python-envs.terminal.autoActivationType<\/code> to <code>shellStartup<\/code> in your VS Code settings.<\/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>Enhanced contributor experience with new Copilot Chat instruction files that provide guidance for testing features and understanding VS Code components when contributing to the Python extension (<a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/25473\">#25473<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/25477\">#25477<\/a>)<\/li>\n<li>Updated debugpy to version 1.8.16 (<a href=\"https:\/\/github.com\/microsoft\/vscode-python-debugger\/pull\/795\">#795<\/a>)<\/li>\n<\/ul>\n<p>We would also like to extend special thanks to this month&#8217;s contributors:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Morikko\">Morikko<\/a>: Upgraded jedi-language-server to 0.45.1 (<a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/25450\">#25450<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/cnaples79\">cnaples79<\/a>: Fixed mypy diagnostics parsing from stderr in non-interactive mode (<a href=\"https:\/\/github.com\/microsoft\/vscode-mypy\/pull\/375\">#375<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/renan-r-santos\">renan-r-santos<\/a>: Display activate button when a terminal is moved to the editor window (<a href=\"https:\/\/github.com\/microsoft\/vscode-python-environments\/pull\/764\">#764<\/a>)<\/li>\n<li><a href=\"https:\/\/github.com\/lev-blit\">lev-blit<\/a>: Added py.typed to debugpy distributed package (<a href=\"https:\/\/github.com\/microsoft\/debugpy\/pull\/1960\">#1960<\/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","protected":false},"excerpt":{"rendered":"<p>The October 2025 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improvements to the Python Environments extension, Copy Test ID functionality, and enhanced environment activation when using Copilot Chat. Keep on reading to learn more!<\/p>\n","protected":false},"author":1064,"featured_media":10119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,6],"tags":[17],"class_list":["post-10209","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-visual-studio-code","tag-python"],"acf":[],"blog_post_summary":"<p>The October 2025 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improvements to the Python Environments extension, Copy Test ID functionality, and enhanced environment activation when using Copilot Chat. Keep on reading to learn more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/10209","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\/1064"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=10209"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/10209\/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=10209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=10209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=10209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}