Unable to updateany package to latest version because wronlgy inferred dependency #4700
Closed
3 tasks done
Labels
kind/bug
Something isn't working as expected
-vvv
option).Issue
Trying to update any package with
poetry add <package>@latest
results in aSolverProblemError
because poetry (wronlgy) assumes that the project depends on both the current and the version it's trying to install.How to reproduce
poetry install
poetry add cryptography@latest
Workaround
pyproject.toml
and runpoetry update
poetry remove <package_name> && poetry add <package_name>
(which is not ideal because of Poetry uninstalls all dependencies when removing any dependency viapoetry remove
#4632)The text was updated successfully, but these errors were encountered: