• gigachad@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

    Soon, you won’t have a choice because major distros are adopting PEP 668. This will make pip install fail in the default system Python and show an error telling you to use a virtual environment.

    Well, if this is true then why bother convincing people ;)

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    System-wide installation as it was implemented should stay in the past. I like pixi’s (Conda alternative) approach here, where each system dependency lives in its own virtual bubble, so recreating and porting this software is a breeze.

    But if all you use can stay in a venv, just use one.

  • subterfuge@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    How will this affect command-line tools like azure-cli installed in a container image that can be installed with pip? Will we be forced to append the venv to $PATH?

    • logging_strict@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      We need AA meetings

      Hello!

      My name is Billy Joe Jim Bob

      Hello Billy!

      I haven’t had a dependency conflict for the past 3 hours. The sleeping problems haven’t gone away. As i feel my eye lids drupe, keep thinking about each of my packages and imagining where will the next unresolvable dependency conflicts emerge.

      Then i wake up covered in sweat.

      Can’t keep going on like this. Thank you for listening

      Thank you for sharing Billy!