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

DOC: Update page to note installation for ninja library#29083

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

Conversation

jimmyshah
Copy link
Contributor

@jimmyshahjimmyshah commentedNov 5, 2024
edited
Loading

PR summary

At the sprints for PyData NYC, as I was setting up the repo for local development, I ran into an issue with installingninja directly from the dev requirements file. After chatting with@story645, she suggested I update the documentation and make a separate section to make external dependency onninja more clear.

This PR changes the docs page to add a new section for theninja external dependency, and removes it from the Python section. I also addedninja to the list of external dependencies in the documentation.

PR checklist

Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@jimmyshahjimmyshah changed the titleUpdate page to note installation for ninja libraryDOC: Update page to note installation for ninja libraryNov 5, 2024
@github-actionsgithub-actionsbot added the Documentation: devdocsfiles in doc/devel labelNov 5, 2024
story645
story645 previously requested changesNov 6, 2024
Copy link
Member

@story645story645 left a comment

Choose a reason for hiding this comment

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

The big thing I'm being nitpicky about is the order of bullets b/c ninja is mandatory and doc build dependencies not so much

@@ -212,7 +212,7 @@ Additionally, the following non-Python dependencies must also be installed local

* :ref:`c++ compiler<compile-dependencies>`
* :ref:`documentation build dependencies <doc-dependencies-external>`

* :ref:`ninja <ninja-dependencies>`
Copy link
Member

Choose a reason for hiding this comment

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

can you make this the first thing in the list since you need ninja before installing c++ -> basically mirroring the order in the dependencies file

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@story645 done!

@ksunden
Copy link
Member

I think my gut reaction is that Ninja is not special enough itsown section here. I will acknowledge that it is in a bit of an odd place in that it isreally an external (non-python) dependency, but they happen to package it on pypi, which is sometimes the most convenient place for Python users to get it.

My current leaning would be to put it in the "Compilers" section (perhaps with a section rename to e.g. "Compilers and external build tools" or similar) as really that is what it is.

timhoffm reacted with thumbs up emoji

@story645
Copy link
Member

story645 commentedNov 7, 2024
edited
Loading

My current leaning would be to put it in the "Compilers" section (perhaps with a section rename to e.g. "Compilers and external build tools" or similar) as really that is what it is.

@tacaswell suggested similar, only reason I suggested different section is b/c the compilers section is so rich w/ c++ compiler information. Which maybe:

  • Compilers and external build tools
    • compilers
    • ninja

But also if we're running that away with it, if@jimmyshah doesn't updated in a few days than I may just add a commit to this PR that makes those changes.

@jimmyshah
Copy link
ContributorAuthor

Apologies for the delay here, just catching up on this now. I'm having a little bit of trouble following the conversation:

If@story645 wants to push this through, also totally fine by me. I can try seeing this through as well, whatever works!

@story645
Copy link
Member

story645 commentedNov 19, 2024
edited
Loading

It's the one you linked to, those are the tools for building compiled extensions. And would much prefer that you do it if you're up for it!

jimmyshah reacted with thumbs up emoji

@jimmyshah
Copy link
ContributorAuthor

I implemented the feedback from the conversation above, let me know if I can do anything else. Thank you for guiding me through the PR@story645!

Copy link
Member

@story645story645 left a comment

Choose a reason for hiding this comment

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

minor nits to take advantage of sphinx crosslinking, thanks for your patience with this

@story645
Copy link
Member

Sorry for dropping the ball here@jimmyshah - do you have time to finish this up or can I take over?

@story645story645force-pushed theupdate-ninja-install-docs branch from1b9bcbb to9b77225CompareMarch 20, 2025 22:01
@story645
Copy link
Member

made the requested changes since "no ninja" has been coming up a bunch lately

@story645story645 dismissed theirstale reviewMarch 20, 2025 22:02

made the changes

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

Thanks all - this would have helped me recently when I was re-setting up my dev environment 😄

story645 reacted with laugh emoji
@QuLogicQuLogic added this to thev3.11.0 milestoneMar 21, 2025
@QuLogicQuLogic merged commita9dc9ac intomatplotlib:mainMar 21, 2025
22 checks passed
@QuLogicQuLogic moved this fromWaiting for author toMerged inFirst Time ContributorsMar 21, 2025
@QuLogic
Copy link
Member

Thanks@jimmyshah! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@story645story645story645 left review comments

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@dstansbydstansbydstansby approved these changes

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

Successfully merging this pull request may close these issues.

5 participants
@jimmyshah@ksunden@story645@QuLogic@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp