Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 1 commit intomatplotlib:mainfromstory645:meson-verbose
Oct 20, 2023

Conversation

story645
Copy link
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

@story645story645 added the Documentation: devdocsfiles in doc/devel labelOct 10, 2023
@story645story645force-pushed themeson-verbose branch 4 times, most recently fromb258617 to87faf31CompareOctober 11, 2023 03:16
@ksunden
Copy link
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.

story645 reacted with thumbs up emoji

@story645
Copy link
MemberAuthor

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.

@story645story645force-pushed themeson-verbose branch 4 times, most recently from790a2de to07a86c8CompareOctober 11, 2023 05:59
@story645
Copy link
MemberAuthor

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.

@story645story645force-pushed themeson-verbose branch 4 times, most recently from41d9849 to5ae036fCompareOctober 12, 2023 15:08
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
Member

Choose a reason for hiding this comment

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

Why is this generating warnings?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

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
MemberAuthor

Choose a reason for hiding this comment

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

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

Copy link
Member

Choose a reason for hiding this comment

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

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
MemberAuthor

Choose a reason for hiding this comment

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

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
Member

Choose a reason for hiding this comment

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

The move to troubleshooting seems good.

story645 reacted with laugh emoji
@story645story645 marked this pull request as draftOctober 17, 2023 21:06
@story645story645 marked this pull request as ready for reviewOctober 17, 2023 21:46
@story645
Copy link
MemberAuthor

Reworked this so:

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

@story645story645 added this to thev3.9.0 milestoneOct 18, 2023
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
Member

Choose a reason for hiding this comment

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

The move to troubleshooting seems good.

story645 reacted with laugh emoji
added force MSVC to troubleshootingadded meson-python to intersphinxCo-authored-by: Kyle Sunden <git@ksunden.space>Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@QuLogicQuLogic merged commitddf9163 intomatplotlib:mainOct 20, 2023
@story645story645 deleted the meson-verbose branchOctober 20, 2023 04:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell left review comments

@QuLogicQuLogicQuLogic approved these changes

Assignees
No one assigned
Labels
Documentation: devdocsfiles in doc/devel
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

4 participants
@story645@ksunden@tacaswell@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp