-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for arrays of strings #332
Conversation
Conda test failures seem unrelated, we need to add setuptools to the recipe since it's no longer implicit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable to me but I will defer to Zach here.
Do I just add setuptools to the run requirements in meta.yaml for this? |
Yes, but I would prefer we make a new PR for this as to be very clear when we modify build recipes. See our other python repos for example conda recipes (we added setuptools_scm gradually as we noticed these errors iirc) |
The changes here make sense in principle but this sort of thing really needs a unit test. For example, what about adding this new case to the parameterization in pytmc/pytmc/tests/test_xml_collector.py Lines 94 to 111 in c30a7c9
(just as one example) I wonder if there are other places in the test suite that make sense to extend to check the new feature. Perhaps it's worth adding something later in this test_xml_collector near where we check other kinds of "complex" arrays? I'm not exactly sure what this looks like in practice but the lack of testing is the thing that stands out most here. |
I like the tests you added a lot! I'm going to click "update branch" and if it passes we should merge this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good expansion of our IOC gen capabilities.
Meant to close #327. I made two small changes for this to work