Update introduces conflict
domoritz opened this issue · 4 comments
I tried updating with poetry up
in cmudig/draco2@26977cd but get a version conflict that doesn't exist before
> poetry up
Updating dependencies
Resolving dependencies... (2.0s)
Reverting pyproject.toml
Because no versions of jupyter-book match >0.13.1,<0.13.2 || >0.13.2,<0.14.0 || >0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1,<0.16.0
and jupyter-book (0.13.1) depends on sphinx (>=4,<5), jupyter-book (>=0.13.1,<0.13.2 || >0.13.2,<0.14.0 || >0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1,<0.16.0) requires sphinx (>=4,<5).
And because jupyter-book (0.13.2) depends on sphinx (>=4,<5)
and jupyter-book (0.14.0) depends on sphinx (>=4,<6), jupyter-book (>=0.13.1,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1,<0.16.0) requires sphinx (>=4,<6).
And because jupyter-book (0.15.0) depends on sphinx (>=4,<6)
and jupyter-book (0.15.1) depends on sphinx (>=4,<6), jupyter-book (>=0.13.1,<0.16.0) requires sphinx (>=4,<6).
Because no versions of sphinx-autodoc-typehints match >1.25.2,<2.0.0
and sphinx-autodoc-typehints (1.25.2) depends on sphinx (>=7.1.2), sphinx-autodoc-typehints (>=1.25.2,<2.0.0) requires sphinx (>=7.1.2).
Thus, sphinx-autodoc-typehints (>=1.25.2,<2.0.0) is incompatible with jupyter-book (>=0.13.1,<0.16.0).
So, because draco depends on both jupyter-book (>=0.13.1,<0.16.0) and sphinx-autodoc-typehints (^1.25.2), version solving failed.
--latest
also doesn't work.
> poetry up --latest
Updating dependencies
Resolving dependencies... (1.3s)
Reverting pyproject.toml
Because no versions of sphinx-autodoc-typehints match >1.25.2,<2.0.0
and sphinx-autodoc-typehints (1.25.2) depends on sphinx (>=7.1.2), sphinx-autodoc-typehints (>=1.25.2,<2.0.0) requires sphinx (>=7.1.2).
And because jupyter-book (0.15.1) depends on sphinx (>=4,<6)
and no versions of jupyter-book match >0.15.1, sphinx-autodoc-typehints (>=1.25.2,<2.0.0) is incompatible with jupyter-book (>=0.15.1).
So, because draco depends on both jupyter-book (>=0.15.1) and sphinx-autodoc-typehints (^1.25.2), version solving failed.
Seems like you are trying to update sphinx-autodoc-typehints
and jupyter-book
that both depends on sphinx
but on different versions which makes them non compatible with each other. This plugin is not responsible for the conflict, you need to find specific versions of sphinx-autodoc-typehints
and jupyter-book
that are comptabile with each other and stick to them.
I thought the plugin would try to find the latest versions that are compatible. Or does the plugin simply bump to the latest version regardless of any potential conflicts that would introduce? In that case, an interactive mode as suggested in #8 would be amazing.
But sounds like conflict resolution is outside the scope of this tool. I'll close this issue.