-
Notifications
You must be signed in to change notification settings - Fork 433
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
Lock/pin pipx --list output for provisioning multiple machines? #109
Comments
Sounds like a good workflow idea. I think |
sounds great! I'm not super concerned with getting into the weeds of version pinning and locking and the myriad ways there are to do that -- but i would like to preserve my |
Continuing from some conversation in #224 ... With regards to modifying the current metadata to be more compatible with a |
@itsayellow Can you elaborate a bit how the current implementation would be affected? Do you think in the same direction as what @cs01 said:
I'm interested in working on an extension but I'm not familiar with the codebase. |
That comment was actually what I was replying to. My thought is that one could leave the current venv metadata format alone. To create a That's just my opinion, but I think it might be easier to keep these use-cases separate, so we can make sure each continues to function properly independently of the format of the other one. |
I'm not sure you need the internal paths anyway in order to make a portable pipx-freeze type application. I would think you just need to know the packages to install, any options, and any other packages to inject. The only paths that would come into play would be if you were installing local packages (and that would be a little tricky--do you assume the local packages exist on all systems?) |
In order to recreate appropriate install and inject commands to install again somewhere else, from a From the value for
Similarly, from each value of the
I think that information should be sufficient, and doesn't involve any paths (unless |
What about the |
Currently we don't use that in installing a package, this is only information that pipx stores after it installs a package. If you want to lock down a particular version you'd have to make that part of the If the user does specify a valid pip version string, I believe that will be in |
Gotcha; just checked one of my (pinned) installed apps, and you're assumption is right. |
@itsayellow thanks very much! Looks good. quick question -- is round-tripping supported (ie, is there something like |
Round-tripping (import from .json) is not yet supported unfortunately. Maybe that should be a separate issue. |
If you want, i can kick that open and continue the tradition :) |
Add Daemons endpoints and model
I have four workstations I move between.
What would it look like for
pipx
to provide an, e.g., JSON version ofpipx --list --verbose
so that i could:dotfiles
repositorypipx
-installed packages ?The text was updated successfully, but these errors were encountered: