Skip to content

Commit

Permalink
Use PySide6 instead of PySide2 in CI testing (#1685)
Browse files Browse the repository at this point in the history
This PR changes the .[test] setup.py requirements to use PySide6 instead of PySide2 for Python3.8 and later, and removes the version constraint on the PySide install. We exclude Python 3.11, since the PySide6 eggs available on PyPI claim not to work on 3.11.

While we're here, we also clean up an outdated Sphinx version restriction.
  • Loading branch information
mdickinson committed Aug 9, 2022
1 parent d503424 commit e0c6008
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def get_long_description():
extras_require={
"docs": [
"enthought-sphinx-theme",
"Sphinx>=2.1.0,!=3.2.0",
"Sphinx>=2.1.0",
"sphinx-copybutton",
],
"test": [
Expand All @@ -313,9 +313,10 @@ def get_long_description():
"mypy",
"numpy",
"pyface",
"PySide2; python_version<'3.10'",
"PySide2; python_version < '3.8'",
"PySide6; python_version >= '3.8' and python_version < '3.11'",
"setuptools",
"Sphinx>=2.1.0,!=3.2.0",
"Sphinx>=2.1.0",
"traitsui",
],
"examples": [
Expand Down

0 comments on commit e0c6008

Please sign in to comment.