Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to show outdated dependencies in pyproject.toml #1302

Open
marhoy opened this issue Aug 1, 2024 · 1 comment
Open

Ability to show outdated dependencies in pyproject.toml #1302

marhoy opened this issue Aug 1, 2024 · 1 comment

Comments

@marhoy
Copy link

marhoy commented Aug 1, 2024

First: I know about rye sync --update-all, which updates the lock-files and virtualenv with the latest dependency versions, given the restrictions in pyproject.toml and restrictions in the dependencies themselves.

Second: I'm assuming that you're using dependency-operator = "~=", which is the only thing that makes sense: The default value >= would e.g. silently update your dependencies to versions that are incompatible (e.g. from pydantic-1 to pydantic-2).

Given this, there is a need for an equivalent of poetry show -oaT, which shows you whether there are some newer versions of your dependencies, such that you can choose to manually update your restrictions in pyproject.toml, followed by a rye sync --update-all.

BTW: I'm also missing the equivalent of poetry show --tree --ansi, which shows you what packages (and versions) are required by each of your requirements. Yes, I know there is some information in the rye-generated lock-files, but it's not as detailed.

@iamWing
Copy link

iamWing commented Aug 20, 2024

Was just Googling if there's a way to have rye check outdated dependencies like how npm does it and come to second this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants