diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 67e32a404c..0133b6084d 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -109,6 +109,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip flit + python -m pip install -r protos/requirements/requirements_build.txt python -m pip install -r requirements/requirements_build.txt - name: Build API run: | diff --git a/protos/requirements/requirements_build.txt b/protos/requirements/requirements_build.txt new file mode 100644 index 0000000000..9bf89644a2 --- /dev/null +++ b/protos/requirements/requirements_build.txt @@ -0,0 +1,5 @@ +grpcio>=1.44.0,<1.48.0 +grpcio-tools>=1.44.0,<1.48.0 +protobuf>=3.20,<4 +wheel + diff --git a/protos/setup.py b/protos/setup.py index 9d66c3cce0..a7b6acbb7d 100644 --- a/protos/setup.py +++ b/protos/setup.py @@ -7,7 +7,7 @@ from setuptools import setup from setuptools.command.develop import develop -install_requires = ["grpcio==1.44.0", "grpcio-tools==1.44.0", "protobuf>=3.20,<4"] +install_requires = ["grpcio>=1.44.0,<1.48.0", "grpcio-tools>=1.44.0,<1.48.0", "protobuf>=3.20,<4"] # Get the long description from the README file HERE = os.path.abspath(os.path.dirname(__file__))