Skip to content
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

Extract --extra pip-compile command-line argument from requirements.txt header #6406

Open
1 task done
bmerry opened this issue Jan 10, 2023 · 1 comment
Open
1 task done
Labels
L:python:pip-compile Python packages via pip-compile T: feature-request Requests for new features

Comments

@bmerry
Copy link

bmerry commented Jan 10, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

When pip-compile produces a requirements file, it includes instructions to regenerate the file e.g. as seen here. It would be nice if dependabot could extract that information so that it can regenerate the file correctly. At the moment it regenerates the file without taking that into account, leading to broken PRs like this where it deletes half the file because it's not passing the --extra arguments.

This would be somewhat related to #4216 which also involves parsing the header.

@bmerry bmerry added the T: feature-request Requests for new features label Jan 10, 2023
@deivid-rodriguez deivid-rodriguez added L: python:pip Python packages via pip L:python:pip-compile Python packages via pip-compile and removed L: python:pip Python packages via pip labels Jan 10, 2023
@deivid-rodriguez deivid-rodriguez changed the title Extract pip-compile command-line arguments from requirements.txt header Extract --extra pip-compile command-line argument from requirements.txt header Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L:python:pip-compile Python packages via pip-compile T: feature-request Requests for new features
Projects
None yet
Development

No branches or pull requests

3 participants