Tom Dobson
07/02/2025, 12:18 PMAttributeError: type object 'LineBlock' has no attribute 'model_rebuild'
I've tried this with both 0.19.0 and 0.19.1 with the same result. This issue has only appeared very recently and alerting was working normally yesterday.
Here are the full logs: https://elementary-community.slack.com/files/U0941NEJDPU/F093ZTVSBA9/untitled
Any idea what's going wrong here?Noya Offer
07/02/2025, 12:33 PMTom Dobson
07/02/2025, 12:34 PMTom Dobson
07/02/2025, 12:49 PMTom Dobson
07/02/2025, 12:53 PMTom Dobson
07/02/2025, 1:40 PMTom Dobson
07/02/2025, 2:59 PM34bf4f5175e92b9b507293c773b47cbc484f7eccNoya Offer
07/03/2025, 7:37 AMGuy Eshdat
07/03/2025, 8:13 AMmodel_rebuild function was introduced in Pydantic v2, so I assume this is what's causing the issue.Tom Dobson
07/03/2025, 9:35 AMNoya Offer
07/06/2025, 1:20 PMTom Dobson
07/07/2025, 12:59 PMNoya Offer
07/07/2025, 1:03 PMpip install --upgrade elementary-dataTom Dobson
07/07/2025, 1:04 PMTom Dobson
07/07/2025, 1:10 PMCould not find a matching compatible version for package elementary-data/elementary
Requested range: =0.19.2, =0.19.2
Compatible versions: ['0.1.1', '0.2.1', '0.3.0', '0.3.2', '0.3.4', '0.3.6', '0.3.8', '0.3.10', '0.3.12', '0.3.14', '0.3.15', '0.3.16', '0.4.0', '0.4.1', '0.4.2', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.4.10', '0.4.11', '0.4.12', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.6.7', '0.6.8', '0.6.9', '0.6.10', '0.6.11', '0.6.12', '0.6.13', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.7.7', '0.7.8', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.9.0', '0.9.1', '0.9.2', '0.9.3', '0.9.4', '0.10.0', '0.10.1', '0.10.2', '0.10.3', '0.11.0', '0.11.1', '0.11.2', '0.12.0', '0.12.1', '0.12.2', '0.13.0', '0.13.1', '0.13.2', '0.14.0', '0.14.1', '0.15.0', '0.15.1', '0.15.2', '0.16.0', '0.16.1', '0.16.2', '0.16.3', '0.16.4', '0.17.0', '0.18.0', '0.18.1', '0.18.2', '0.18.3', '0.19.0', '0.19.1']Tom Dobson
07/07/2025, 1:11 PMpackages.yml file has 0.19.1 installed. Let me know if I'm getting anything obviously wrong here!Noya Offer
07/08/2025, 7:54 AMTom Dobson
07/08/2025, 8:04 AMNoya Offer
07/08/2025, 8:13 AM