Closed AlifCor closed 2 years ago
@AlifCor This is a little tricky, but in this case the error is actually caused by the versions of featuretools
and nlp-primitives
that are getting installed, and not an incompatibility between EvalML and Featuretools.
If you want to use a version of Featuretools <1.16.0
you also need to downgrade your installed version of nlp-primitives
to be <2.9.0
and everything should work fine.
@AlifCor After some further discussion, we decided to go ahead with your suggestion and bump the minimum Featuretools version to 0.16.0
. This change will be included in the next release of EvalML and will resolve this issue.
Thank you for reporting this and bringing it to our attention!
Problem
The current version constraint for Featuretools is
featuretools >= 1.7.0, < 1.17.0
. However, it seems that EvalML is not compatible with Featuretools < 1.16.0.The following error is raised when importing the latest version of EvalML with Featuretools < 1.16.0 (1.7.0, 1.14.0 and 1.15.0 have been tried):
Reproducible example
Suggested fix
Enforcing Featuretools >= 1.16.0 in setup.cfg
Possible work-around for users
When installing EvalML, your dependency manager (e.g. Poetry) might resolve Featuretools to a version older than 1.16.0 (which happened to me in a complex project with many dependencies). In that case, you can explicitly add Featuretools >= 1.16.0 to your dependencies to force a compatible version. See the following
pyproject.toml
example for Poetry: