diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 9a45d287d49..9a82c2579ad 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -354,8 +354,12 @@ def get_portability_package_data(): 'cloudpickle~=2.2.1', 'fastavro>=0.23.6,<2', 'fasteners>=0.3,<1.0', - # TODO(https://github.com/grpc/grpc/issues/37710): Unpin grpc - 'grpcio>=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,<1.66.0', # pylint: disable=line-too-long + # NOTE(https://github.com/grpc/grpc/issues/37710): + # Some grpc 1.66.0+ versions have a regression, + # which might not be reproducible in newer versions. + # internal bug number: 372274680 + # external issue: https://github.com/grpc/grpc/issues/37710 + 'grpcio>=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1', # pylint: disable=line-too-long 'hdfs>=2.1.0,<3.0.0', 'httplib2>=0.8,<0.23.0', 'jsonschema>=4.0.0,<5.0.0', diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index 25d44259fd7..8b6bb5df6c5 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -162,6 +162,12 @@ deps = pylint==2.17.5 isort==4.2.15 flake8==4.0.1 +# https://github.com/grpc/grpc/issues/37660: ignore pip check +commands_pre = + python --version + pip --version + # pip check + bash {toxinidir}/scripts/run_tox_cleanup.sh commands = pylint --version time {toxinidir}/scripts/run_pylint.sh