Skip to content

Review dependencies of the python package #2298

@Rafiot

Description

@Rafiot

Describe the feature

Remove the direct dependency to google-api-python-client, as it's implied in the readme.

Use Case

Pull less dependencies.

Proposed Solution

That's the dependency tree, and as far as I can tell, the only actual dependency the valkey module requires from google-api-python-client is protobuf.

$ (git::main) poetry show -t valkey-glide
valkey-glide 1.0.1
├── async-timeout >=4.0.2
├── google-api-python-client 2.85.0
│   ├── google-api-core >=1.31.5,<2.0.dev0 || >2.3.0,<3.0.0dev 
│   │   ├── google-auth >=2.14.1,<3.0.dev0 
│   │   │   ├── cachetools >=2.0.0,<6.0 
│   │   │   ├── pyasn1-modules >=0.2.1 
│   │   │   │   └── pyasn1 >=0.4.6,<0.7.0 
│   │   │   └── rsa >=3.1.4,<5 
│   │   │       └── pyasn1 >=0.1.3 (circular dependency aborted here)
│   │   ├── googleapis-common-protos >=1.56.2,<2.0.dev0 
│   │   │   └── protobuf >=3.20.2,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0 
│   │   ├── proto-plus >=1.22.3,<2.0.0dev 
│   │   │   └── protobuf >=3.19.0,<6.0.0dev (circular dependency aborted here)
│   │   ├── protobuf >=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0 (circular dependency aborted here)
│   │   └── requests >=2.18.0,<3.0.0.dev0 
│   │       ├── certifi >=2017.4.17 
│   │       ├── charset-normalizer >=2,<4 
│   │       ├── idna >=2.5,<4 
│   │       └── urllib3 >=1.21.1,<3 
│   ├── google-auth >=1.19.0,<3.0.0dev (circular dependency aborted here)
│   ├── google-auth-httplib2 >=0.1.0 
│   │   ├── google-auth * (circular dependency aborted here)
│   │   └── httplib2 >=0.19.0 
│   │       └── pyparsing >=2.4.2,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.0.2 || >3.0.2,<3.0.3 || >3.0.3,<4 
│   ├── httplib2 >=0.15.0,<1dev (circular dependency aborted here)
│   └── uritemplate >=3.0.1,<5 
└── typing-extensions >=4.8.0

Is that correct?

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

latest

Environment details (OS name and version, etc.)

Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions