Skip to content
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

TST: Remove PySide < 2 and PyQt4 from CI #815

Merged
merged 2 commits into from
May 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ env:
matrix:
include:
- env: RUNTIME=3.6 TOOLKITS="null pyqt pyside2"
- env: RUNTIME=3.6 TOOLKITS="wx pyqt5"
- env: RUNTIME=3.6 TOOLKITS="wx"
- os: osx
env: RUNTIME=3.6 TOOLKITS="null pyqt5 pyqt pyside2"
env: RUNTIME=3.6 TOOLKITS="null pyqt pyside2"
- os: osx
env: RUNTIME=3.6 TOOLKITS="wx"
allow_failures:
- env: RUNTIME=3.6 TOOLKITS="wx pyqt5"
- env: RUNTIME=3.6 TOOLKITS="wx"
- os: osx
env: RUNTIME=3.6 TOOLKITS="wx"
fast_finish: true
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ environment:

matrix:
- RUNTIME: '3.6'
TOOLKITS: "null pyqt"
TOOLKITS: "null"
- RUNTIME: '3.6'
TOOLKITS: "wx pyside2 pyqt5"
TOOLKITS: "wx pyside2 pyqt"

matrix:
fast_finish: true
allow_failures:
- RUNTIME: '3.6'
TOOLKITS: "wx pyside2 pyqt5"
TOOLKITS: "wx pyside2 pyqt"

branches:
only:
Expand Down
12 changes: 4 additions & 8 deletions etstool.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
import click

supported_combinations = {
'3.5': {'pyside2', 'pyqt', 'pyqt5', 'null'},
'3.6': {'pyside2', 'pyqt', 'pyqt5', 'wx', 'null'},
'3.5': {'pyside2', 'pyqt', 'null'},
'3.6': {'pyside2', 'pyqt', 'wx', 'null'},
}

# Default Python version to use in the comamnds below if none is specified.
Expand All @@ -110,11 +110,9 @@
}

extra_dependencies = {
'pyside': {'pyside'},
# XXX once pyside2 is available in EDM, we will want it here
'pyside2': set(),
'pyqt': {'pyqt<4.12'}, # FIXME: build of 4.12-1 appears to be bad
'pyqt5': {'pyqt5'},
'pyqt': {'pyqt5'},
# XXX once wxPython 4 is available in EDM, we will want it here
'wx': set(),
'null': set()
Expand All @@ -128,10 +126,8 @@
}

environment_vars = {
'pyside': {'ETS_TOOLKIT': 'qt4', 'QT_API': 'pyside'},
'pyside2': {'ETS_TOOLKIT': 'qt4', 'QT_API': 'pyside2'},
'pyqt': {'ETS_TOOLKIT': 'qt4', 'QT_API': 'pyqt'},
'pyqt5': {'ETS_TOOLKIT': 'qt4', 'QT_API': 'pyqt5'},
'pyqt': {"ETS_TOOLKIT": "qt4", "QT_API": "pyqt5"},
'wx': {'ETS_TOOLKIT': 'wx'},
'null': {'ETS_TOOLKIT': 'null'},
}
Expand Down
3 changes: 1 addition & 2 deletions traitsui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
__requires__ = ["traits", "pyface>=6.0.0"]
__extras_require__ = {
"wx": ["wxpython>=4", "numpy"],
"pyqt": ["pyqt>=4.10", "pygments"],
"pyqt5": ["pyqt>=5", "pygments"],
"pyside": ["pyside>=1.2", "pygments"],
"pyside2": ["pyside2", "shiboken2", "pygments"],
"demo": ["configobj", "docutils"],
}