this post was submitted on 07 Oct 2024
105 points (100.0% liked)

Python

6421 readers
23 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 month ago (1 children)

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 2 points 1 month ago* (last edited 1 month ago) (1 children)

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.

[–] [email protected] 3 points 1 month ago* (last edited 1 month 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.