Skip to content

Commit

Permalink
Revert change to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shunping committed Dec 12, 2024
1 parent c71ddaf commit 1be1ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions sdks/python/apache_beam/transforms/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,7 @@ def __init__(self, num_buckets=None):
generated.
"""
self.num_buckets = num_buckets if num_buckets else self._DEFAULT_NUM_BUCKETS

valid_buckets = isinstance(num_buckets, int) and num_buckets > 0
if not (num_buckets is None or valid_buckets):
raise ValueError(
Expand Down
3 changes: 1 addition & 2 deletions sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ def get_portability_package_data():
*get_portability_package_data()
]
},
#ext_modules=extensions,
ext_modules=[],
ext_modules=extensions,
install_requires=[
'crcmod>=1.7,<2.0',
'orjson>=3.9.7,<4',
Expand Down

0 comments on commit 1be1ef1

Please sign in to comment.