-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Python] Dependabot changes ~=1.1.0
to >=1.1.0,<1.3.0
#1440
Comments
Hi! 👋 Thanks for reporting this. The team is pretty swamped at the moment scaling Dependabot for all of GitHub , but we'll take a look at this as soon as we can. |
Can't reproduce in last time (fire-square/fire-square-style#49, PerchunPak/pinger-bot#49, fire-square/fire-square-style#45). Is this was accidentally fixed? |
Reproduced this again in PerchunPak/mcph#47, maybe it's now happening when dependency's version bumps on 2 version in one time? |
Hello @PerchunPak! Sorry for not getting back earlier, too many things you know 😅. I actually think this is intentional. Dependabot default for libraries (as opposed to applications, which would get the behavior you want by default) is to widen requirements instead of bumping them, see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy. You should get what you want by changing your configuration once we support the |
👍 Is there any PR/tracking issue for this feature? |
We added the required changes in this repo at #5605, but then I noticed that we still need some internal changes for this to work. I will update and close this issue once we roll those out. |
@PerchunPak This is now live, can you verify the |
I'm going to close since I verified the new version strategy is properly picked up, but feel free to reopen if you are still having issues after changing the versioning strategy to |
This will help to avoid such commits as 42d758a and PRs where dependabot bumps version from `^1.2.3` to `>=1.2.3,<1.4`. See dependabot/dependabot-core#1440.
This will help to avoid such commits as 42d758a and PRs where dependabot bumps version from `^1.2.3` to `>=1.2.3,<1.4`. See dependabot/dependabot-core#1440.
We have our requirements specified in Python using
~=
and instead of just bumping the version, dependabot insists on changing the format using >=,<.The text was updated successfully, but these errors were encountered: