• ertai@programming.dev
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    17 hours ago

    Yet another python packager............... insane that such a popular language still doesn’t have this basic problem solved.

    • sum_yung_gai@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      I use poetry and it works really well. I would consider it solved but that doesn’t mean there isn’t the possibility of a better solution.

  • dinckel@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    20 hours ago

    It’s a really bold claim. Every time a new package manager and/or dependency resolver comes around, we have the exact same headline

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      18 hours ago

      Looks like it has basic support:

      • required-python = "..."
      • dependencies = [ ... ]

      Once it gets dependency groups, I’ll try it out. I’m currently using poetry, which works, but I’m always interested in better perf.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        13 hours ago

        it already has dep groups; e.g.

        uv add --optional staging pytest

        then

        uv sync --extra staging

        to install / uninstall packages accordingly.

        They have a --dev shorthand for dev dependencies, but it seems the dependency group PEP is not final, so there isn’t a standardized way of doing this yet.