I stumbled upon this while researching package management options for python, and found it a really interesting read.

I like python as a language but this mess is something that needs to be addressed for me to consider python for future projects. I can’t imagine how confusing it must be for new users.

  • JackbyDev
    link
    English
    210 months ago

    I’m only an intermediate python dev but pip and venv do the trick. pyenv with the virtualenv plugin is nice on my Mac machine but I don’t have any such equivalent on my Windows machine, I just need to remember to enable the venv.

    I used Poetry for some project but ran into some problems. It was a long time ago and I didn’t really know enough about what was going on to really explain why it wasn’t working well. Part of the problem was that it was on a Raspberry Pi Zero W so it was extremely slow and it is possible everything would’ve been fine on a more traditional setup. My understanding is that a lot of legacy tools don’t define what their dependencies are in a strict way and it is a costly operation for Poetry to execute the code in the setup files or something like that. It took hours but I also think it was trying to build Python from source or something like that.

    As a Python hobbyist pip and venv get what I need done and have the massive advantage of coming bundled with Python itself, but I understand that there are problems that Python professionals probably run into that aren’t solved as easily.