Replies: 1 comment 3 replies
-
No. No build tool really could. This is up to the compiler (if the language has one), or tests; so the process is to upgrade the dep and then compile and run all tests for all code that depends on the dependency. Since pydantic is Python, compile just means run the type-checker if you use one. Pants can help you determine "for all code that depends on the dependency" in several ways though. It does this automatically via its caching - say you had just run
What do you mean by this part? |
Beta Was this translation helpful? Give feedback.
-
Hi,
If I need to upgrade a dependency to a later version in a large monorepo using pants, what is the recommended approach?
For example, let's say I need to upgrade pydantic to the latest version, while ensuring that it doesn't break existing code.
Does pants have a way to warn me of breakages if I upgrade pydantic or to resolve dependencies?
Beta Was this translation helpful? Give feedback.
All reactions