Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 8b4fe67

Browse files
authored
Depend on grpcio<2, protobuf<4 (#275)
## What is the goal of this PR? We increased the flexibility of our dependency requirements. Any version of `grpcio < 2` and `protobuf < 4` are now acceptable. ## What are the changes implemented in this PR? We have previously had to do a new release of this client whenever someone depends on a different version of `grpcio` or `protobuf` in their project - in particular, even if they are depending on a _newer_ version. This is not a good experience for developers. Now, we accept any version that is _expected_ to be non-breaking.
1 parent 10ed57c commit 8b4fe67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333

3434
# IMPORTANT: Any changes to these dependencies should be copied to requirements_dev.txt.
3535
typedb-protocol==2.12.0
36-
grpcio>=1.43.0,<=1.44.0
37-
protobuf>=3.15.5,<=3.20.1
36+
grpcio>=1.43.0,<2
37+
protobuf>=3.15.5,<4

requirements_dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
## Dependencies
3232

3333
typedb-protocol==2.12.0
34-
grpcio>=1.43.0,<=1.44.0
35-
protobuf>=3.15.5,<=3.20.1
34+
grpcio>=1.43.0,<2
35+
protobuf>=3.15.5,<4
3636

3737

3838
# Dev dependencies (not required to use the typedb-client package, but necessary for its development)

0 commit comments

Comments
 (0)