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

MAINT: import setuptools before distutils in one np.random test #20419

Merged
merged 1 commit into from Nov 20, 2021

Conversation

charris
Copy link
Member

@charris charris commented Nov 20, 2021

Backport of #20409.

Related to #20408

One day distutils will go away and we will have to use the one from setuptools. Until then, importing setuptools first removes the deprecation warning.

@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Nov 20, 2021
@charris charris added this to the 1.22.0 release milestone Nov 20, 2021
@charris charris changed the title MAINT: import setuptools beforew distutils MAINT: import setuptools before distutils Nov 20, 2021
@charris charris changed the title MAINT: import setuptools before distutils MAINT: import setuptools before distutils in one np.random test Nov 20, 2021
@charris charris merged commit cf5b4a4 into numpy:maintenance/1.22.x Nov 20, 2021
@charris charris deleted the backport-20409 branch November 20, 2021 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 - Maintenance 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants