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

Remove logic for optionally building Agg and TkAgg.#13075

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:masterfromanntzer:force-agg-tkagg
Nov 6, 2019

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedJan 1, 2019
edited
Loading

PR Summary

They are actually not optional (that's theforce = True setting which
overrides the OptionalBackendPackage logic), so just make them
SetupPackages and remove the corresponding (outdated) comments in
setup.cfg.template.

Builds on top of#13074 as the prose in setup.cfg.template is only true if we also remove windowing from there. [edit: that PR has been merged]

(The OptionalBackendPackage logic was also previously useful back when the default backend was selected at build time, but that's no longer the case.)

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzeranntzer added the Build labelJan 1, 2019
@anntzeranntzerforce-pushed theforce-agg-tkagg branch 2 times, most recently from2b3ba13 tod6aaaeeCompareJanuary 1, 2019 23:26
@tacaswell
Copy link
Member

Would it be better to actually make tkagg optional?

@tacaswelltacaswell added this to thev3.1 milestoneJan 3, 2019
@anntzer
Copy link
ContributorAuthor

It's been non-optional for years and no one complained; what would be the use case? Note that the build doesn't depend on any external headers or libraries.

@anntzer
Copy link
ContributorAuthor

(In fact I'm tempted toalso make the OSX backend non-optional if someone can verify whether the cocoa headers are always installed with xcode...)

@tacaswell
Copy link
Member

punting to 3.2 as it has conflicts, in non-critical, and the fiddly to make sure we got it right.

@anntzer
Copy link
ContributorAuthor

Rebased. Once again, note that always forcing the build of tkagg (which doesnot depend on the tk headers) has been the actual behavior for years now.

@QuLogic
Copy link
Member

It seems that moving Travis means I can't restart the broken build, so you'll have to rebase.

They are actually not optional (that's the `force = True` setting whichoverrides the OptionalBackendPackage logic), so just make themSetupPackages and remove the corresponding (outdated) comments insetup.cfg.template.
@anntzer
Copy link
ContributorAuthor

anntzer commentedNov 4, 2019
edited
Loading

rebased, build passes

@WeatherGod
Copy link
Member

WeatherGod commentedNov 4, 2019 via email

I remember something about someone having problems building matplotlibagainst a python that didn't have Tk. Could that be the reason why the codeis this way for TkAgg?
On Mon, Nov 4, 2019 at 6:14 AM Antony Lee ***@***.***> wrote: rebased — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#13075?email_source=notifications&email_token=AACHF6AW6OQXK4TQPDXGX3LQR772LA5CNFSM4GMYHJJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC64ZAA#issuecomment-549309568>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACHF6B3TLBCYRFOLV4JC63QR772LANCNFSM4GMYHJJQ> .

@anntzer
Copy link
ContributorAuthor

The tkagg build doesn't interact with tk at build time whatsoever since#6442. Quoting from that PR:

It is one way of building a manylinux wheel that can build on a basic Manylinux docker image (i.e. without tk -- this comment is mine), and then run with the TCL / Tk library installed on the installing user's machine.

Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

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

Seem reasonable. Should we want optional Agg at some point, we can always reintroduce it. For now this is a simplification of the setup code.

@QuLogicQuLogic merged commit5495b88 intomatplotlib:masterNov 6, 2019
@anntzeranntzer deleted the force-agg-tkagg branchNovember 6, 2019 10:00
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
v3.3.0
Development

Successfully merging this pull request may close these issues.

5 participants
@anntzer@tacaswell@QuLogic@WeatherGod@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp