Skip to content

Bump pgi requirement to 0.0.11.2. #11504

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2018
Merged

Bump pgi requirement to 0.0.11.2. #11504

merged 1 commit into from
Jul 13, 2018

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jun 25, 2018

This version of pgi fixes a bug in the calling of callbacks, which
affected timers in the GTK3 backends. Remove a special-casing in the
test suite accordingly (in test_backends_interactive.py).

(See pygobject/pgi#48.)

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 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

jklymak
jklymak previously approved these changes Jul 3, 2018
@jklymak jklymak dismissed their stale review July 3, 2018 17:13

Ooops, I guess this should pass the gtk test before it gets approved...

@anntzer anntzer force-pushed the pgi branch 3 times, most recently from 37fde73 to ae85dad Compare July 3, 2018 23:57
@anntzer
Copy link
Contributor Author

anntzer commented Jul 4, 2018

Now it's working...

# also necessary on gtk3 and wx, where a direct call to key_press_event("q")
# from draw_event causes breakage due to the canvas widget being deleted too
# early. Also, gtk3 redefines key_press_event with a different signature, so
# we directly invoke it from the superclass instead.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

xref #10836

This version of pgi fixes a bug in the calling of callbacks, which
affected timers in the GTK3 backends.  Remove a special-casing in the
test suite accordingly (in test_backends_interactive.py).
Copy link
Member

@tacaswell tacaswell left a comment

Choose a reason for hiding this comment

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

I am a bit wary of bumping all the way to the lastest version, but the previous release was in 2016 and this is a patch release from that so I am 👍 on this.

@tacaswell tacaswell added this to the v3.0 milestone Jul 8, 2018
@tacaswell tacaswell requested a review from QuLogic July 8, 2018 19:29
@tacaswell
Copy link
Member

attn @sandrotosi Is this going to be a problem for debian?

@anntzer
Copy link
Contributor Author

anntzer commented Jul 8, 2018

I don't actually recommend anyone to use pgi (nor does the pgi maintainer); the only real use case is to be installable on Travis with dockerizing the entire build.

@sandrotosi
Copy link
Contributor

thanks @tacaswell for pinging me! from the project description pgi is 'GTK+ / GObject Introspection Bindings for PyPy' - in debian we currently dont provide pypy packages for mpl, and we already have cairocffi in our dependencies, so i think we should be good here

@jklymak jklymak merged commit 721fc04 into matplotlib:master Jul 13, 2018
@anntzer anntzer deleted the pgi branch July 14, 2018 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants