this post was submitted on 01 Aug 2026
121 points (99.2% liked)
Programmer Humor
43838 readers
106 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's right, you shouldn't be using requirements.txt in 2026
What should I use instead? pyproject.toml?
I am pretty new to Python so I'm not very familiar with the ecosystem yet...
yes, and give
uva tryhttps://docs.astral.sh/uv/getting-started/installation/
uv init+ project management commandsuv add,uv remove,uv sync,uv run my_spaghetti.py, ...you probably don't need
piporuv pipcommandsand here's how to use it in docker
https://docs.astral.sh/uv/guides/integration/docker/
That looks really convenient, especially when installing and switching Python versions. I'll keep that in mind. Thanks!