-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
name clash between (generated) conftest.py
and this in m4 macros
#39357
Comments
Sorry, I was not aware that configure writes files in the root directory. |
I've checked that in ./configure one has
in a lot of places; these So what we can do is to use a shell analog of Python Or perhaps tell pytest to look for conftest.py somewhere else, but I don't know how. |
Here is the answer I got on the autoconf mailing list: tl;dr; no luck fixing it and preserving the way we do things now. They suggest a split build - I'll try, but I'm not hopeful. |
No, of course, split build (running configure+make in a subdirectory) can't be done without (major?) changes of what we do now. How about going with a wrapper? Say, we have a script called Configure which makes a copy of configure.py, calls configure passing all the parameters, and finally restores configure.py ? |
@jhpalmieri - thanks for digging this up. It's a name clash between (generated)
conftest.py
used in checking Sage's Python, andconftest.py
introduced by this PR, and used bypytest
. It's probably a standard name forpytest
, so we'd need to renameconftest.py
in the macros used by./configure
. I'll try to fix this. @tobiasdiezOriginally posted by @dimpase in #39206 (comment)
The text was updated successfully, but these errors were encountered: