FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added info for getting compilation output from meson on autorebuild by story645 · Pull Request #27053 · matplotlib/matplotlib · GitHub

Added info for getting compilation output from meson on autorebuild - #27053

Merged
QuLogic merged 1 commit into
matplotlib:mainfrom
story645:meson-verbose
Oct 20, 2023
Merged

QuLogic merged 1 commit into
matplotlib:mainfrom
story645:meson-verbose

Conversation

Copy link
Copy Markdown
Member

PR summary

Added a short sentence/command for building with compilation logs enabled cause I figure it's gonna be a commonish need of anyone working with the c-extension files.

PR checklist

story645 added the Documentation: devdocs files in doc/devel label Oct 10, 2023
story645 force-pushed the meson-verbose branch 4 times, most recently from b258617 to 87faf31 Compare October 11, 2023 03:16

ksunden commented Oct 11, 2023

Copy link
Copy Markdown
Member

Personally, I think the env-var makes a lot more sense for the "I occasionally want to see the logs" pattern rather than setting it on install.

I'm also slightly weary of the "relatively recently" language here, as I don't particularly like putting time-sensitive verbiage in these docs (at least not in the past tense, less worried about things that "will change" and thus the docs need to be updated once it "has changed"), preferring the phrasing which does not make us have to either a) make a judgement call of when it should be removed before it is just untrue to call it "recent" or b) leave it untouched long enough for it to be unequivocally false. The phrasing of "before this commit" will remain true even if there is still a time where it is functionally irrelevant.

Copy link
Copy Markdown
Member Author

Personally, I think the env-var makes a lot more sense for the "I occasionally want to see the logs" pattern rather than setting it on install.

I really hate dealing with environment variables and am frequently going through a whole bunch of shells when working on anything. If I'm working with C++ files then I want the compilation logs in a way where I don't have to remember to set environment variables every time I open a new shell.

story645 force-pushed the meson-verbose branch 4 times, most recently from 790a2de to 07a86c8 Compare October 11, 2023 05:59

Copy link
Copy Markdown
Member Author

Edited to include the envar, remove recently, and make more explicit what folks should look for to figure out if their branch is meson enabled.

story645 force-pushed the meson-verbose branch 4 times, most recently from 41d9849 to 5ae036f Compare October 12, 2023 15:08
Comment thread doc/devel/development_setup.rst Outdated
re-run the above command.
This allows you to import your modified version of Matplotlib without having to
re-install after changing a ``.py`` or compiled extension file. On Windows, you
may need to :external+meson-python:ref:`vsenv-example`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why is this generating warnings?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

old headers - @QuLogic flagged this in #26992 (comment)

I'm adding this line b/c the default git install on windows requires MSYS2 but all our dependency instructions are for MSVC, so I figure I'm not gonna be the only one who will run into this issue.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

granted, I'll also go update the dependency instructions since I've got #27058 anyway

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure if that's a usual thing right now. On my current-version Git-for-Windows, Git Bash is in MSYS2, but there are no compilers installed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is there any harm in mentioning this as an option? This is 100% a thing I didn't think to think of until you mentioned it, & it's a sentence here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The move to troubleshooting seems good.

story645 marked this pull request as draft October 17, 2023 21:06
story645 marked this pull request as ready for review October 17, 2023 21:46

Copy link
Copy Markdown
Member Author

Reworked this so:

  1. editable config info is in a standalone subsection
  2. msvc info is in troubleshooting

story645 added this to the v3.9.0 milestone Oct 18, 2023
Comment thread doc/devel/troubleshooting.rst Outdated
Comment thread doc/devel/development_setup.rst Outdated
re-run the above command.
This allows you to import your modified version of Matplotlib without having to
re-install after changing a ``.py`` or compiled extension file. On Windows, you
may need to :external+meson-python:ref:`vsenv-example`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The move to troubleshooting seems good.

added force MSVC to troubleshooting
added meson-python to intersphinx

Co-authored-by: Kyle Sunden <git@ksunden.space>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
QuLogic merged commit ddf9163 into matplotlib:main Oct 20, 2023
story645 deleted the meson-verbose branch October 20, 2023 04:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: devdocs files in doc/devel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL