Skip to content

Commit 933c373

Browse files
authored
Remove direct grpcio dependency (#49)
1 parent af6c132 commit 933c373

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@ script = "build.py"
2828
dacite = "^1.6.0"
2929
# Due to grpcio binaries not supporting macOS ARM currently (see
3030
# https://github.com/grpc/grpc/issues/27506,
31-
# https://github.com/grpc/grpc/issues/28387, etc) we have to use non-binary. But
32-
# until Poetry 1.2 is released and
33-
# https://github.com/python-poetry/poetry/pull/5609 merged, we have to specify
34-
# the tarball instead.
35-
grpcio = [
36-
{ version = "^1.46.0", markers = "sys_platform != 'darwin' or platform_machine != 'arm64'" },
37-
{ url = "https://files.pythonhosted.org/packages/61/dd/d8eda79197a1275e06621850775c7bbf34a141ff92553754dde4e87d7551/grpcio-1.46.3.tar.gz", markers = "sys_platform == 'darwin' and platform_machine == 'arm64'" },
38-
]
31+
# https://github.com/grpc/grpc/issues/28387, etc) we would have to use
32+
# non-binary. But until Poetry 1.2 is released and
33+
# https://github.com/python-poetry/poetry/pull/5609 merged, it is not supported.
34+
# We cannot use a direct dependency because PyPI fails the upload.
35+
grpcio = "^1.46.3"
3936
protobuf = "^3.20.1"
4037
python = "^3.7"
4138
types-protobuf = "^3.19.21"

0 commit comments

Comments
 (0)