Everytime I have to use some python script I fucking groan. God, what a pain in the ass python is...

  • Sinonatrix [comrade/them]
    ·
    2 years ago

    I haven't done anything very intricate in python, but is the built-in virtual environment not enough to lock dependencies? I'd probably rather docker for a serious project, but venv takes way less infrastructure.

    • captcha [any]
      ·
      2 years ago

      The problem comes from PyPI and resolving dependencies of your dependencies. I dont fully understand it but it sounds like PyPI has to execute code from your dependency to determine its dependencies and sometimes that process will stall out. Also if you're resolving some sort of dependency hell and constantly doing poetry install PyPI might block you.