This is an automated email from the ASF dual-hosted git repository.
tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 8e0736ab304 Loosen GRPC requirements. (#37817)
8e0736ab304 is described below
commit 8e0736ab3045e8aa7939aff36aa1eaad66930f6d
Author: tvalentyn <[email protected]>
AuthorDate: Tue Mar 10 22:41:12 2026 -0700
Loosen GRPC requirements. (#37817)
* Loosen GRPC requirements.
* Change link to prevent throttling.
* Change link to prevent throttling.
---
.github/workflows/beam_PreCommit_GoPortable.yml | 2 ++
sdks/python/container/license_scripts/dep_urls_py.yaml | 4 ++--
sdks/python/setup.py | 5 +----
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/beam_PreCommit_GoPortable.yml
b/.github/workflows/beam_PreCommit_GoPortable.yml
index 1267ab60e3d..ccf9067c4b8 100644
--- a/.github/workflows/beam_PreCommit_GoPortable.yml
+++ b/.github/workflows/beam_PreCommit_GoPortable.yml
@@ -38,6 +38,8 @@ env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
+ # TODO(https://github.com/grpc/grpc/issues/37710): Remove once fixed.
+ GRPC_ENABLE_FORK_SUPPORT: '0'
# Setting explicit permissions for the action to avoid the default permissions
which are `write-all` in case of pull_request_target event
permissions:
diff --git a/sdks/python/container/license_scripts/dep_urls_py.yaml
b/sdks/python/container/license_scripts/dep_urls_py.yaml
index 8975bc67a2d..658c130e698 100644
--- a/sdks/python/container/license_scripts/dep_urls_py.yaml
+++ b/sdks/python/container/license_scripts/dep_urls_py.yaml
@@ -116,7 +116,7 @@ pip_dependencies:
oauth2client:
license:
"https://raw.githubusercontent.com/googleapis/oauth2client/master/LICENSE"
orjson:
- license: "https://github.com/ijl/orjson/raw/master/LICENSE-APACHE"
+ license:
"https://raw.githubusercontent.com/ijl/orjson/master/LICENSE-APACHE"
pandas:
license:
"https://raw.githubusercontent.com/pandas-dev/pandas/master/LICENSE"
pathlib2:
@@ -135,7 +135,7 @@ pip_dependencies:
pyhamcrest:
license:
"https://raw.githubusercontent.com/hamcrest/PyHamcrest/master/LICENSE.txt"
pyjsparser:
- license: "https://github.com/PiotrDabkowski/pyjsparser/blob/master/LICENSE"
+ license:
"https://raw.githubusercontent.com/PiotrDabkowski/pyjsparser/refs/heads/master/LICENSE"
pymongo:
license:
"https://raw.githubusercontent.com/mongodb/mongo-python-driver/master/LICENSE"
milvus-lite:
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index 81e8acb82de..1b5e086d35a 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -381,10 +381,7 @@ if __name__ == '__main__':
'envoy-data-plane<0.3.0; python_version < "3.13"',
'fastavro>=0.23.6,<2',
'fasteners>=0.3,<1.0',
-
'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.*,!=1.71.*,!=1.72.*,!=1.73.*,!=1.74.*,!=1.75.*,!=1.76.*,!=1.77.*,!=1.78.0;
python_version <= "3.12"', # pylint: disable=line-too-long
- # TODO(https://github.com/grpc/grpc/issues/37710): Consolidate bounds
- # across python versions once 1.78.1 is avaliable.
- 'grpcio>=1.67.0,<2; python_version >= "3.13"',
+
'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
'httplib2>=0.8,<0.32.0',
'jsonpickle>=3.0.0,<4.0.0',
# numpy can have breaking changes in minor versions.