Closed mdickinson closed 2 years ago
I can reproduce locally on macOS with python etstool.py install --toolkit=pyside2 --source
followed by python etstool.py test --toolkit=pyside2
. Investigating further to figure out what changed.
figure out what changed
From bisecting, the offending change appears to be this one in Traits: https://github.com/enthought/traits/commit/d056140bcd290992d91a86746ff103c3aa8e7e24
The cause was that the two pickle files we were using in tests expected to import TraitListObject
from traits.trait_handlers
instead of from its newer location of traits.trait_list_object
. Traits PR enthought/traits#1634 removed the import of TraitListObject
in traits.trait_handlers
. The quick fix is simply to regenerate those pickle files.
We might want to consider keeping the trait_handlers
imports, for the benefit of older pickles.
The
test_layout_load
andtest_layout_load
tests fail with latest ETS packages; this is causing our CI cron job to fail. Here are the tracebacks: