Closed mdickinson closed 2 years ago
- The stubs tests fail when run from an editable install, but are happy when run for a non-editable install
Do you know why?
Do you know why?
No, haven't entirely figured it out. I suspect the C extension of being a factor, though.
I'll do a bit of digging into the editable install failures before merging; if I can't figure out what's going on, I'll open an issue.
I'll do a bit of digging into the editable install failures before merging
The mypy complaints with the editable install all look legitimate, so the question now is: why is the editable install better at picking up the typing issues than the non-editable install.
Some of the problems being picked up are outside the direct stubs test files. Those should also eventually be fixed, but it may take us a while to get there.
I'll make a follow-up PR with the individual fixes needed.
This PR (targeting Traits 7.0) integrates the separate
traits-stubs
package into the maintraits
package. This will remove the need to make a separate release of the traits-stubs package every time we release the traits package.Notes:
typing-extensions
for Python 3.6 and Python 3.7Closes #1254