Upcoming Removal in Envisage

8 views
Skip to first unread message

Aaron Ayres

unread,
Apr 22, 2021, 11:57:33 AM4/22/21
to Enthought Tool Suite users

Dear ETS Users,

We recently have been looking into profiling the start up time of envisage based applications.  During that investigation, one thing that stood out was the code used to check for methods decorated with the ``contributes_to`` decorator.  We performed a GitHub search for users of this decorator and couldn’t find any.  The typically used alternative approach to using the decorator is to define traits with ``contributes_to`` metadata.  As a result, we are planning to remove the decorator in an upcoming envisage 6.0.0 release.  See relevant issue and pull request here: https://github.com/enthought/envisage/issues/399 and https://github.com/enthought/envisage/pull/402.  If you are currently using the ``contributes_to`` decorator we recommend migrating to use ``contributes_to`` metadata instead.

Please let us know if you run into any problems or of any concerns you have.

Reply all
Reply to author
Forward
0 new messages