r/Python • • Dec 18 '18

Python Virtual Environments: Extreme Advertising Edition

Post image
2.1k Upvotes

287 comments sorted by

View all comments

Show parent comments

3

u/root45 Dec 19 '18

Because of breaking changes.

0

u/lungdart Dec 19 '18

Again, been programming for over 10 years, and have never had that issue. What braking changes could prevent you from updating a dependency in your api code?

2

u/root45 Dec 19 '18

All kinds of things. E.g., pandas releases often have a couple dozen breaking changes. In a large, pandas-heavy codebase, upgrading pandas could be a huge update that might introduce lots of subtle bugs. It'd be something you'd want to test heavily before releasing.

0

u/lungdart Dec 19 '18

But wouldn't you need to be running two pandas heavy large code bases side by side in the same environment with wildly different versions?

Is this normal for people?

→ More replies (3)