-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
BUG: mesonpy embeds random path in .pyx files #19101
Comments
Thank you for the report @bmwiedemann. I agree that that can be considered a bug. The issue here stems from this line in defs.append(f"cdef extern from r"{proto_h_filename}":") where However, the more desirable fix here is to not install this header at all, since we don"t need it in the installed package. For why we currently install it, see: scipy/scipy/special/meson.build Lines 287 to 291 in f8036bc
|
In this case, we should be able to change |
There"s a bunch of other code gen scripts with |
to allow for reproducible builds even when (unneeded) .pyx files are installed and shipped in OS packages Fixes: #19101 This patch was done while working on reproducible builds for openSUSE.
to allow for reproducible builds even when (unneeded) .pyx files are installed and shipped in OS packages Fixes: scipy#19101 This patch was done while working on reproducible builds for openSUSE.
to allow for reproducible builds even when (unneeded) .pyx files are installed and shipped in OS packages Fixes: scipy#19101 This patch was done while working on reproducible builds for openSUSE.
Describe your issue.
While working on reproducible builds for openSUSE, I found that
our
python-scipy
1.11.1 package varies between builds. One of the reasons is that a random mesonpy path gets embedded incython_special.pyx
,_ufuncs_cxx.pyx
and_ufuncs.pyx
Reproducing Code Example
Error message
SciPy/NumPy/Python version and system information
The text was updated successfully, but these errors were encountered: