Skip to content

add PEP 723 script detection and activation#11

Open
Weidav wants to merge 2 commits intoteticio:mainfrom
Weidav:main
Open

add PEP 723 script detection and activation#11
Weidav wants to merge 2 commits intoteticio:mainfrom
Weidav:main

Conversation

@Weidav
Copy link

@Weidav Weidav commented Feb 13, 2026

Added PEP 723 support as requested in #10
Checks for PEP 723 compatible scripts and, searches for the venv path by running uv python find --script an activates tit.

@teticio
Copy link
Owner

teticio commented Feb 16, 2026

Hi

First of all, thanks for picking this up and doing the work. I've been recovering from a motorcycle accident for a while, so I didn't get around to looking into it.

I have to say, I'm not completely convinced it makes sense to do this. It feels like it is a bit at odds with the purpose of the extension. I can only think of a use case where you have a script depending on a venv that is managed outside of the project that you want to debug for some reason, so you click on it and run "Debug Python File" and it loads the correct venv. Can you help me understand the use cases better?

I will leave this open for the time being. If anyone else coming here thinks this is useful, please let me know and ideally help me to understand how.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants