shunping opened a new pull request, #40178: URL: https://github.com/apache/beam/pull/40178
- **`gcsio.py`**: Guard `google-cloud-storage` imports behind a flag instead of failing at module import time when GCP extras are not installed. This allows `GCSFileSystem` to be imported and registered in `FileSystem.get_all_subclasses()`, deferring `RuntimeError` until `GcsIO` is instantiated without a client. - **`s3io.py`**: Explicitly import `boto3` inside the `try` block so `BOTO3_INSTALLED` is set to `False` when `boto3` is missing (previously `from apache_beam.io.aws.clients.s3 import boto3_client` succeeded even without `boto3`, so `BOTO3_INSTALLED` has no effect). fixes #37445 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
