• misk@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    Once that happens it’ll be just couple of years until trickles down to corpo I work at :(

    We got Python 3.10 in our Hadoop/Spark setup recently. I’m really enjoying those improved debug messages, man.

    • NostraDavid@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      Protip: pip install pyupgrade And then find . -name '*.py' -not -path '*.tox*' -print0 | xargs -0 pyupgrade --py310-plus in your repo to update what can be updated.

      BTW, pyupgrade’s creator, asottile (that’s his name) also has an informative channel: Anthony Writes Code where he explains Python features, or goes into interesting bugs he ran into, etc. The good stuff.

      • misk@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        3 months ago

        You assume that I can access PIP on a big data cluster in a financial institution ;) Even updating packages there requires me to ask for a custom image. I’m a data analyst so I just transform and extract what I can in a way that reduces size of the output and do cool stuff on my machine that has Python 3.11 and access to validated PyPI mirror. ETL that happens entirely on the cluster needs to be so optimised that I don’t need anything fancy thankfully.