kianelbo commented on a change in pull request #35977: URL: https://github.com/apache/spark/pull/35977#discussion_r837128782
########## File path: python/pyspark/ml/image.py ########## @@ -28,7 +28,7 @@ from typing import Any, Dict, List, NoReturn, Optional, cast import numpy as np -from distutils.version import LooseVersion +from packaging.version import Version Review comment: So copy and paste the Version module like cloudpickle, then? And if you are on board with this, I want to suggest that we use the current LooseVersion implementation. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org