Thanks rioV8! After looking into the package.json I've found that the "engines" field is what details the minimum version of VS Code required.

Per code.visualstudio.com (https://code.visualstudio.com/api/working-with-extensions/publishing-extension)

Visual Studio Code compatibility

When authoring an extension, you will need to describe what is the extension's compatibility to Visual Studio Code itself. This can be done via the engines.vscode field inside package.json:

{ "engines": { "vscode": "^1.8.0" } }

A value of 1.8.0 means that your extension is compatible only with VS Code 1.8.0. A value of ^1.8.0 means that your extension is compatible with VS Code 1.8.0 and onwards, including 1.8.1, 1.9.0, etc.

You can use the engines.vscode field to make sure the extension only gets installed for clients that contain the API you depend on. This mechanism plays well with the Stable release as well as the Insiders one.

For example, imagine that the latest Stable version of VS Code is 1.8.0 and that during 1.9.0's development a new API is introduced and thus made available in the Insider release through version 1.9.0-insider. If you want to publish an extension version that benefits from this API, you should indicate a version dependency of ^1.9.0. Your new extension version will be installed only on VS Code greater than or equal to 1.9.0, which means all current Insider customers will get it, while the Stable ones will only get the update when Stable reaches 1.9.0.

Answer from Gnomerspell on Stack Overflow
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › python
Python in Visual Studio Code
November 3, 2021 - Working with Python in Visual Studio Code, using the Microsoft Python extension, is simple, fun, and productive. The extension makes VS Code an excellent Python editor, and works on any operating system with a variety of Python interpreters.
🌐
Visual Studio Code
code.visualstudio.com › docs › python › environments
Python environments in VS Code
November 3, 2021 - The extension performs the following steps: Uses your default manager (venv by default, configurable via python-envs.defaultEnvManager) ... This is the fastest way to get a working environment. Quick Create builds an environment with sensible defaults. ... For more control, run Python: Create Environment from the Command Palette and walk through the prompts: ... Select Python version: pick from discovered interpreters (venv) or available Python versions (conda)
Discussions

How do I install an older version of an extension?
same problem here, i already tried to install debugpy as well, but nothing More on reddit.com
🌐 r/vscode
10
2
February 1, 2024
visual studio code - How to install previous version of Python extension for VSCode - Stack Overflow
I would like to install previous version of Python extension for VSCode (ms-python.python) to troubleshoot something, but when I am trying to use context menu with "Install another version..." I just More on stackoverflow.com
🌐 stackoverflow.com
Unable to install extension 'ms-python.python' as it is not compatible with VS Code '1.77.3'.
Environment data VS Code version: 1.77.3 Extension version (available under the Extensions sidebar): ms-python.python-2023.7.11141008.vsix OS and version: Ubuntu 22.10 Python version (& distrib... More on github.com
🌐 github.com
6
April 25, 2023
versioning - Determine Visual Studio Code extension compatibility without VSIX download - Stack Overflow
I need to build an offline setup ... VScode extension packages for python. The only available version of the VScode IDE that I'm able to use is 1.77.3, so that is NOT a variable here (well, it might be, but isn't right now). So, the simple question is: is there some way to just use vsce (or other convenience tool) to query not only the versions of the VSIX package that are out there for download, but for each one, also get the compatible VScode version ... More on stackoverflow.com
🌐 stackoverflow.com
Top answer
1 of 1
4

Thanks rioV8! After looking into the package.json I've found that the "engines" field is what details the minimum version of VS Code required.

Per code.visualstudio.com (https://code.visualstudio.com/api/working-with-extensions/publishing-extension)

Visual Studio Code compatibility

When authoring an extension, you will need to describe what is the extension's compatibility to Visual Studio Code itself. This can be done via the engines.vscode field inside package.json:

{ "engines": { "vscode": "^1.8.0" } }

A value of 1.8.0 means that your extension is compatible only with VS Code 1.8.0. A value of ^1.8.0 means that your extension is compatible with VS Code 1.8.0 and onwards, including 1.8.1, 1.9.0, etc.

You can use the engines.vscode field to make sure the extension only gets installed for clients that contain the API you depend on. This mechanism plays well with the Stable release as well as the Insiders one.

For example, imagine that the latest Stable version of VS Code is 1.8.0 and that during 1.9.0's development a new API is introduced and thus made available in the Insider release through version 1.9.0-insider. If you want to publish an extension version that benefits from this API, you should indicate a version dependency of ^1.9.0. Your new extension version will be installed only on VS Code greater than or equal to 1.9.0, which means all current Insider customers will get it, while the Stable ones will only get the update when Stable reaches 1.9.0.

🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Python - Visual Studio Marketplace
March 27, 2026 - Extension for Visual Studio Code - Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
🌐
Reddit
reddit.com › r/vscode › how do i install an older version of an extension?
r/vscode on Reddit: How do I install an older version of an extension?
February 1, 2024 -

My Python debugger is broken (I am using Python 3.6, I can't change it because this isn't my project) since it only supports Python 3.7+. "The debugger in the python extension no longer supports python versions minor than 3.7."

I've heard that debugpy exists and theoretically supports Python 3.6, but I have no idea how to use it (how is it different from the base Python Debugger in vscode). I currently have Python Debugger v2024.0.0 installed, and its description is "Python Debugger extension using 'debugpy'" but it won't let me debug my Python 3.6 code. I tried installing an older version, but when I navigate to that option, it only shows me 2024.0.0 (current) and no other options. Seeing other people do it (with other extensions at least), they have hundreds of options, from like every single month.

I have no idea what to do, I don't use extensions besides the debugger so I have no idea what's going on. I turned off auto-updates and set it to manual, but I haven't been able to fix it.

Has anyone been able to debug Python 3.6 in VSCode, and if so, how?

Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › releases
Releases · microsoft/vscode-python
March 11, 2026 - Add environment discovery logging and messages when using Python Environments extension by @eleanorjboyd in #25830 · Bump PET version to 2026.4 in stable release pipeline by @Copilot in #25847
Author   microsoft
🌐
Microsoft Developer Blogs
devblogs.microsoft.com › dev blogs › microsoft for python developers blog › python in visual studio code – august 2025 release
Python in Visual Studio Code - August 2025 Release - Microsoft for Python Developers Blog
August 7, 2025 - There are a number of published or work-in-progress extensions: We now support shell integration for Python when using version 3.13 or later. This enhancement brings rich terminal features to Python REPLs, including better command detection, ...
🌐
GitHub
github.com › microsoft › vscode-python › issues › 21113
Unable to install extension 'ms-python.python' as it is not compatible with VS Code '1.77.3'. · Issue #21113 · microsoft/vscode-python
April 25, 2023 - Environment data VS Code version: 1.77.3 Extension version (available under the Extensions sidebar): ms-python.python-2023.7.11141008.vsix OS and version: Ubuntu 22.10 Python version (& distribution if applicable, e.g. Anaconda): 3.10.7 ...
Author   emolinaro
🌐
Stack Overflow
stackoverflow.com › questions › 76559354 › determine-visual-studio-code-extension-compatibility-without-vsix-download
versioning - Determine Visual Studio Code extension compatibility without VSIX download - Stack Overflow
I originally expected it to work if you used something like “vsce —show {publisher}.{package}@<version>” to get the specific version compatibility. ... At the time of this post, it appears that the feature request has been finally added with this merge, but it is not yet available in the release. To make use of the new feature, I installed it directly from the repository: git clone https://github.com/microsoft/vscode-vsce.git cd vscode-vsce/ npm install -g · I tested the command with the show flag with the python extension for vscode, and from the output below shows the content for version 2022.14.0.
Top answer
1 of 2
2

According to their documentation, if you link to what "a supported Python", is, the requirements are "whichever version of Python you want to use". And they explicitly include:

  • The built-in Python installation on Linux.
  • An installation through Homebrew on macOS using brew install python3 (the system install of Python on macOS is not supported).
  • A download from python.org.
  • A download from Anaconda (for data science purposes).

Of course python.org has versions all the way back to 0.9.1, although I suspect anything older than the 2.0.1 in the main downloads doesn't really count.

More realistically, they probably only test with current Python versions, which as of right now means 2.7, 3.5, 3.6, and maybe 3.7 prereleases. If you wanted to use 2.5 or 3.3, you might well get syntax highlighting and error fly-checking based on 2.7 or 3.5 grammar, etc. But actually running your code should still work.

Also, if you're on a Mac and thinking of Homebrew, it's worth noting that brew install python3 will give you an error; the package is just called python now, and you install python for 3.x and python@2 for 2.x.

2 of 2
0

Microsoft's Python Extension for VS Code actually let you select an interpreter from a list of detected or manually set environments (CMD-Shift-P/Ctrl-Shift-P -> Python: Select Interpreter), so it should work with latest version of any interpreter, as long as is supported by the OS (remember that VS Code and its extensions are hosted in Electron). Source

🌐
GitHub
github.com › microsoft › vscode-python › issues › 24281
Python extension v2024.14.0 fails to start with VSCode 1.89.1
October 10, 2024 - I believe this issue is caused by a mismatch of the version specification between the Python extension and vscode-languageclient. The Python extension version 2024.14.0 is compatible to "vscode": "^1.89.0-20240415" (see here: https://github...
Author   jdamp
🌐
GitHub
github.com › Microsoft › vscode-python
GitHub - microsoft/vscode-python: Python extension for Visual Studio Code · GitHub
A Visual Studio Code extension with rich support for the Python language (for all actively supported Python versions), providing access points for extensions to seamlessly integrate and offer support for IntelliSense (Pylance), debugging (Python Debugger), formatting, linting, code navigation, refactoring, variable explorer, test explorer, environment management (NEW Python Environments Extension). The Python extension does offer some support when running on vscode.dev (which includes github.dev).
Starred by 4.6K users
Forked by 1.3K users
Languages   TypeScript 90.3% | Python 8.7% | JavaScript 0.8% | Jupyter Notebook 0.2% | Shell 0.0% | Dockerfile 0.0%
🌐
Visual Studio Magazine
visualstudiomagazine.com › articles › 2022 › 03 › 04 › vs-code-python-update.aspx
Python in VS Code Now Supports Pre-Release Extension Option -- Visual Studio Magazine
March 4, 2022 - "If you were part of our Insiders program and had the 'python.insidersChannel' setting set to 'daily,' you will automatically start using the pre-release versions of the Python extension. If you had the 'python.insidersChannel' setting set to weekly, you will be prompted to choose whether to install the pre-release version or to switch to the stable version.
🌐
Microsoft Developer Blogs
devblogs.microsoft.com › dev blogs › microsoft for python developers blog › python in visual studio code – may 2021 release
Python in Visual Studio Code – May 2021 Release - Microsoft for Python Developers Blog
May 11, 2021 - If you used to have issues with the Python extension not loading when on a machine with many Python environments, try this newest version and let us know how it works for you!