Skip to content

FIX: work with PyQt 5.15 - #17600

Merged
jklymak merged 1 commit into
matplotlib:masterfrom
tacaswell:mnt_more_qt515_fixes
Jun 15, 2020
Merged

FIX: work with PyQt 5.15#17600
jklymak merged 1 commit into
matplotlib:masterfrom
tacaswell:mnt_more_qt515_fixes

Conversation

@tacaswell

Copy link
Copy Markdown
Member

PR Summary

Two places where we used to pass floats that must now be integers.

This is to support PyQt 5.15.0

@tacaswell tacaswell added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. GUI: Qt labels Jun 9, 2020
@tacaswell tacaswell added this to the v3.2.2 milestone Jun 9, 2020
@tacaswell

Copy link
Copy Markdown
Member Author

I think this is actually unreleased change to sip, not PyQt / Qt.

@tacaswell
tacaswell force-pushed the mnt_more_qt515_fixes branch from 53e5aac to 5070830 Compare June 9, 2020 21:47
@tacaswell

Copy link
Copy Markdown
Member Author

The travis webhooks are miss-behaving, the non-nightly tests passed but not being reflected back on github.

@QuLogic QuLogic left a comment

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.

Not certain about round vs int, but type-wise, this makes sense.

Two places where we used to pass floats that must now be integers.
@jklymak
jklymak merged commit 1686a5a into matplotlib:master Jun 15, 2020
@lumberbot-app

lumberbot-app Bot commented Jun 15, 2020

Copy link
Copy Markdown

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
$ git checkout v3.2.x
$ git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
$ git cherry-pick -m1 1686a5aa5995fbe6fef44d7f2f7c847b1ac1fd5f
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
$ git commit -am 'Backport PR #17600: FIX: work with PyQt 5.15'
  1. Push to a named branch :
git push YOURFORK v3.2.x:auto-backport-of-pr-17600-on-v3.2.x
  1. Create a PR against branch v3.2.x, I would have named this PR:

"Backport PR #17600 on branch v3.2.x"

And apply the correct labels and milestones.

Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon!

If these instruction are inaccurate, feel free to suggest an improvement.

@tacaswell
tacaswell deleted the mnt_more_qt515_fixes branch June 16, 2020 00:19
tacaswell pushed a commit to tacaswell/matplotlib that referenced this pull request Jun 16, 2020
Merge pull request matplotlib#17600 from tacaswell/mnt_more_qt515_fixes

FIX: work with PyQt 5.15
Conflicts:
	lib/matplotlib/backends/backend_qt5.py
          - on this branch the blitting code is still in
            backend_qt5agg.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI: Qt Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants