knitmesh / gmssl

GmSSL is a python implementation of an open source encryption package which supports SM2 SM3 SM4 and other state secret national commercial password algorithms and the project adopts the BSD open source license which is friendly to commercial applications which is open source and can be used for closed source commercial applications
68 stars 41 forks source link

Installation fails due to conflicting pika version #5

Open NeolithEra opened 4 years ago

NeolithEra commented 4 years ago

Hi, users are unable to run servos-framework due to dependency conflict with pika package. As shown in the following full dependency graph of servos-framework, oslo.messaging requires pika >=0.10.0,while pika-pool requires pika <0.11,>=0.9.

According to pip’s “first found wins” installation strategy, pika 1.1.0 is the actually installed version. However, pika 1.1.0 does not satisfy <0.11,>=0.9.

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 commented 4 years ago

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?