-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Investigate a potential opinionated package management workflow #21627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Will there be a way for other extensions to use this facility? Maybe just through a command or something like that with looser coupling would be fine. We'd need to :
|
VSCode commands + cli tool similar to the code cli tool me thinks would be ideal. |
If I am understanding your comment correctly, yes, we have discussed the idea that we would allow other package management extensions to plug into the opinionated workflow but use their own commands. Need more investigation to see how this could be implemented and its integration story. |
Courtney, I'm this issue's target user (as described in in your blog post). Usually I use conda, unless I have to use pip CLI. My most frustrating experience is resolving package errors in an environment. Sometimes, an environment says that it has inconsistencies and |
related #21334 |
The Python extension in VS Code is investigating ways to improve our package management support tailored towards beginners with the option for extensibility for your preferred package manager tools via extensions.
Goals
Propose and implement an opinionated workflow as part of the Python extension for VS Code to:
Proposal:
An opinionated workflow (ie. commands) that will integrate with the Python: Create Environment command in order to streamline environment creation and package management in the Python extension.
CLI command coverage we want to match in our opinionated workflow:
Where and how to document dependencies:
Default should be to write to a
requirements.txt
file, including the package version that was installed. Opting to write the version, by default, supports the users' need for reproducibility and ease of collaborating on work. Given the nature of the work done by the target audience and our target usage, apyproject.toml
is out of scope as the target user typically does not build their project nor is there a direct way to only install dependencies listed in apyproject.toml
file.The text was updated successfully, but these errors were encountered: