Skip to content
Discussion options

You must be logged in to vote

Nothing changed in Dependabot's rules. What changed is which rule you fall under, and it's decided by a PyPI lookup on your project's own name.

For pip, Dependabot picks the strategy like this (python/lib/dependabot/python/update_checker.rb):

library? ? RequirementsUpdateStrategy::WidenRanges : RequirementsUpdateStrategy::BumpVersions

WidenRanges moves only the upper bound, which is what your #1185 did. BumpVersions moves both, which is what #1222 did and why the range collapsed to a pin.

And library? isn't about your repo layout. It's check_pypi_for_library_match, which takes the name from your pyproject.toml, fetches https://pypi.org/pypi/<name>/json/, and returns true only if PyPI's in…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jenstroeger
Comment options

@kaminagakur4
Comment options

@jenstroeger
Comment options

@kaminagakur4
Comment options

Answer selected by jenstroeger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants