FS#65198 - [home-assistant] 0.104.2 should require python-yaml >= 5.2.0

Attached to Project: Community Packages
Opened by Luiz Ribeiro (luizribeiro) - Saturday, 18 January 2020, 20:07 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 29 January 2020, 10:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I just upgraded home-assistant to 0.104.2 and it stopped working. This is because python-yaml is still at 5.1.3 on the community repo.

We need to upgrade the python-yaml package to 5.2.0 and make that version explicitly defined on the home-assistant PKGBUILD.

`journalctl -u home-assistant` shows this:

pkg_resources.DistributionNotFound: The 'pyyaml>=5.2.0' distribution was not found and is required by homeassistant

Steps to reproduce:
1. Upgrade home-assistant to 0.104.2-1
2. systemctl restart home-assistant
3. See that it doesn't work anymore.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Wednesday, 29 January 2020, 10:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.104.3
Comment by Luiz Ribeiro (luizribeiro) - Sunday, 19 January 2020, 05:30 GMT
python-yaml has been upgraded to 5.3 on the community repo, so that is now fine.

home-assistant still doesn't work though:

pkg_resources.DistributionNotFound: The 'importlib-metadata>=1.3.0' distribution was not found and is required by homeassistant

Looks like we need to upgrade python-importlib-metadata, which has already been flagged as out of date.
Comment by Maxime Gauduin (Alucryd) - Sunday, 19 January 2020, 12:14 GMT
Just bumped importlib-metadata to 1.4.0.
Comment by Luiz Ribeiro (luizribeiro) - Sunday, 19 January 2020, 17:10 GMT
Thanks for the quick response! This has fixed home-assistant for me. We should be able to close this task.
Comment by Luiz Ribeiro (luizribeiro) - Sunday, 19 January 2020, 17:12 GMT
Btw, it may be worth it to address  FS#64963  as well. This package is still missing a required dependency on the PKGBUILD (python-aiohttp-cors).
Comment by Maxime Gauduin (Alucryd) - Wednesday, 29 January 2020, 10:08 GMT
Added in 0.104.3 :)

Loading...