From 1be1ef10ae68e127a4dcde774c825cf9a4ca5935 Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Wed, 11 Dec 2024 20:53:00 -0500 Subject: [PATCH] Revert change to setup.py --- sdks/python/apache_beam/transforms/util.py | 1 + sdks/python/setup.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/transforms/util.py b/sdks/python/apache_beam/transforms/util.py index 9ea7f6e1dbdc..43d4a6c20e94 100644 --- a/sdks/python/apache_beam/transforms/util.py +++ b/sdks/python/apache_beam/transforms/util.py @@ -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( diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 2bac10b3e055..53c7a532e706 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -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',