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

[DO NO MERGE] Remove deprecated OSX checks#12252

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

Closed

Conversation

dstansby
Copy link
Member

(at least locally) thisfixes#12188 . All I have done is get rid of two deprecated functions,GetCurrentProcess, andSetFrontProcess. This seems to stop the bouncing. I guess that these need to be replaced with their modern alternatives, but I can't work out what they should be...

@dstansby
Copy link
MemberAuthor

Okay, so it turns out that this doesn't error properly on non-framework versions of python, so it looks like the check relies on trying to spawn a process usingGetCurrentProcess andSetFrontProcess.

@tacaswelltacaswell added this to thev3.0.x milestoneSep 24, 2018
@dstansbydstansby changed the titleRemove deprecated OSX checks[DO NO MERGE] Remove deprecated OSX checksSep 24, 2018
@QuLogicQuLogic modified the milestones:v3.0.x,unassignedSep 24, 2018
@dstansby
Copy link
MemberAuthor

For anyone following, it looks like we need to replace the lines I deleted with something fromhttps://developer.apple.com/documentation/appkit/nsrunningapplication

@tacaswelltacaswell modified the milestones:unassigned,v3.1,v3.0.xOct 4, 2018
@tacaswell
Copy link
Member

I assume there is some way to pick the code path based on the version of osx?

@dstansby
Copy link
MemberAuthor

Yes, there's some version checks at the top of the file that I think would work.

@dstansby
Copy link
MemberAuthor

Do we have a lowest-supported-version of OSX?

@jklymak
Copy link
Member

@dstansby: In#11850 I think we decided that we can't get rid of those deprecated functions. Sorry I should have kept better notes...

@tacaswell
Copy link
Member

We should be pretty not-aggressive about a minimum osx version. If you can get python 3.5 to run on it we should support it.

@jklymak
Copy link
Member

Closing in lieu of#12603 which now goes back to using the more modern checks...

dstansby reacted with thumbs up emoji

@QuLogicQuLogic modified the milestones:v3.0.1,unassignedOct 25, 2018
@dstansbydstansby deleted the osx-bouncing-icon branchOctober 25, 2018 08:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

matplotlib 3 pyplot on MacOS bounces rocket icon in dock
4 participants
@dstansby@tacaswell@jklymak@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp