Skip to content
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

Initial removal usage of distutils and replacement with setuptools #63309

Merged
merged 6 commits into from
Dec 20, 2022

Conversation

dmurphy18
Copy link
Contributor

What does this PR do?

Removes use of distutils and replaces its usage with setuptools

What issues does this PR fix or reference?

Fixes: #60476

Previous Behavior

Code leveraged disutils and distutils.sysconfig and it's get_python_lib

New Behavior

Code leverages setuptools and sysconfig get_path("purelib")

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@dmurphy18 dmurphy18 requested a review from a team as a code owner December 13, 2022 02:11
@dmurphy18 dmurphy18 requested review from waynew and removed request for a team December 13, 2022 02:11
@dmurphy18 dmurphy18 changed the title [Draft] Initial removal usage of distutils and replacement with setuptools Initial removal usage of distutils and replacement with setuptools Dec 16, 2022
@Ch3LL Ch3LL added the Sulfur v3006.0 release code name and version label Dec 16, 2022
@Ch3LL Ch3LL requested a review from s0undt3ch December 16, 2022 19:13
.pre-commit-config.yaml Show resolved Hide resolved
requirements/static/pkg/py3.6/linux.txt Show resolved Hide resolved
requirements/static/pkg/py3.6/linux.txt Show resolved Hide resolved
salt/version.py Show resolved Hide resolved
setup.py Show resolved Hide resolved
setup.py Show resolved Hide resolved
@waynew waynew added this to the Sulphur v3006.0 milestone Dec 16, 2022
@dmurphy18 dmurphy18 requested a review from Ch3LL December 16, 2022 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] distutils is deprecated and slated for removal in python3.12
5 participants