fix(gazelle): Fix the requirements arg to the gazelle python manifest generator.#2533
Conversation
BeforeAfter |
dougthor42
left a comment
There was a problem hiding this comment.
Are you able to provide a test case that gets fixed by this change?
I tested things locally and didn't see any glaring issues, but am also not entirely sure how to reproduce the issue.
|
Yes you must only provide a generated file as the requirements.txt, or have the macro produce one with the genrule, to produce the issue. Here is the example from the req-compile project: |
dougthor42
left a comment
There was a problem hiding this comment.
Sorry for the delay. Holidays and all...
Anyway, I was able to reproduce the issue locally and verify the fix, thanks for the how-to. I'm not able to figure out an easy way to add a test for it, but oh well.
Please add an entry to the changelog and I'll give the LGTM.
|
Thanks for the approval, a maintainer will need to merge |
Fix args passed into the gazelle manifest file generator if the requirements file is not a source file.