flywire
flywire

Reputation: 1365

Poetry Update Failed

I installed OOO Development Tools following the Windows install which created a venv then runs poetry install.

The package was updated so I ran poetry update but it returned:

No dependencies to install or update

poetry show does not show the ooo-dev-tools package. Using pip show ooo-dev-tools I can see an old package version is installed in the venv.

How can the package be updated to the latest release?

Upvotes: 0

Views: 1070

Answers (1)

aprath
aprath

Reputation: 76

poetry update updates the dependencies of the package ooo-dev-tools i.e, the dependencies mentioned in its pyproject.toml file to its latest version; bound to the version limits set in the toml file.

But I believe you want to actually update the root package ooo-dev-tools itself for this you would have to pull the latest changes to the cloned repo ooo-dev-tools and then do the poetry update and poetry install. (would be smooth as long as there are no big updates like change in python version or so...)

On the other hand, if you had the ooo-dev-tools installed as a dependency of another project and it is mentioned under [tool.poetry.dependencies] of the pyproject.toml then the poetry update will be considering this package as well for updation to latest version.

Upvotes: 1

Related Questions