This is an automated email from the ASF dual-hosted git repository. tvalentyn pushed a commit to branch tvalentyn-patch-11 in repository https://gitbox.apache.org/repos/asf/beam.git
commit 3721a21cbd6ad9430e51b86de192b901783f7e53 Author: tvalentyn <[email protected]> AuthorDate: Fri Mar 6 15:39:12 2026 -0800 Update tfrecordio.py This message is printed on every import of apache-beam, which is unnecessarily verbose. --- sdks/python/apache_beam/io/tfrecordio.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdks/python/apache_beam/io/tfrecordio.py b/sdks/python/apache_beam/io/tfrecordio.py index 073cbc1d211..faa925d2f1e 100644 --- a/sdks/python/apache_beam/io/tfrecordio.py +++ b/sdks/python/apache_beam/io/tfrecordio.py @@ -36,11 +36,6 @@ from apache_beam.transforms import PTransform try: import crcmod except ImportError: - logging.warning( - 'crcmod package not found. This package is required if ' - 'python-snappy or google-crc32c are not installed. To ensure crcmod is ' - 'installed, install the tfrecord extra: pip install ' - 'apache-beam[tfrecord]') crcmod = None __all__ = ['ReadFromTFRecord', 'ReadAllFromTFRecord', 'WriteToTFRecord']
