GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-114505: Add missing header file dependencies by smontanaro · Pull Request #114513 · python/cpython Conversation
|
| $(srcdir)/Include/cpython/pthread_stubs.h \ | ||
| $(srcdir)/Include/cpython/pyatomic.h \ | ||
| $(srcdir)/Include/cpython/pyatomic_gcc.h \ | ||
| $(srcdir)/Include/cpython/pyatomic_msc.h \ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Isn't this Windows only? If so, we can probably discard it here in the *nix build.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I agree I was probably overzealous. I'm happy to have some extra dependencies, false positives being better than false negatives in this case. I'll correct my overzealousness.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Rhetorical question: Why don't we use GCC, CLANG, or other compilers' ability to generate include dependencies? I'm thinking stuff like gcc -M or clang -M.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Rhetorical question: Why don't we use GCC, CLANG, or other compilers' ability to generate include dependencies? I'm thinking stuff like
gcc -Morclang -M.
I guess just because the current build system has grown into something that is very hard to maintain, so people in general just try to make as few changes as possible, if any at all. Not to mention configure.ac.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| $(srcdir)/Include/codecs.h \ | ||
| $(srcdir)/Include/compile.h \ | ||
| $(srcdir)/Include/complexobject.h \ | ||
| $(srcdir)/Include/datetime.h \ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is for the datetime C API capsule. Perhaps this dependency should be more targeted.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Made the changes Erlend requested on MacOS. Pushed and will now test on Linux. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Any further inputs on this, or can it move toward acceptance and merging? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I don't have any more comments. The change looks good to me, although there is a merge conflict that needs to be resolved. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I don't understand how to fix that merge conflict. I moved the def'n of I've been chastised for merging from |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry about that. It looks like my PR added In my experience, merging "main" into the PR branch is okay. Sometimes people accidentally merge in the other direction and that can lead to a giant mess. @erlend-aasland might have better ideas, but my suggestion would be (if using git from the command line):
And then resolve the merge conflict (make sure that Let me know if you'd like help with it. I think I have permissions on GitHub to resolve the merge conflict and push to the branch, if you'd like me to do it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! I'll take a closer look at this, hopefully before the coming weekend is over. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Thanks. I followed your instructions and resolved the conflict in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
What's the status on this? I thought I'd resolved the conflicts a week ago. Should I start over? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll resolve the conflicts before landing.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Also move PYTHON_HEADERS up and make _testembed.o depend on it.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
test_embed failures after switching configure options due to missing Makefile dependencies
There was an error while loading. Please reload this page.