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

Get rid of numpy.distutils #2149

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

serge-sans-paille
Copy link
Owner

Since numpy 1.26.0, numpy.distutils is being removed in python 3.12, let's try to have a solution that work for 3.12 and previous version without numpy.distutils.

Fix #2148

@serge-sans-paille serge-sans-paille force-pushed the fix/get-rid-of-numpy-distutils branch 13 times, most recently from 0ff15be to 3be9524 Compare October 15, 2023 13:40
validation suite is run through the command::
<http://pytest.org/latest/>`_ package to manage test cases.

All requirementsa r elisted in ``pythran/tests/requirements.txt``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
All requirementsa r elisted in ``pythran/tests/requirements.txt``.
All requirements are listed in ``pythran/tests/requirements.txt``.

Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked fine for SciPy, and the changes LGTM.

This adds a dependency on setuptools and get rids of references to
numpy.distutils and (part of) distutils.

Fix #2148
@serge-sans-paille serge-sans-paille force-pushed the fix/get-rid-of-numpy-distutils branch from 3be9524 to 5b76f66 Compare October 20, 2023 21:21
@serge-sans-paille serge-sans-paille merged commit 258ab9a into master Oct 20, 2023
17 checks passed
@serge-sans-paille
Copy link
Owner Author

Thanks @hroncok, @musicinmybrain and @rgommers for extra-testing this patch.

@reneeotten
Copy link

@serge-sans-paille would you please consider releasing a new version that contains these changes?

@serge-sans-paille
Copy link
Owner Author

@reneeotten : #2167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some tests still want numpy.distutils
4 participants