Skip to content

Commit

Permalink
EI-1502 Bump version of grpcio dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
captnz committed Jan 24, 2023
1 parent 6320f40 commit b3bcdc4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0


## [Unreleased]
- Updated the grpcio dependency to >=1.50.0

## [2.0.3] - 2022-12-13
- Fixed bug in the `update_channel` method of the `IoticsApi` Class. It now creates and initialises new instances of the APIs in order to correctly use an updated version of their methods.
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ python examples/search_twin_models.py
```


# FAQs

## Installing on Raspberry PI get: Import error GLIBC_2.33 not found

If you see this error running the exmaples on a Rapberry PI, the current workaround is to install Ubuntu for RPi which has a later version of glibc.

```bash
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version 'GLIBC_2.33' not found (required by /home/pi/work/starting/iotics-grpc-client-py/env/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so)
```



# Contributing


Expand Down
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = iotics-grpc-client
version = 2.0.3
version = 2.0.4
description = Iotics gRPC client library
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down Expand Up @@ -29,9 +29,7 @@ package_dir =
=src
install_requires =
googleapis-common-protos>=1.56.3
# pinned grpcio version to 1.44.0 to fix working on raspberry Pi
# c.f. https://stackoverflow.com/questions/71054519/glibc-2-33-not-found-in-raspberry-pi-python/72485013#72485013
grpcio==1.44.0
grpcio>=1.50.0

[options.extras_require]
dev =
Expand Down

0 comments on commit b3bcdc4

Please sign in to comment.