]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring: mention PyYAML only once in requirements 44944/head
authorRishabh Dave <ridave@redhat.com>
Mon, 7 Feb 2022 18:44:42 +0000 (00:14 +0530)
committerLaura Flores <lflores@redhat.com>
Tue, 8 Feb 2022 17:28:34 +0000 (17:28 +0000)
Following error occurs while running "sudo install-deps.sh" -
ERROR: Double requirement given: PyYAML==6.0 (from -r requirements-lint.txt (line 5)) (already in pyyaml (from -r requirements-alerts.txt (line 1)), name='PyYAML')

PyYAML is mentioned twice as a requirement. It is mentioned once in both
the following files -
monitoring/ceph-mixin/requirements-lint.txt
monitoring/ceph-mixin/requirements-alerts.txt

These requirements were added in commits
44d3e4c264506154373ffaeb13d6c924c580e6b5 and
4750ac0d7766a8a089adf073415af0ac0d3f81d9.

Fixes: https://tracker.ceph.com/issues/54185
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit a6f5efb620c429f81ea13992c2f77b4ca55458bc)

monitoring/prometheus/tests/requirements.txt

index bd25cccf86d779bacea45a34f63f758033507a65..e518e69644e66dbba539384609036d770ed6561c 100644 (file)
@@ -1,2 +1,2 @@
-pyyaml
-bs4
\ No newline at end of file
+pyyaml==6.0
+bs4