Using Poetry, I want to find all versions of an specific package that are available for install. Is it possible to achieve that?
(Similar to Python and pip, list all versions of a package that's available?)
Using Poetry, I want to find all versions of an specific package that are available for install. Is it possible to achieve that?
(Similar to Python and pip, list all versions of a package that's available?)
It won't show all versions available, but if you want to see the latest version of a given package available for install using Poetry, you can use a combination of the @latest
version qualifier and --dry-run
option of poetry add
, as follows:
poetry add <package>@latest --dry-run
This will output the version of the package (and dependent packages) available, but will not execute anything.
To display the current and the latest version of the packages installed in your virtual env, just run the command:
poetry show --latest
But the show
-command has special param for checking the outdated packages only:
poetry show --outdated