Abacn commented on code in PR #31219:
URL: https://github.com/apache/beam/pull/31219#discussion_r1595838041


##########
sdks/python/apache_beam/io/filesystems.py:
##########
@@ -35,28 +38,38 @@
 # pylint: disable=wrong-import-position, unused-import
 try:
   from apache_beam.io.hadoopfilesystem import HadoopFileSystem
-except ImportError:
+except ModuleNotFoundError:

Review Comment:
   Now I see,
   
   when the optional dependencies not installed -> ModuleNotFoundError -> No 
error as before
   
   when the dependency is installed, but persumably not installed correctly, 
some other ImportError (not ModuleNotFoundError), raise a warning



-- 
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]

Reply via email to