-
-
Notifications
You must be signed in to change notification settings - Fork 18.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
MAINT: small simplification of meson.build following best practices #54737
Conversation
Homebrew does not install a python link, just python3.
@@ -3,7 +3,6 @@ py.extension_module( | |||
['aggregations.pyx'], | |||
cython_args: ['-X always_allow_keywords=true'], | |||
include_directories: [inc_np, inc_pd], | |||
dependencies: [py_dep], |
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.
Can you do the same for pandas/_libs/meson.build
and pandas/_libs/tslibs/meson.build
?
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.
Unless I'm misunderstanding the request, these other meson.build
files do not contain the problematic construct.
Another cleanup I noticed in the context of the optimization discussion we had is that every extension right now picks up CFLAGS and CPPFLAGS, yet we only have one extension module that actually uses c++ (window/aggregations.pyx) Would be nice if we didn't mix those up (doesn't need to be done in this PR) |
thanks @dnicolodi |
…ild following best practices
This broke the windows builds |
Didn't CI pass on these changes? How does the build break? |
The windows builds didn't pass here either |
I see. I didn't notice the problem before this PR was merged. Sorry for the trouble. The issue is this:
This is the command that generates the version string in the |
If you need a quick resolution, can you please revert just the last commit in this PR, and not the whole thing? |
Curiously, the |
Ah sorry, didn't realize it was the Windows not the npdev that was failing. |
…andas-dev#54737) * MAINT: small simplification of meson.build following best practices * MAINT: remove comment about resolved issue * BUG: fix build with default Homebrew Python setup Homebrew does not install a python link, just python3.
…ctices" (pandas-dev#54802) * Revert "MAINT: small simplification of meson.build following best practices (pandas-dev#54737)" This reverts commit ca42994. * Update meson.build * Update meson.build --------- Co-authored-by: Thomas Li <47963215+lithomas1@users.noreply.github.com>
Just a couple of things I observed having a quick look at
meson.build
.