From da61bbe04f6447dd354c6d40f697180289974412 Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Tue, 26 Mar 2024 14:00:07 +0100 Subject: [PATCH] update grpc and protobuf dependencies --- pyproject.toml | 4 ++-- setup.cfg | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a3bd9b7..917dcf22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,9 @@ # should match that of `grpcio` in `setup.cfg`. Actual code generation is done from within `setup.py` in a custom # Command class. requires = [ - "setuptools>=47.3.1", + "setuptools>=65.5.0", "wheel", - "grpcio-tools~=1.42.0", + "grpcio-tools~=1.62.0", "mypy-protobuf", "bandit==1.7.2", ] diff --git a/setup.cfg b/setup.cfg index 9bfd0137..64dfb20b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,8 +28,8 @@ package_dir = = src include_package_data = true python_requires = >= 3.8.3 install_requires = - grpcio ~= 1.42.0 # version number should match that of `grpcio-tools` in `pyproject.toml` - grpcio-tools ~= 1.42.0 # version number should match that of `grpcio-tools` in `pyproject.toml` + grpcio ~= 1.62.0 # version number should match that of `grpcio-tools` in `pyproject.toml` + grpcio-tools ~= 1.62.0 # version number should match that of `grpcio-tools` in `pyproject.toml` mypy-protobuf ~= 3.2.0 structlog ~= 20.1.0 colorama ~= 0.4.3 @@ -40,7 +40,7 @@ install_requires = APScheduler ~= 3.6.3 tabulate ~= 0.8.9 more_itertools ~= 8.5.0 - protobuf ~= 3.19.1 + protobuf ~= 4.21.6 requests ~= 2.0 lxml ~= 4.0 lxml-stubs ~= 0.4.0 @@ -61,8 +61,8 @@ dev = flake8-print flake8-rst # Allows run flake8 on code snippets in docstrings or rst files flake8-string-format - grpcio-tools ~= 1.42.0 # version number should match that of `grpcio-tools` in `pyproject.toml` - grpc-stubs >= 1.24.7 + grpcio-tools ~= 1.62.0 # version number should match that of `grpcio-tools` in `pyproject.toml` + grpc-stubs >= 1.53.0 pytest-grpc isort mypy >= 0.930, <= 1.0.1