Skip to content

Commit 14ba51d

Browse files
committed
Remove branching by Python version.
1 parent 767c601 commit 14ba51d

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

sdks/python/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
requires = [
2222
"setuptools",
2323
"wheel>=0.36.0",
24-
"grpcio-tools==1.62.1; python_version <= '3.12'",
25-
"grpcio-tools==1.71.0; python_version >= '3.13'",
24+
"grpcio-tools==1.71.0",
2625
"mypy-protobuf==3.5.0",
2726
# Avoid https://github.com/pypa/virtualenv/issues/2006
2827
"distlib==0.3.9",

sdks/python/setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,7 @@ def get_portability_package_data():
375375
ext_modules=extensions,
376376
install_requires=[
377377
'cryptography>=39.0.0,<48.0.0',
378-
# reconcile envoy-data-plane dependency for python < 3.12 and >= 3.13
379-
# when grpcio unpinned, check for protobuf version compatibility
380-
'envoy-data-plane>=1.0.3,<2; python_version >= "3.13"',
381-
'envoy-data-plane<0.3.0; python_version < "3.13"',
378+
'envoy-data-plane>=1.0.3,<2',
382379
'fastavro>=0.23.6,<2',
383380
'fasteners>=0.3,<1.0',
384381
'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

0 commit comments

Comments
 (0)