Repository navigation
Support for PEP 723 #6522
Replies: 7 comments 4 replies
|
I would be curious if anyone stumbling upon this has any workarounds until support is added |
|
This is becoming very relevant with uv scripts https://docs.astral.sh/uv/guides/scripts/ - which are currently not easy to run or debug inside VS Code - but otherwise extremely powerful |
|
Bumping for visibility. This would be an excellent feature to have |
|
Ravencentric (@Ravencentric) There’s progress on the environment-management part of this request! Stella Huang (@StellaHuang95) has been adding PEP 723 support to the Python Environments extension, tracked in microsoft/vscode-python-environments#1602. The merged enhancements include:
These changes are included in Python Environments 1.38.0, but aren’t enabled by default yet. The current experimental opt-in is This work addresses the script environments and dependencies portion of the request; TOML syntax highlighting and formatting are separate from these enhancements. |
|
Going to close this discussion item. If you have any issues or questions with the support, please log a bug on https://github.com/microsoft/vscode-python-environments/issues |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
See: https://packaging.python.org/en/latest/specifications/inline-script-metadata/#inline-script-metadata

This will always be a valid TOML string and should be treated as such. My feature request is that VS Code should:
All reactions