Skip to content

Commit

Permalink
Revert setup for now
Browse files Browse the repository at this point in the history
  • Loading branch information
caneff committed Sep 15, 2023
1 parent e1cc599 commit 8da3a7d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def cythonize(*args, **kwargs):
# Exclude 1.5.0 and 1.5.1 because of
# https://github.com/pandas-dev/pandas/issues/45725
dataframe_dependency = [
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<2.2;python_version>="3.8"',
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<1.6;python_version>="3.8"',
]


Expand Down Expand Up @@ -230,7 +230,7 @@ def get_portability_package_data():
language_level=3),
install_requires=[
'crcmod>=1.7,<2.0',
'orjson<3.9.3', # https://github.com/ijl/orjson/issues/415
'orjson>=3.9.7,<4',
# Dill doesn't have forwards-compatibility guarantees within minor
# version. Pickles created with a new version of dill may not unpickle
# using older version of dill. It is best to use the same version of
Expand All @@ -247,19 +247,25 @@ def get_portability_package_data():
'grpcio>=1.33.1,!=1.48.0,<2',
'hdfs>=2.1.0,<3.0.0',
'httplib2>=0.8,<0.23.0',
'js2py>=0.74,<1',
# numpy can have breaking changes in minor versions.
# Use a strict upper bound.
'numpy>=1.14.3,<1.25.0', # Update build-requirements.txt as well.
'objsize>=0.6.1,<0.7.0',
'packaging>=22.0',
'pymongo>=3.8.0,<5.0.0',
'proto-plus>=1.7.1,<2',
# use a tighter upper bound in protobuf dependency
# to make sure the minor version at job submission
# 1. Use a tighter upper bound in protobuf dependency to make sure
# the minor version at job submission
# does not exceed the minor version at runtime.
# To avoid depending on an old dependency, update the minor version on
# every Beam release, see: https://github.com/apache/beam/issues/25590
'protobuf>=3.20.3,<4.24.0',

# 2. Allow latest protobuf 3 version as a courtesy to some customers.
#
# 3. Exclude protobuf 4 versions that leak memory, see:
# https://github.com/apache/beam/issues/28246
'protobuf>=3.20.3,<4.25.0,!=4.0.*,!=4.21.*,!=4.22.0,!=4.23.*,!=4.24.0,!=4.24.1,!=4.24.2', # pylint: disable=line-too-long
'pydot>=1.2.0,<2',
'python-dateutil>=2.8.0,<3',
'pytz>=2018.3',
Expand Down

0 comments on commit 8da3a7d

Please sign in to comment.