Bug 2056839 - Conflicting dependencies - "Cannot install PrettyTable<0.8 and >=0.7.1"
Summary: Conflicting dependencies - "Cannot install PrettyTable<0.8 and >=0.7.1"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-glanceclient
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 17.0
Assignee: Cyril Roelandt
QA Contact: msava
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-22 07:32 UTC by Arie Bregman
Modified: 2022-11-09 18:08 UTC (History)
5 users (show)

Fixed In Version: python-glanceclient-3.3.0-0.20220315161905.f802c71
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:19:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-12802 0 None None None 2022-02-22 07:39:42 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:19:50 UTC

Description Arie Bregman 2022-02-22 07:32:16 UTC
We are unable to run successfully CI for python-glanceclient OSP 17 due to conflicting dependencies:

"""
ERROR: Cannot install PrettyTable<0.8 and >=0.7.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested PrettyTable<0.8 and >=0.7.1
    The user requested (constraint) prettytable===2.5.0
"""

To reproduce:

1. Clone python-glanceclient
2. Checkout OSP 17 branch
3. Run tox

Comment 2 Cyril Roelandt 2022-02-28 22:21:59 UTC
$ tox -epy3   # OK (uses py39)
$ tox -epy39  # OK
$ tox -epy310 # OK
$ tox -epy38  # Fails
$ tox -epep8  # Fails if I use Python3.8 as basepython


Not sure what is happening with Python 3.8 here, but this seems valid.

Unfortunately, the downstream glanceclient CI for OSP17 is broken (flake8 is not installed). Is there any way for you to try and cherry-pick de0e9d9510e997c5d49fc28e7175e326f216b038 , see if it helps?

Comment 5 Cyril Roelandt 2022-03-23 20:40:12 UTC
@Arie: Can you confirm your CI works with the latest RPM? If so, we can mark this bug as VERIFIED.

Comment 7 msava 2022-06-15 11:03:43 UTC
Successfully verified .Looks Good


stack@undercloud-0 python-glanceclient]$ rpm -qa | grep glanceclient
python3-glanceclient-3.3.0-0.20220315170831.f802c71.el9ost.noarch

[stack@undercloud-0 python-glanceclient]$ git checkout remotes/origin/stable/yoga
Note: switching to 'remotes/origin/stable/yoga'.

pyenv local 3.8.0 3.10.0

tox output:
py3: commands succeeded
  py38: commands succeeded
  py39: commands succeeded
  py310: commands succeeded
  pep8: commands succeeded
  congratulations :)

Comment 8 msava 2022-06-15 12:05:35 UTC
py310 test not passed ((

Comment 9 msava 2022-06-15 12:41:06 UTC
Verified


1.[stack@undercloud-0 python-glanceclient]$ rpm -qa | grep glanceclient
    Python3-glanceclient-3.3.0-0.20220315170831.f802c71.el9ost.noarch

2.git clone "https://code.engineering.redhat.com/gerrit/python-glanceclient"
  git checkout remotes/origin/rhos-17.0-patches

3.pyenv local 3.8.0 3.10.0

4.Tox output:
  py3: commands succeeded
  py38: commands succeeded
  py39: commands succeeded
  py310: commands succeeded
  pep8: commands succeeded
  congratulations :)

Looks Good.

Comment 13 errata-xmlrpc 2022-09-21 12:19:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.