Closed koaning closed 4 years ago
After installing tensorflow-text
we get this:
.
Ah, yeah right.... I thought you have used conditional imports when you made the dependency PR?! I completely forgot to mention that then (though, I vaguely remember I have mentioned it somewhere?!... I don't know where!). This certainly needs to be fixed.
It's also the transfromers.
@mkaze Yeah something went wrong here. I'm curious why the tests passed too. Probably good to iterate on both soonish. I might have time in a few hours to start working on this.
I'm curious why the tests passed too.
The answer is easy: because no test is run in dependencies
workflow; rather, just the package is installed. And that's for a good reason: if the package is not installed in full, the test suit could not be run (otherwise, it would report some failing tests due missing dependecies).
I suppose we could run some one-line import statements as an alternative. That's what we're interested in testing anyway.
If I have a new virtualenv with no
tensorflow-text
then we can still get silly import errors. Need to fix this.