You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upcoming 7.0 release would be a good time to make sure that the Envisage codebase has no compatibility issues with Python 3.11.
Currently known blockers:
When using PySide6, we currently depend on PySide6 < 6.4.0, and that's not available for Python 3.11. There's ongoing work in Pyface to remove this restriction.
The text was updated successfully, but these errors were encountered:
Working locally on macOS, I can run the test suite successfully on Python 3.11 if I have no GUI backend installed; that ends up skipping 5 tests. That's better than nothing, so we should probably update the workflow to run on Python 3.11 but without PySide6 installed.
And if I do install the most recent version of PySide6, I run into the known issue (enthought/pyface#1163):
File "/Users/mdickinson/.venvs/envisage/lib/python3.11/site-packages/pyface/ui/qt4/tasks/main_window_layout.py", line 29, in <module>
from .dock_pane import AREA_MAP
File "/Users/mdickinson/.venvs/envisage/lib/python3.11/site-packages/pyface/ui/qt4/tasks/dock_pane.py", line 31, in <module>
INVERSE_AREA_MAP = dict((int(v), k) for k, v in AREA_MAP.items())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mdickinson/.venvs/envisage/lib/python3.11/site-packages/pyface/ui/qt4/tasks/dock_pane.py", line 31, in <genexpr>
INVERSE_AREA_MAP = dict((int(v), k) for k, v in AREA_MAP.items())
^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'DockWidgetArea'
The upcoming 7.0 release would be a good time to make sure that the Envisage codebase has no compatibility issues with Python 3.11.
Currently known blockers:
The text was updated successfully, but these errors were encountered: