Skip to content

Commit c06b1e5

Browse files
committed
Adjust bounds for envoy-data-plane
1 parent db0d4ce commit c06b1e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sdks/python/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ def get_portability_package_data():
375375
ext_modules=extensions,
376376
install_requires=[
377377
'cryptography>=39.0.0,<48.0.0',
378-
'envoy-data-plane>=1.0.3,<2',
378+
'envoy-data-plane>=1.0.3,<2; python_version >= "3.11"',
379+
'envoy-data-plane<0.3.0; python_version < "3.11"',
379380
'fastavro>=0.23.6,<2',
380381
'fasteners>=0.3,<1.0',
381382
'grpcio>=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,!=1.66.*,!=1.67.*,!=1.68.*,!=1.69.*,!=1.70.*', # pylint: disable=line-too-long
@@ -539,6 +540,7 @@ def get_portability_package_data():
539540
# hard requirement in setup.py.
540541
'dill',
541542
'tensorflow-transform',
543+
'protobuf<4; python_version<"3.11"',
542544
# Comment out xgboost as it is breaking presubmit python ml
543545
# tests due to tag check introduced since pip 24.2
544546
# https://github.com/apache/beam/issues/31285

0 commit comments

Comments
 (0)