pixi run pip freeze #518
Replies: 3 comments 4 replies
-
Oehf yeah that is going to be a tough 🍪 to crack. We now install packages from both ecosystems so it could be really hard to translate that to either one of the two. There is a trick we use to link pypi package to conda packages for the installation overlap, but I don't want to promise any work on the pip freeze equivalent any time soon. |
Beta Was this translation helpful? Give feedback.
-
How about python packages seem to be well-captured with produces
|
Beta Was this translation helpful? Give feedback.
-
Related: #800 |
Beta Was this translation helpful? Give feedback.
-
Exporting requirements
The essence of my request is to make it easy to generate a simple
requirements.txt
file that will be compatible with pre-pixi world.In practice,
pip freeze
is a useful command for getting the exact versions of everything in a package. With poetry, I'd sometimes runpoetry run pip freeze
andpoetry run pip show <package>
to look at dependencies.With pixi:
pixi run pip show
works as expectedpixi run pip freeze
works differently and produces output that would break workflows based onpip freeze > requirements.txt
pip freeze
that would get all necessary information frompixi.lock
without the need forpip
Example
pixi.toml
pixi run pip freeze
Interested to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions