Skip to content
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

Thanks #124

Closed
jondot opened this issue May 20, 2018 · 9 comments
Closed

Thanks #124

jondot opened this issue May 20, 2018 · 9 comments

Comments

@jondot
Copy link

jondot commented May 20, 2018

Watching all the commotion over at reddit and social, I just passed by to say thanks.

Coming from over 20 years of polyglot development, being part of the Ruby, Node and Go communities, just as it happens now for Python - I've seen - from the front row, rubyforge/gem/bundler/etc. shape up, and then npm and the amazing yarn move to fix many of npm's shortcomings (I've been using Node as early as 0.1x's), Rust/cargo shape up with @wycatz leading the way, and then the whole Go community effort to resolve dependency management which I've learned a ton from.

All this time, I always thought Python had so much breakage, and it stopped me from using Python (I hold the opinion that a language that doesn't have a great package manager and dependency resolution isn't worth spending time with) - be it the Python 2 and 3 community brainsplit, and then the various ways to package and maintain dependencies that didn't work for me most of the time, making the hours on top of hours of building a packaging solution legitimate again (I've never had called spending time on a build process "legitimate" since my C++ days).

Here I was reading Kenneth's post, leading to the Reddit thread and the poetry reference (I guess I was exposed to all of this in the reverse order!). Leaving all the drama aside, and thinking about "what do I get out of each of these projects, really", I tried Poetry, flit, hatch (I already use Pipenv, and I wouldn't say I'm super happy with it because that's not a workflow I'm used to - it might be perfect for real Pythonistas, not fake ones like me :) ).

Going over poetry - everything felt "right". Finally I was thinking: someone did it.

In fact, I kept thinking "I wish this tool also consolidated all user scripts, like npm/yarn does - which always was a one-up over bundler for me". Before even fully reading the README, I decide to start working on it.

Diving into the code, I bumped into the fact that - poetry already does this.

At this point - I had to stop and say thanks.

Please don't let all the discussions / politics stop you. If there's one thing I wish - is for this tool to continue to exist, because for me, it is finally how packaging should look like.

Thanks

@sdispater
Copy link
Member

Thanks for the kind words! It really means a lot to me!

I started poetry because that is the one thing that is missing from the Python ecosystem: a good package manager like most of the other languages have.

So, I'm glad you find it useful and that it felt "right" to you.

I definitely don't plan on stopping the development of poetry. And I hope more and more people use it so that the packaging in Python becomes easier.

@maxcountryman
Copy link

Kenneth's responses to competing efforts to solve this problem have been disheartening to say the least. I hope that others are able to look beyond the celebrity of one person and judge the tools for their various merits. To that end I feel that the particular approach Poetry takes, analogous to something like Cargo in the Rust world, is nearing something ideal and deserves to be seen as such. So thank you for your efforts here--it's really appreciated and much needed.

@moigagoo
Copy link
Contributor

moigagoo commented Jun 1, 2018

I would just like to chime in and share the same sentiment as @jondot. I've tried Pipenv and was not exited at all. As a Windows user, I couldn't help feeling discriminated.

When I discovered Poetry and tried it for a few minutes, it just clicked instantly. Even at the early stage it is today, it's already good enough for my projects, and I've moved some of them to Poetry; couldn't be happier.

I don't know if I count as a true Pythonista, by I've been coding in Python for almost a decade now. Poetry feels much more pythonic than anything I've tried.

So, @sdispater , please accept another huge thank you!

P.S. What's the story with Kenneth's responses everyone's talking about? Could you please give a link to the post, just for information?

@digitalresistor
Copy link
Contributor

@moigagoo this thread on Reddit: https://www.reddit.com/r/Python/comments/8jd6aq/why_is_pipenv_the_recommended_packaging_tool_by/

Don't spend too much time on this nonsense though, pipenv like poetry is just another tool to add to your tool belt, the drama surrounding tooling is a little insane.

@flying-sheep
Copy link

Once #210 is fixed I think I’ll try out poetry. I’m pretty happy with flit, but poetry seems to have a few convenience features I’d like 😃

@pawamoy
Copy link

pawamoy commented Feb 13, 2019

In fact, I kept thinking "I wish this tool also consolidated all user scripts, like npm/yarn does - which always was a one-up over bundler for me". Before even fully reading the README, I decide to start working on it.

Diving into the code, I bumped into the fact that - poetry already does this.

When you say "user scripts", it's a reference to the "scripts" section of package.json right? Like they are meant to replace a Makefile or else?

Well, Poetry's scripts are not the same thing. Poetry's scripts section is named "scripts" like setuptools' entry point console_scripts. These scripts result in executable files on your PATH upon installation of the package. They are not meant to be run within your development environment as shortcut commands.

I actually did not read the source code of Poetry so please, correct me if I'm wrong!! (Also I would be very interested in this feature)

@jondot
Copy link
Author

jondot commented Feb 13, 2019

You're right, I'm still using poetry exclusively for everything so I managed to get more sense under what poetry scripts are; and no they are not what I thought :).
So this means I'd still love for poetry to replace my Makefile in every project!

@pawamoy
Copy link

pawamoy commented Feb 18, 2019

For reference: #591 🙂

dimbleby pushed a commit to dimbleby/poetry that referenced this issue Apr 21, 2022
Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants