3
submitted 3 weeks ago by rexs4563@me.dm to c/python@programming.dev
top 2 comments
sorted by: hot top controversial new old
[-] muntedcrocodile@lemm.ee 3 points 3 weeks ago
[-] logging_strict@programming.dev 1 points 2 weeks ago

The headline is misleading. The article is written for those supporting py37 or py38. These are both no longer supported.

The section on uv i was interested in reading, but it's just fluff followed by a link.

The section on Pydantic should compare against dataclasses and attrs. All of which are capable of data validation. dataclasses is built-in.

The section on ruff did not compare against flake8+black+isort.

The section on typing-extensions, i have questions. When not to use typing-extensions. I look at the typing features being used and then create a nudge pin like,

typing-extension; python_version<="3.11"

or

typing-extension>=4.12.2; python_version<="3.11"

The nudge pins are placed into a pins-typing.in file. And included by another .in file with a line -c pins-typing.in

this post was submitted on 24 Jan 2025
3 points (66.7% liked)

Python

6684 readers
3 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 2 years ago
MODERATORS