Skip to content

Conversation

@corranwebster
Copy link
Contributor

@corranwebster corranwebster commented Feb 22, 2022

This PR removes the various uses of Enable and Chaco from the TraitsUI codebase. This simplifies the testing dependencies significantly.

Specifically:

  • removes an integration test that was not working and had not been for some considerable time
  • moves another integration test to Enable that ensures the Enable ColorTrait values work in TableEditors with ColorColumns (see Add integration tests from TraitsUI enable#892 for the corresponding Enable PR).
  • changes an example that used a Chaco plot to demonstrate controlling the size of a group to instead use a CodeEditor.
  • removes Chaco and Enable as dependencies in the relevant places in tests.

Fixes #1793 and fixes #1139

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

This test has imports from enable and kiva that don't resolve, and is
otherwise testing things that are already tested elsewhere in TraitsUI,
Kiva and Enable.
This is a test that checks that Enable ColorTraits work with the ColorColumn
in the TableEditor.
Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

size-controlled) in the larger View. Sometimes it is necessary to repeat such
surgery at several levels to get the desired layout.
We separate the left and right groups by a splitter (HSplit), and also
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested the example and it works as expected

@corranwebster corranwebster merged commit 9d05dfc into main Feb 23, 2022
@corranwebster corranwebster deleted the fix/remove-enable-dependencies branch February 23, 2022 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move integration tests that depend on enable to enable Consider replacing chaco and enable with lighter dependency in example

2 participants