Skip to content

Conversation

@eddybl
Copy link

@eddybl eddybl commented Aug 8, 2024

This PR resolves issues with distutils, which is deprecated/removed with Python 3.12 and numpy.distutils which is deprecated/removed with newer numpy versions.

This fixes #35

I ran tests to compare the output for Python 3.8, Python 3.11 and Python 3.12. For Python 3.11 and Python 3.12 I also tested with numpy 1.26 and numpy 2.0

The output with the changes in this PR were consistent with previous output, but now also provides the correct information regarding the numpy include path for Python3.12/numpy1.26/numpy2.0

So far I have not tested this for Python versions smaller 3.8

@eddybl
Copy link
Author

eddybl commented Oct 29, 2025

So if I was able to follow the various different workflows, the changes from this PR were included in #40 and now are also part of #43, so I assume we can close this PR

@tynanford
Copy link
Collaborator

Hi @eddybl yes that is correct, I thought it would be easiest to have one single PR for the python and numpy support fixes. Thanks!

@tynanford tynanford closed this Oct 29, 2025
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.

numpy detection issue on python 3.12

2 participants