sberbank-ai-lab / LightAutoML

LAMA - automatic model creation framework
Apache License 2.0
887 stars 92 forks source link

Dependency conflict (library `dataclasses` with `python` >= 3.7) #119

Open VGODIE opened 2 years ago

VGODIE commented 2 years ago

I use python==3.8 and dvc == 2.9.3 in my project, however the addition of lightautoml package has broken the workflow with dvc. The following error occured: AttributeError: module 'typing' has no attribute '_ClassVar' I have searched what might be the cause and have found some close issues:

So, it is said that the problem is in library dataclasses which is inconsistent with python >= 3.7. And the suggested solution to it is to add conditional dependency: to only include dataclasses as a dependency if the python version is less than 3.7.

So my issue is about asking if it is possible to make such dependency change to let use later versions of python, dvc and lightautoml together ?