OpenVoiceOS/ovos-bus-client

Bump dependency that restricts version of PyYAML

mikejgray opened this issue · 8 comments

https://github.com/mikejgray/home-assistant-core/actions/runs/5021032857/jobs/9003050374

In order to create the Home Assistant OVOS integration, we need to be able to use PyYAML >= 6.0. At best we currently get 5.4.1.

ovos-config has the proper version constraint so I have to assume the issue is ovos-utils.

ovos-config has the proper version constraint so I have to assume the issue is ovos-utils.

If you want to get PyYAML 6.0 from ovos-config with ovo-utils you will have to install it with the extras.

ovos-config has the proper version constraint so I have to assume the issue is ovos-utils.

If you want to get PyYAML 6.0 from ovos-config with ovo-utils you will have to install it with the extras.

Thanks @goldyfruit , do you mean install ovos-utils with extras, or ovos-config with extras?

@NeonDaniel you had some concerns when i wanted to bump yaml version, not sure why that was the case anymore

ovos-config has the proper version constraint so I have to assume the issue is ovos-utils.

If you want to get PyYAML 6.0 from ovos-config with ovo-utils you will have to install it with the extras.

Thanks @goldyfruit , do you mean install ovos-utils with extras, or ovos-config with extras?

pip install ovos-utils[extras]

@NeonDaniel you had some concerns when i wanted to bump yaml version, not sure why that was the case anymore

Main concern was validating backwards-compat. I'll see if I can bump any neon packages using ~=5.4 today though

Thanks @NeonDaniel , because installing with [extras] didn't help here

INFO: pip is looking at multiple versions of ovos-utils[extras] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install ovos-utils[extras]==0.0.32 and pexpect==4.6.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pexpect==4.6.0
    ovos-utils[extras] 0.0.32 depends on pexpect~=4.8
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

ovos-utils[extras] no longer required and ovos-config now supports pyyaml>5.4,<7.0