What's a good practice to implement passive version updates #8440
Unanswered
KnightArthurRen
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Solution 1:
Solution 2: run This will update the constraint of an existing dependency in pyproject.toml and basically do step 2 and 3 of solution 1 automatically. However, it will probably not work for multiple-constraints dependencies or other special cases. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, as the title suggested, I wish to use poetry for passive package updates and I'm wondering what's the best way to do it.
For example let's say I have a
pyproject.yml
and correspondingpoetry.lock
file. When I update one package version or add a new one in, I want poetry toCurrently for the related package(s), I can achieve point 2 by locking it to a fixed version but this brings a new problem of updating any package can require me to update all related package to a new fixed version.
However if I'm not fixing a version then poetry will try to update all related packages to as new as possible (even if the original currently installed version works) and this sometimes breaks stuff (e.g. a package changed from 11.2 to 11.4 and behavior changed).
Sorry for the long article! I'm wondering what would be a good practice for achieving 1 and 2 here 🤔
Beta Was this translation helpful? Give feedback.
All reactions