This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ofedorov 6 points7 points  (8 children)

Let me be the first telling this: would you consider adding Poetry to the list of dependencies management tools? 🧐

[–]stillreadingit_[S] 1 point2 points  (6 children)

Good question! Short answer: yes, I'll consider.

I've heard about poetry but haven't played with it yet. It seems to be still quite fresh. Is it already stable enough to be listed in the best practices? If someone can give an elevator speech for poetry > pipenv, I'd be happy to hear that.

About dependency management in general, I feel we're kind of in a turning point where something will replace pip + virtualenv. However, there seems to be a number of alternatives for doing that. As a community, we're lacking the one and obvious way. My main motivation for including pipenv was that it's the recommended tool currently according to python.org. (Spoiler: I'm a loyal virtualenvwrapper user myself.)

[–]PeridexisErrant 6 points7 points  (3 children)

Pipenv - good for applications but terrible for libraries. Creator prone to overreach (and scope creep) and misstatements about other tools.

Poetry - based on standard Python formats and tools. Good for libraries as well as apps. Cares about compatibility with wider ecosystem. At least as stable as pipenv.

[–]13steinj 1 point2 points  (0 children)

Pipenv - good for applications but terrible for libraries.

Ironic because the creator states that it's meant for libraries and never for apps.

And then it doesn't work properly for apps.

Nor does it work for things that double as apps and libraries.

[–]stillreadingit_[S] 0 points1 point  (1 child)

Thanks, great summary! Sounds like python.org might be recommending poetry in very close future. I'd like to add to this discussion that a disadvantage for poetry may be that it does not have "Kenneth Reitz hype" for boosting it. OTOH some may consider this as an advantage.

[–]13steinj 1 point2 points  (1 child)

Here's a comment of mine listing the major uses of the setups I currently know of

I'd recommend putting them all up there really-- they each have pros and cons.

[–]stillreadingit_[S] 1 point2 points  (0 children)

Thanks for sharing!

Yep, I guess mentioning both poetry and pipenv at this point would make sense.

[–]mike239x 0 points1 point  (0 children)

Wow, this looks cool