PR #74090: Removing distutils leftover #17823
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #74090: Removing distutils leftover
Imported from GitHub PR tensorflow/tensorflow#74090
This aims to finish #58073. The patch is untested but follow https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html.
I did not touch the install scripts.
Thanks,
Copybara import of the project:
--
fe3c0659eb168dc155f7d579255953dfc89b1387 by Alexis Praga [email protected]:
Removing distutils leftover
--
57c24de0b367dd3ba78211f08ef4397014cff48f by Alexis Praga [email protected]:
Fix linter error
--
9476971caa2e5805cecdfcad9b0f5a7f0e331d9e by Alexis Praga [email protected]:
Correcting import order for linter
Shutil mainly
--
d74adacac6e544d75b6446d5565ec85bb4f25b6f by Alexis Praga [email protected]:
Fix conflict between sysconfig
__init__py has :
from tensorflow._api.v2 import sysconfig
which conflict with python sysconfig
Merging this change closes #74090
Reverts changelist a CL rolling back a previous version of this PR
FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74090 from apraga:no-distutil 52909d48fece0dec3c6b2e4b3673443bd83d46e3