Skip to content

ContextualVersionConflict grpcio dependency conflict #2377

Description

@lbenc135

BUG REPORT

ORIGINAL ISSUE: apache/pulsar#7477

Describe the bug

When installing pulsar-client==2.6.0 there's a dependency conflict with grpcio library.

In apache-bookkeeper-client==4.11.0 the dependency grpcio<1.26.0 was introduced, but pulsar-client installs the latest version.

The dependency tree is (as I understand it):

  • pulsar-client (2.6.0)
    • grpcio (any)
    • apache-bookkeeper-client (4.11.0)
      • grpcio >=1.8.2,<1.26.0

To Reproduce

Steps to reproduce the behavior:

  1. pip install pulsar-client==2.6.0
  2. grpcio==1.30.0 gets installed
  3. If I try to build my own pip package with pulsar-client as dependency, and try to build it, I get the ContextualVersionConflict error

Expected behavior

I expect the correct version to be installed and/or the dependency tree to be fixed.

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions