FS#76961 - [home-assistant] fails to start when python-pyroute2-0.7.3-1 package is installed

Attached to Project: Community Packages
Opened by Daniel Kessler (dkess) - Friday, 30 December 2022, 05:09 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 11 May 2023, 15:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Alexander Epaneshnikov (alex19EP)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description: with the new version of python-pyroute2 (python-pyroute2-0.7.3-1), home assistant fails to start and prints multiple pip import related errors. Snippet of what the logs look like is attached to the bug.

Workaround is to downgrade to python-pyroute2-0.6.9-1
   mylog.txt (14.4 KiB)
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Thursday, 11 May 2023, 15:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:2023.5.2-1
Comment by Roland Ruckerbauer (ruabmbua) - Tuesday, 03 January 2023, 12:09 GMT
Same problem here, I downgraded to python-pyroute2-0.6.13-1 to make it work again.
Comment by Matthew (piezoelectric) - Friday, 03 February 2023, 07:42 GMT
I recently also had a problem with the ssl package. I updated back to the latest python-pyroute2, etc. I stopped hass, blew away /var/lib/hass/deps/lib, and restarted. It took a while for all of the python modules to reinstall but my installation is working again.
Comment by Daniel Kessler (dkess) - Saturday, 04 February 2023, 18:56 GMT
Thanks, that fixed it for me too! (had to restart twice)

I added these instructions to home assistant's archwiki page.
Comment by Nobody (ch888) - Thursday, 11 May 2023, 08:02 GMT
With the current version (1:2023.5.2-1) the workaround to use python-pyroute2-0.6 is no more working.
Now home-assistant seems to require python-pyroute2 > 0.7 and the current version 0.7.7 is just fine.

Loading...