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
On Python 3.12, after installing mayavi using python -m pip install -e .[app] and python -m pip install pyside6, we see the following test failure
======================================================================
ERROR: test_mlab_scene_model_with_gui (mayavi.tests.test_garbage_collection.TestMayaviGarbageCollection.test_mlab_scene_model_with_gui)
Tests if MlabSceneModel with GUI can be garbage collected.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\rahul\github\mayavi\mayavi\tests\test_garbage_collection.py", line 62, in test_mlab_scene_model_with_gui
self.check_object_garbage_collected(create_fn, close_fn)
File "C:\Users\rahul\github\mayavi\tvtk\tests\common.py", line 58, in check_object_garbage_collected
object_weakref = do()
^^^^
File "C:\Users\rahul\github\mayavi\tvtk\tests\common.py", line 49, in do
obj = obj_create_fn()
^^^^^^^^^^^^^^^
File "C:\Users\rahul\github\mayavi\mayavi\tests\test_garbage_collection.py", line 60, in create_fn
return app.edit_traits()
^^^^^^^^^^^^^^^^^
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\has_traits.py", line 1811, in edit_traits
return view.ui(
^^^^^^^^
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\view.py", line 457, in ui
ui.ui(parent, kind)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\ui.py", line 234, in ui
self.rebuild(self, parent)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\toolkit.py", line 168, in ui_live
ui_live.ui_live(ui, parent)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_live.py", line 52, in ui_live
_ui_dialog(ui, parent, BaseDialog.NONMODAL)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_live.py", line 72, in _ui_dialog
BaseDialog.display_ui(ui, parent, style)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_base.py", line 294, in display_ui
ui.owner.init(ui, parent, style)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_live.py", line 103, in init
self.create_dialog(parent, style)
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_base.py", line 252, in create_dialog
self.control = control = _StickyDialog(self.ui, parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traitsui\qt\ui_base.py", line 135, in __init__
self.setLayout(layout)
TypeError: 'PySide6.QtWidgets.QWidget.setLayout' called with wrong argument types:
PySide6.QtWidgets.QWidget.setLayout(QVBoxLayout)
Supported signatures:
PySide6.QtWidgets.QWidget.setLayout(PySide6.QtWidgets.QLayout)
----------------------------------------------------------------------
On Python 3.12, after installing
mayavi
usingpython -m pip install -e .[app]
andpython -m pip install pyside6
, we see the following test failuretraitsui/traitsui/qt/ui_base.py
Lines 132 to 135 in b728d60
The text was updated successfully, but these errors were encountered: