this post was submitted on 24 Jan 2025
5 points (85.7% liked)

Python

6683 readers
1 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
top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 3 weeks ago
[โ€“] logging_strict 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