-
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
Dependabot is not updating any dependencies, seeing 407 errors #5655
Comments
Also reported in #4580. When Dependabot does an update, it starts a proxy with basic auth using a randomly generated password. It provides those credentials to the updater container, which then sets in environment variables like In order to get this HTTP 407, Poetry would have to be dropping the password (or both username and password) from the URL in Do you have any proxy related settings in your
The only public repo I see is https://github.com/gr4vy/platform-challenge which doesn't have Dependabot setup? It would be useful to see any Poetry manifests involved so if you could supply some that recreate the issue that would be fantastic! |
Thanks for getting back to me @jakecoffman! We have no proxy setup in our Also, this has been working until last week, it has started to break just during the last few days with no changes to the process on our side. Let me know if there are any other details I can provide to help you further assess the issue. |
I'm seeing this issue too, and it's strange, because we set up two repositories to use Dependabot. Both use For the repo that doesn't work, the only difference in its We use Gemfury as our private package registry. There are the logs we see:
|
Thanks for the additional report @Tarun-S! @hasier that git source seems to be key, I was able to recreate the issue here: https://github.com/dsp-testing/poetry-407 When Dependabot runs |
I've recreated the issue without any Dependabot and filed python-poetry/poetry#6485 While recreating the issue I noticed that if the git source is pinned to a revision or tag the change in python-poetry/poetry#6131 will avoid the 407. That change is currently on Poetry's master branch, so once that is released I suspect it will fix the issue for most. I changed my repro to be unpinned so it continues to recreate the issue even with that change. |
This should be fixed now, let us know if you are still having problems! |
I can confirm it's all working for us now, thanks for all your help @jakecoffman! 🌟 |
Is there an existing issue for this?
Package ecosystem
pip
Package manager version
Poetry 1.1.15
Language version
Python 3.10
Manifest location and content before the Dependabot update
/Poetry.lock
dependabot.yml content
Updated dependency
There are many, the latest one displayed in the logs is
fastapi
.Previous version:
0.79.1
New version:
0.82.0
What you expected to see, versus what you actually saw
The below scenarios are happening in all our public and private Python repos at https://github.com/gr4vy
Scenario 1
Expected: a set of PRs with updated versions during the weekly run.
Actual: no PRs, just an error log (truncated).
Scenario 2
Expected: being able to rebase/recreate dependabot PRs.
Actual: an error comment when running either of the commands.
Native package manager behavior
Successful dependency upgrade.
Images of the diff or a link to the PR, issue, or logs
Related issue, apparently resolved on its own: #4587
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: