95% of Python Users Never Edit Dependency Files

Okay #python people – I have a question: We have a PyCharm stat that only ~5% of users ever manually edit a dependency file (like setup.py, requirements.txt, pyproject.toml). We have other ways to manage dependencies in Python, but it seems *wild* to me that 95% of users never touch their dependency list. So ... how are you all doing it?

Oh no, it seems I might be in that 5% 😬 - I work on a lot of different projects and pin deps. When I start a new project and steal a package from another, I copy the pinned deps for that package into the new project and `uv sync` I’m so used to being in docker compose files that editing the pyproject feels normal. Sometimes I have to fight PyCharm because the environment breaks, and my imports go red - might be a PyCharm skill issue.

In 2026 is for really so wild to not touch your dependency list manually?

Like
Reply

uv add numpy (or pixi add pytorch) 😉

Weird stat. pyproject.toml is the standard location to configure a plethora of python-based tools like pytest, ruff, ty, mypy, isort, uv, coverage, ... Those configs are not writing themselves. And the defaults are very insufficient.

uv add Or for requirements, PyCharm writes them for me 😆

You ... don't add dependencies to the project you work on, specially if it's big, stable, or suffers from NotInventedHere syndrome

Have you ever heard of dependency managers?

Like
Reply

uv add uv removeNever worked with PyCharm but looks like stat is weird.

Like
Reply

Sounds like an inivitation to dependency hell and version inconsistency. I edit the cruft out of all inherited files.

Like
Reply
See more comments

To view or add a comment, sign in

Explore content categories