Seeking feedback on a plug-in-like system for environment discovery #5158
Replies: 2 comments 2 replies
-
I had seen you open the topic originally but I didn't have any immediate feedback to provide--I don't use VS Code, as I prefer using JetBrains PyCharm and WebStorm for most of my work. I am also not super familiar with the Python Launcher for Unix, if that means something specific outside of the python binary? At this point we have been taking on a lot of technical debt in the project, and so plug-in system hasn't really been considered. I would need a better understanding of what the interface is like, but if I grasp the idea I think there are some challenges -- right now we map to a specific virtualenv for the project, if you can choose an alternative one that doesn't really apply to your Pipfile, what are the implications? For pipenv, we currently interface with pyenv (and asdf though I haven't used that) and it does a good job with managing python versions. We are looking are reducing the |
Beta Was this translation helpful? Give feedback.
-
I have an idea at brettcannon/python-launcher#168 for a design to make it easier to discover interpreters and environments. From a pipenv perspective, I see both the consumption and production aspect of the proposal being applicable. For consumption, I could see this helping to discover available Python interpreters for creating virtual environments. For producing, I can see pipenv telling other tools, like VS Code, about the virtual environment it has created for the user.
At this point I'm just looking back for feedback on the proposal; no expectation of implementing anything. If the feedback is positive across various tools, I hope to implement this for the Python Launcher for Unix and VS Code. I would also want to see if it could be turned into a PEP.
Thanks in advance for any feedback you choose to provide!
Beta Was this translation helpful? Give feedback.
All reactions