Project

General

Profile

Actions

Bug #54185

open

monitoring: double requirement for PyYAML

Added by Rishabh Dave about 2 years ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Following error occurs while running "sudo install-deps.sh" on master branch -
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 44d3e4c and 4750ac0.


Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #54203: quincy: monitoring: mention PyYAML only once in requirementsResolvedLaura FloresActions
Copied to Dashboard - Backport #54204: pacific: monitoring: mention PyYAML only once in requirementsResolvedLaura FloresActions
Actions #1

Updated by Rishabh Dave about 2 years ago

  • Pull request ID set to 44930
Actions #2

Updated by Laura Flores about 2 years ago

Was able to reproduce this on RHEL 8 with the most up-to-date version of master:

Collecting setuptools>=0.8
  Downloading setuptools-60.8.1-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 21.0 MB/s eta 0:00:00
Collecting pip>=21.0
  Using cached pip-22.0.3-py3-none-any.whl (2.1 MB)
Collecting wheel>=0.24
  Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting tox>=2.9.1
  Using cached tox-3.24.5-py2.py3-none-any.whl (85 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting py>=1.4.17
  Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting six>=1.14.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.4.2-py3-none-any.whl (9.9 kB)
Collecting packaging>=14
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.13.1-py2.py3-none-any.whl (8.6 MB)
Collecting pyparsing!=3.0.5,>=2.0.2
  Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
Collecting distlib<1,>=0.3.1
  Using cached distlib-0.3.4-py2.py3-none-any.whl (461 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
Saved ./wheelhouse-wip/pip-22.0.3-py3-none-any.whl
Saved ./wheelhouse-wip/wheel-0.37.1-py2.py3-none-any.whl
Saved ./wheelhouse-wip/tox-3.24.5-py2.py3-none-any.whl
Saved ./wheelhouse-wip/filelock-3.4.2-py3-none-any.whl
Saved ./wheelhouse-wip/packaging-21.3-py3-none-any.whl
Saved ./wheelhouse-wip/pluggy-1.0.0-py2.py3-none-any.whl
Saved ./wheelhouse-wip/py-1.11.0-py2.py3-none-any.whl
Saved ./wheelhouse-wip/six-1.16.0-py2.py3-none-any.whl
Saved ./wheelhouse-wip/toml-0.10.2-py2.py3-none-any.whl
Saved ./wheelhouse-wip/virtualenv-20.13.1-py2.py3-none-any.whl
Saved ./wheelhouse-wip/distlib-0.3.4-py2.py3-none-any.whl
Saved ./wheelhouse-wip/platformdirs-2.4.1-py3-none-any.whl
Saved ./wheelhouse-wip/pyparsing-3.0.7-py3-none-any.whl
Saved ./wheelhouse-wip/setuptools-60.8.1-py3-none-any.whl
WARNING: fast-deps has no effect when used with the legacy resolver.
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')

Actions #3

Updated by Laura Flores about 2 years ago

  • Category set to Build, CI, Dependencies & Tools
Actions #4

Updated by Laura Flores about 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Laura Flores about 2 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to quincy, pacific
Actions #6

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54203: quincy: monitoring: mention PyYAML only once in requirements added
Actions #7

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54204: pacific: monitoring: mention PyYAML only once in requirements added
Actions #8

Updated by Laura Flores about 2 years ago

  • Subject changed from monitoring: mention PyYAML only once in requirements to monitoring: double requirement for PyYAML
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF