From 77c6792388ad3e0ce5a5d8bfbb1fda7a6fa1e404 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Mon, 11 Feb 2019 11:22:50 +0100 Subject: [PATCH] Switch to testing qt backends using PySide2 on Travis. Perhaps it won't break every other release like PyQt5 does... --- .travis.yml | 8 ++++---- lib/matplotlib/tests/test_backends_interactive.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1dabe30ac54e..a4e10c60c720 100644 --- a/.travis.yml +++ b/.travis.yml @@ -146,10 +146,10 @@ install: python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' && echo 'PyGObject is available' || echo 'PyGObject is not available' - python -mpip install --upgrade pyqt5 && - python -c 'import PyQt5.QtCore' && - echo 'PyQt5 is available' || - echo 'PyQt5 is not available' + python -mpip install --upgrade pyside2 && + python -c 'import PySide2.QtCore' && + echo 'PySide2 is available' || + echo 'PySide2 is not available' python -mpip install --upgrade \ -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04 \ wxPython && diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index ad23abe3fc19..be33e566db69 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -21,8 +21,8 @@ def _get_testable_interactive_backends(): for deps, backend in [ (["cairo", "gi"], "gtk3agg"), (["cairo", "gi"], "gtk3cairo"), - (["PyQt5"], "qt5agg"), - (["PyQt5", "cairocffi"], "qt5cairo"), + (["matplotlib.backends.qt_compat"], "qt5agg"), + (["matplotlib.backends.qt_compat", "cairocffi"], "qt5cairo"), (["tkinter"], "tkagg"), (["wx"], "wx"), (["wx"], "wxagg"), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy