Replies: 14 comments
-
There is a tool that supports migrating: https://dephell.org/docs/cmd-deps-convert.html |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Here's an example how to convert a "realworld app" from pipenv to poetry: teamniteo/pyramid-realworld-example-app#84 |
Beta Was this translation helpful? Give feedback.
-
It should definitely be in the documentation, and maybe in the "get started" doc. |
Beta Was this translation helpful? Give feedback.
-
As a "work around" until some sort of capability comes about, you can try something like this: https://stackoverflow.com/a/62787881/2009612 cat requirements.txt | xargs poetry add |
Beta Was this translation helpful? Give feedback.
-
Use |
Beta Was this translation helpful? Give feedback.
-
There is also https://pypi.org/project/pipenv-poetry-migrate/ |
Beta Was this translation helpful? Give feedback.
-
Have a look at example 5. It shows what you need. https://dephell.readthedocs.io/cmd-deps-convert.html#more-examples |
Beta Was this translation helpful? Give feedback.
-
@rvanlaar thanks, do you know why is it saying this now:
how do I use pipenv.lock? |
Beta Was this translation helpful? Give feedback.
-
I would ask for support at the dephell project. I'm a long time poetry user and haven't had to use the conversion tools in quite some time. |
Beta Was this translation helpful? Give feedback.
-
@rvanlaar no problem thanks, the project dephell is archived now btw |
Beta Was this translation helpful? Give feedback.
-
I 2nd this. I like to use cookiecutter a lot, as well as poetry. Unfortunately a lot of the cookiecutter python projects are There is an |
Beta Was this translation helpful? Give feedback.
-
And I got a little too impatient, so I created this Python tool to do just this (called stanza...get it?). Parses requirements.txt files and automatically names and versions your project. It even allows for referenced requirements "e.g. https://github.com/src-r-r/python-stanza I created it in a rush (but still tested it), so contributions welcome! |
Beta Was this translation helpful? Give feedback.
-
I should note that dephell is now archived, domain taken over by squatters, and therefore dead. Other solutions should be used. |
Beta Was this translation helpful? Give feedback.
-
Issue
I would like to use poetry. It took me waaaaay to long to find this issue:
#663
It's closed but has nuggets with wisdom for how to import from other package managers.
Please, Please, include at least this issue in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions