← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1975609] [NEW] requirements-check job failing on PrettyTable

 

Public bug reported:

I've got a patch up that updates requirements.txt, and I'm getting a
requirements-check job failure (not due to the requirement I'm actually
changing on the patch).

Patch is:
https://review.opendev.org/c/openstack/glance/+/841135

Failure is:

WARNING: possible mismatch found for package "PrettyTable"
   Attribute "package" does not match
   "PrettyTable" does not match "prettytable"
   Requirement(package='PrettyTable', location='', specifiers='>=0.7.1', markers='', comment='# BSD', extras=frozenset())
   Requirement(package='prettytable', location='', specifiers='', markers='', comment='# BSD', extras=frozenset())
ERROR: Package 'prettytable' requirement does not match number of lines (2) in openstack/requirements

Both 'PrettyTable' and 'prettytable' are in global-requirements, but
it's only 'prettytable' in upper-constraints.

My guesses are:
- maybe it needs to be all lowercase? (doubt it, but you never know)
- maybe the version we're specifying as a minimum is so old it can't run in python 3.8?

** Affects: glance
     Importance: High
     Assignee: Brian Rosmaita (brian-rosmaita)
         Status: Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1975609

Title:
  requirements-check job failing on PrettyTable

Status in Glance:
  Triaged

Bug description:
  I've got a patch up that updates requirements.txt, and I'm getting a
  requirements-check job failure (not due to the requirement I'm
  actually changing on the patch).

  Patch is:
  https://review.opendev.org/c/openstack/glance/+/841135

  Failure is:

  WARNING: possible mismatch found for package "PrettyTable"
     Attribute "package" does not match
     "PrettyTable" does not match "prettytable"
     Requirement(package='PrettyTable', location='', specifiers='>=0.7.1', markers='', comment='# BSD', extras=frozenset())
     Requirement(package='prettytable', location='', specifiers='', markers='', comment='# BSD', extras=frozenset())
  ERROR: Package 'prettytable' requirement does not match number of lines (2) in openstack/requirements

  Both 'PrettyTable' and 'prettytable' are in global-requirements, but
  it's only 'prettytable' in upper-constraints.

  My guesses are:
  - maybe it needs to be all lowercase? (doubt it, but you never know)
  - maybe the version we're specifying as a minimum is so old it can't run in python 3.8?

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1975609/+subscriptions



Follow ups