dependabot / dependabot/dependabot-core

`setup.cfg` + `pip-compile` > `requirements.txt` = Dependabot buggy PRs

Open
#6,593 6 comments 2 reactions 0 assignees View on GitHub
good first issue L:python:pip-compile T: bug 🐞
Dominant language
Ruby
Stars
5.8k
Forks
1.5k
Avg merge
2d 18h
Merged PRs (30d)
149

Description

I encountered an issue in a private repository. I observed that this problem happens when the requirements are specified in a package's `setup.cfg` and then compiled into `requirements.txt`.

I have been able to isolate the issue in this repository: https://github.com/titouanc/demo-incompatible-dependabot-upgrades

_Originally posted by @titouanc in https://github.com/dependabot/dependabot-core/issues/3041#issuecomment-925157845_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior in the linked demo repository, focusing on dependencies declared in setup.cfg and compiled into requirements.txt. Then trace the Dependabot path that interprets those files and compare the generated pull requests with the expected upgrades. Done means the incompatible or buggy Dependabot PRs are reproduced and the affected behavior is corrected, with regression coverage where the existing code supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.