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
DOC, MAINT: more distutils/build cleanups #19390
DOC, MAINT: more distutils/build cleanups #19390
Conversation
* remove some modules in `_build_utils` that don't seem relevant now that we use `meson` exclusively * update the detailed roadmap to remove the mention of removing support for `numpy.distutils` (it is true that there are still `meson` things to do of course, but `setup.py` is gone now) * the paragraph about Pythran in the detailed roadmap was also deleted--it is no longer an optional dep [skip cirrus]
doc/source/dev/roadmap-detailed.rst
Outdated
@@ -75,15 +67,6 @@ NumPy C API (by Cython, everything in SciPy was fixed) will disappear. Then we | |||
can define ``NPY_NO_DEPRECATED_API`` unconditionally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this also happened. Not relevant but just saying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 99% there, but it's only fully true if we drop Cython 2.x and then update our use of numpy_nodepr_api
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, thanks Tyler. Maybe restore the Pythran bit in the roadmap, updating it to mention -Duse-pythran=false
, and then merge it?
``SCIPY_USE_PYTHRAN=0``. The aim is to make it a hard dependency - for that to | ||
happen it must be clear that the maintenance burden is low enough (Meson will | ||
help here, because it removes the monkey patching that is now done to enable | ||
Pythran). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually still optional - it can be disabled with -Duse-pythran=false
instead of the old env var.
doc/source/dev/roadmap-detailed.rst
Outdated
@@ -75,15 +67,6 @@ NumPy C API (by Cython, everything in SciPy was fixed) will disappear. Then we | |||
can define ``NPY_NO_DEPRECATED_API`` unconditionally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 99% there, but it's only fully true if we drop Cython 2.x and then update our use of numpy_nodepr_api
.
'pathf95': ['-i8'], # PathScale Fortran compiler | ||
'pg': ['-i8'], # Portland Group Fortran Compiler | ||
'flang': ['-i8'], # Portland Group Fortran LLVM Compiler | ||
'sun': ['-i8'], # Sun or Forte Fortran 95 Compiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole file seems fine to remove indeed - when we need it, we can dig it up from the 1.11.x branch.
* restore/update the Pythran roadmap content based on reviewer feedback [skip cirrus]
Ok, I tried to restore/update the Pythran part of the roadmap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, in it goes. Thanks Tyler, and thanks Ilhan for the review.
remove some modules in
_build_utils
that don't seem relevant now that we usemeson
exclusively (it may be possible that a subset of the ideas get reused for ilp64 support in meson (?), but I suspect that will use meson idioms instead)update the detailed roadmap to remove the mention of removing support for
numpy.distutils
(it is true that there are stillmeson
things to do of course, butsetup.py
is gone now)the paragraph about Pythran in the detailed roadmap was also deleted--it is no longer an optional dep
[skip cirrus]