pip – How can I connect my conda environment dependencies to poetry’s pyproject.toml (or to poetry in general)?

I have a requirements.txt that I regularly update using my conda virtual environment. I also have a pyproject.toml file, that, when it comes down to it, has a lot of dependencies. A lot.

I have to manually sift through scores of dependencies, hoping that one doesn’t break in the pyproject during PyPI deployment.

Is there any easier way to transfer requirements from the requirements.txt file (or from your conda environment) into Poetry, say, that can automatically add all the dev dependencies?

I’ve tried using the cat command to spit out my requirements.txt into poetry add, but sometimes, poetry throws errors and it becomes a pain to repeatedly add / delete.

Read more here: Source link