gmssl icon indicating copy to clipboard operation
gmssl copied to clipboard

Installation fails due to conflicting amqp version

Open NeolithEra opened this issue 6 years ago • 1 comments

Hi, users are unable to run servos-framework due to dependency conflict with amqp package. As shown in the following full dependency graph of servos-framework, oslo.messaging requires amqp <2.0,>=1.4.0,while kombu requires amqp <2.6,>=2.5.2.

According to pip’s “first found wins” installation strategy, amqp 1.4.9 is the actually installed version. However, amqp 1.4.9 does not satisfy <2.6,>=2.5.2.

Dependency tree-----------

servos-framework - 0.0.1.dev6
| +- pbr(install version:5.4.4 version range:>=1.8)
| +- i18n(install version:0.2 version range:==0.2)
| | +- babel(install version:2.7.0 version range:*)
| | | +- pytz(install version:2019.3 version range:>=0a)
| | +- py(install version:1.8.0 version range:*)
| +- oslo.messaging(install version:5.10.0 version range:==5.10.0)
| | +- amqp(install version:1.4.9 version range:<2.0,>=1.4.0)
| | +- kombu(install version:4.6.7 version range:>=3.0.25)
| | | +- amqp(install version:2.5.2 version range:<2.6,>=2.5.2)
| | +- pika(install version:1.1.0 version range:>=0.10.0)
| | +- pika-pool(install version:0.1.3 version range:>=0.1.3)
| | | +- pika(install version:0.10.0 version range:<0.11,>=0.9)
| +- pylibmc(install version:1.5.1 version range:==1.5.1)
| +- babel(install version:2.7.0 version range:>=2.3)
| | +- pytz(install version:2019.3 version range:>=0a)
| +- oslo.service(install version:1.16.0 version range:==1.16.0)
| +- jsonpath-rw-ext(install version:1.0.0 version range:==1.0.0)
| | +- babel(install version:2.7.0 version range:>=1.3)
| | | +- pytz(install version:2019.3 version range:>=0a)
| | +- jsonpath-rw(install version:1.4.0 version range:>=1.2.0)
| | +- pbr(install version:1.10.0 version range:>=1.4,<2.0)
| +- six(install version:1.13.0 version range:>=1.9.0)

Thanks for your help. Best, Neolith

NeolithEra avatar Dec 21 '19 10:12 NeolithEra

Suggested Solution

Fix your direct dependency to be oslo.messaging *. I have checked this revision will not affect your downstream projects now.

@knitmesh Could I submit a PR to solve this issue?

NeolithEra avatar Dec 21 '19 10:12 NeolithEra