From d0b4e3032cf70b37c738c6b593cdfb728c5c243a Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Tue, 31 May 2022 09:59:25 -0500 Subject: [PATCH] pin protobuf version (#10996) Fixes: #10990 This PR pins the` protobuf` version to the latest and chooses narrower pinning because of the lower likelihood of breaking API changes between minor patch versions as opposed to major version changes. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) --- conda/environments/cudf_dev_cuda11.5.yml | 2 +- conda/recipes/cudf/meta.yaml | 4 ++-- python/cudf/setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/environments/cudf_dev_cuda11.5.yml b/conda/environments/cudf_dev_cuda11.5.yml index 38a9da068cd..ad9986c3e27 100644 --- a/conda/environments/cudf_dev_cuda11.5.yml +++ b/conda/environments/cudf_dev_cuda11.5.yml @@ -62,7 +62,7 @@ dependencies: - dask-cuda - mimesis<4.1 - packaging - - protobuf + - protobuf>=3.20.1,<3.21.0a0 - nvtx>=0.2.1 - cachetools - transformers<=4.10.3 diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index b890c34f06a..8f1c1e41995 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -29,7 +29,7 @@ requirements: - {{ compiler('cxx') }} - sysroot_{{ target_platform }} {{ sysroot_version }} host: - - protobuf + - protobuf>=3.20.1,<3.21.0a0 - python - cython >=0.29,<0.30 - setuptools @@ -40,7 +40,7 @@ requirements: - rmm {{ minor_version }} - cudatoolkit {{ cuda_version }} run: - - protobuf + - protobuf>=3.20.1,<3.21.0a0 - python - typing_extensions - pandas >=1.0,<1.5.0dev0 diff --git a/python/cudf/setup.py b/python/cudf/setup.py index 4a5a0d2186f..9a30fde3121 100644 --- a/python/cudf/setup.py +++ b/python/cudf/setup.py @@ -38,7 +38,7 @@ "nvtx>=0.2.1", "packaging", "pandas>=1.0,<1.5.0dev0", - "protobuf", + "protobuf>=3.20.1,<3.21.0a0", "typing_extensions", ]