https://kedro.org/ logo
#questions
Title
# questions
р

Роман Белый

10/06/2023, 2:30 PM
Hey everyone! I'm trying to add kedro to my stack but have a dependency problem with antlr4-pytho3-runtime, which is required to be 4.9.3 and it is incompatible with many DS forecasting packages, that require it to be >=4.11, is it possible somehow to relax this requirement to install kedro?
n

Nok Lam Chan

10/06/2023, 2:39 PM
I am pretty sure Kedro doesn't have this pin, it may comes from secondary dependencies. Which forecasting libraries does it conflicts with?
And which version of kedro are you installing?
р

Роман Белый

10/06/2023, 2:44 PM
Thanks for fast reply! I have problems with kedro 18.13, which require omegaconf 2.3.0, which require antlr4-pytho3-runtime 4.9.3. I got compatibility problems with statsforecast
also new version of pandas require more recent version of antlr4-pytho3-runtime
n

Nok Lam Chan

10/06/2023, 2:47 PM
FYI I just check the dependencies come from OmegaConf
👍 1
р

Роман Белый

10/06/2023, 2:56 PM
I'll grateful for help. Just wanted to get my hands on kedro for new forecasting project which uses statsforecast functionality
j

Juan Luis

10/06/2023, 3:04 PM
hi @Роман Белый, we're aware of the issue, see discussion in https://github.com/omry/omegaconf/pull/1114 I'm a big fan of the Nixtla folks and I hope this gets sorted out soon. for now there's not much we can do
р

Роман Белый

10/06/2023, 3:08 PM
Thank's for pointing this info. Is there any estimate for this fix?
j

Juan Luis

10/06/2023, 3:10 PM
this is an external dependency and there's no final decision on how they want to fix it, unfortunately
👍 1
р

Роман Белый

10/06/2023, 3:26 PM
Hope, it solves soon...
Hey, @Juan Luis! Is there any update on the issue? I see that commit is still opened, but all checks are green.
j

Juan Luis

10/23/2023, 3:34 PM
hey @Роман Белый! yeah I see that PR is near merging, we're all waiting. in the meantime, you can try to do
Copy code
pip install "omegaconf @ git+<https://github.com/jlopezpena/omegaconf.git@antlr411>"
but you'll need Java and other things to compile OmegaConf from source
👍 1
р

Роман Белый

10/23/2023, 3:41 PM
@Juan Luis Thanks for hint! Should I compile it first and than install kedro on top? Or other way?
n

Nok Lam Chan

10/23/2023, 3:42 PM
I think kedro first and then omegaconf - or maybe you can install both in one step
this 1