AnandInguva commented on PR #21968:
URL: https://github.com/apache/beam/pull/21968#issuecomment-1163288125

   > Can you clarify the part where you said that `BaseError` is using 
"DistutilsError under the hood, even though `DistutilsError` is being 
deprecated?
   > 
   > And what was the takeaway from testing the `setuptools` versions (where I 
was able to run `from setuptools.errors import DistutilsError` in setuptools 
versions is 49.2.1, 59.6.0, 60.8.1, but not for 62.0.0 or 62.1.0)? Was it to 
ensure overlapping coverage as we transition to `BaseError`?
   
   According to 
[PEP632](https://peps.python.org/pep-0632/#:~:text=Table%20of%20Contents-,Abstract,-The%20distutils%20module),
 setuptools has integrated a complete copy of the `distutils` from version 
[60.0.0](https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html).
 From this 
[release](https://github.com/pypa/setuptools/blob/9288c6f3f039bf51f997a99ae8766ed02ed92cda/setuptools/errors.py#L40),
 `BaseError` is defined to `BaseError = _distutils.DistutilsError`


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