requirements/updater.sh
produces requirement comments pointing to incorrect sources
#15461
Open
5 of 11 tasks
Labels
Please confirm the following
[email protected]
instead.)Bug Summary
The updater script post-processes the
pip-compile
output in a way that re-assigns the source comments to incorrect package specifiers. This is becausesed
only removes the lines containing PEP 508 specifiers, but not the comments associated with them.AWX version
devel
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
Run the updater.
Expected results
It shouldn't leave comments referring to the removed entries.
Actual results
It does.
Additional information
I printed out the produced constraint file output before and after https://github.com/ansible/awx/blob/78f345c/requirements/updater.sh#L27-L35 to verify that it's not a problem with
pip-tools
and found that this is a weakness of howsed
is post-processing thepip-compile
output.Here's the difference of what
pip-compile
produces vs. how it's changed:The text was updated successfully, but these errors were encountered: