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

Python

6684 readers
5 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
you are viewing a single comment's thread
view the rest of the comments

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