Sorry Python but it is what it is.

You are viewing a single thread.
View all comments View context
5 points

Pip stores everything inside of some random txt file that doesn’t differentiate between packages and dependencies.

permalink
report
parent
reply
12 points

Pip stores nothing in a text file

permalink
report
parent
reply
1 point

If you want to export your local environment, isn’t usually a requirements.txt used?

permalink
report
parent
reply
6 points

Isn’t it called a requirements.txt because it’s used to export your project requirements (dependencies), not all packages installed in your local pip environment?

permalink
report
parent
reply
5 points

Yes, but this file is created by you and not pip. It’s not like package.json from npm. You don’t even need to create this file.

permalink
report
parent
reply
4 points

Honestly its a simple and straightforward solution. What’s wrong with it?

permalink
report
parent
reply
1 point
*

If newer versions are released and dependencies change you would still install the old dependencies. And if the dependencies are not stored you can’t reproduce the exact same environment.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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.

Community stats

  • 4.1K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments