Skip to content

Commit

Permalink
Generate embedded_assistant_pb2 with latest protoc
Browse files Browse the repository at this point in the history
This is to allow using a newer version of protobuf dependency
  • Loading branch information
tronikos committed Dec 9, 2022
1 parent cab6be6 commit f73ec07
Show file tree
Hide file tree
Showing 9 changed files with 662 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .

# Generate embedded_assistant_pb2.py and embedded_assistant_pb2_grpc.py
python -m pip install grpcio-tools
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. google/assistant/embedded/v1alpha2/embedded_assistant.proto

# Run lint
python -m pip install flake8
flake8 gassist_text tests --count --select=E9,F63,F7,F82 --show-source --statistics
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
[project]
name = "gassist-text"
version = "0.0.3"
version = "0.0.4"
authors = [
{ name="tronikos", email="tronikos@gmail.com" },
]
description = "A Python library for interacting with Google Assistant API via text"
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"google-assistant-grpc==0.3.0",
"google-auth<3,>=0.3.0",
"protobuf<4,>=3.8.0",
"grpcio<2,>=1.50.0",
"protobuf<5,>=3.20.0",
"requests<3,>=2.20.0",
]

[dependencies]

[project.urls]
"Homepage" = "https://github.com/tronikos/gassist_text"
"Bug Tracker" = "https://github.com/tronikos/gassist_text/issues"
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Loading

0 comments on commit f73ec07

Please sign in to comment.