Conversation
|
RustPython is a binary and a library. Library user uses Cargo.toml and application uses uses Cargo.lock. Specifying the latest version is good for application users, but not for library users |
That's a good point. |
|
When I originally gave the approval, I hadn't considered the library users. Thinking back on it, it's actually normal behavior for Dependabot to only update Cargo.lock in that regard. For the sake of library users, we need to use the most generous (lowest) version possible, as long as it doesn't affect functionality. So, honestly, I'm leaning toward sticking with the current approach. In the case of something like |
I didn't think in RustPython-as-library side when I approved.

When deps don't specify their minor version dependabot only update
Cargo.lock(see #7470 for example).This PR ensures that dependabot updates
Cargo.tomlas well.Closes #7470
Summary by CodeRabbit