Skip to content

Replace distutils.sysconfig.get_python_lib() with sysconfig.get_path('purelib') - python 3.10 support #51865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

yongtang
Copy link
Member

@yongtang yongtang commented Sep 7, 2021

This is part of the effort for #51776 to get python 3.10 support.
This PR replace distutils.sysconfig.get_python_lib() with sysconfig.get_path('purelib')
as distutils has been deprecated by python 3.10.

Note sysconfig has been available since python 3.2.

Signed-off-by: Yong Tang [email protected]

@google-ml-butler google-ml-butler bot added the size:S CL Change Size: Small label Sep 7, 2021
@google-cla google-cla bot added the cla: yes label Sep 7, 2021
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label Sep 7, 2021
@gbaned gbaned self-assigned this Sep 8, 2021
@gbaned
Copy link
Contributor

gbaned commented Oct 1, 2021

@yongtang Can you please resolve conflicts? Thanks!

@gbaned gbaned added stat:awaiting response Status - Awaiting response from author and removed awaiting review Pull request awaiting review labels Oct 1, 2021
…'purelib') - python 3.10 support

This is part of the effort for 51776 to get python 3.10 support.
This PR replace distutils.sysconfig.get_python_lib() with sysconfig.get_path('purelib')
as distutils has been deprecated by python 3.10.

Note sysconfig has been available since python 3.2.

Signed-off-by: Yong Tang <[email protected]>
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Oct 4, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Oct 4, 2021
@gbaned gbaned removed stat:awaiting response Status - Awaiting response from author ready to pull PR ready for merge process labels Oct 5, 2021
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Oct 6, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Oct 6, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Oct 6, 2021
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Oct 7, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Oct 7, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Oct 14, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Oct 22, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Nov 3, 2021
@gbaned
Copy link
Contributor

gbaned commented Nov 9, 2021

@yongtang Can you please resolve conflicts? Thanks!

@gbaned gbaned added stat:awaiting response Status - Awaiting response from author and removed ready to pull PR ready for merge process labels Nov 10, 2021
@gbaned
Copy link
Contributor

gbaned commented Nov 17, 2021

@yongtang Can you please resolve conflicts? Thanks!

@gbaned
Copy link
Contributor

gbaned commented Nov 30, 2021

@yongtang Any update on this PR? Please. Thanks!

@tensorflowbutler tensorflowbutler added the stale This label marks the issue/pr stale - to be closed automatically if no activity label Dec 17, 2021
@gbaned
Copy link
Contributor

gbaned commented Dec 31, 2021

@yongtang Any update on this PR? Please. Thanks!

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Status - Awaiting response from author label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes size:S CL Change Size: Small stale This label marks the issue/pr stale - to be closed automatically if no activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants