Skip to content

Commit

Permalink
(fix) Added fix to avoid errors caused by the grpcio library inconsis…
Browse files Browse the repository at this point in the history
…tencies
  • Loading branch information
abel committed Oct 12, 2023
1 parent e6d9b92 commit e083c42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyinjective/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Import first api_implementation from protobuf to force the import of architecture specific dependencies
# If this is not imported, importing later grpcio (required by AsyncClient) fails in Mac machines with M1 and M2
from google.protobuf.internal import api_implementation # noqa: F401

from .async_client import AsyncClient # noqa: F401
from .transaction import Transaction # noqa: F401
from .wallet import Address, PrivateKey, PublicKey # noqa: F401
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "injective-py"
version = "0.10.dev2"
version = "0.10.dev3"
description = "Injective Python SDK, with Exchange API Client"
authors = ["Injective Labs <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit e083c42

Please sign in to comment.