Skip to content

DOC: Adjust build command for building with meson #53392

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

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

lithomas1
Copy link
Member

Change default command to show verbose output, as discussed during the dev call.

Otherwise, it might be confusing for users when the import hangs and their CPU goes to 100% during the rebuild step.

cc @ngoldbaum

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Change default command to show verbose output.

Otherwise, it might be confusing for users when the import hangs and their CPU goes to 100% during the rebuild step.
@lithomas1 lithomas1 added the Docs label May 25, 2023
@ngoldbaum
Copy link
Contributor

Tested this and now I get verbose output when importing pandas triggers meson to do things.

@lithomas1 lithomas1 added this to the 2.1 milestone May 26, 2023
# By default, this will print verbose output
# showing the "rebuild" taking place on import (see section below for explanation)
# If you do not want to see this, omit everything after --no-build-isolation
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow unrelated to the changes here, but when I pip install -e . I need to call Python from the same directory where I call pip install. So, what I do is pip install -e $(pwd) which adds the current package to the environment regardless of the current directory. Is people just happy to call python always from the pandas directory, or am I missing something? I feel that suggesting $(pwd) here in the docs could be better if the same happens to everyone.

@lithomas1 lithomas1 merged commit ea394ec into pandas-dev:main Jun 2, 2023
@lithomas1 lithomas1 deleted the update-meson-docs branch June 2, 2023 17:02
topper-123 pushed a commit to topper-123/pandas that referenced this pull request Jun 5, 2023
Change default command to show verbose output.

Otherwise, it might be confusing for users when the import hangs and their CPU goes to 100% during the rebuild step.
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
Change default command to show verbose output.

Otherwise, it might be confusing for users when the import hangs and their CPU goes to 100% during the rebuild step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants