From ede130aa5382cf2fed05ef006f79138035cc79d6 Mon Sep 17 00:00:00 2001
From: Allen Porter <allen@thebends.org>
Date: Thu, 11 Jul 2024 08:23:10 -0700
Subject: [PATCH] Pin mashumaro version >= 3.13.1 for python 3.12.4
 compatibility. (#121782)

Pin mashumaro version for python 3.12.4 compatibility.
---
 homeassistant/package_constraints.txt | 3 +++
 script/gen_requirements_all.py        | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt
index 22bd95f10d2..2509737d87a 100644
--- a/homeassistant/package_constraints.txt
+++ b/homeassistant/package_constraints.txt
@@ -136,6 +136,9 @@ backoff>=2.0
 # v2 has breaking changes (#99218).
 pydantic==1.10.17
 
+# Required for Python 3.12.4 compatibility (#119223).
+mashumaro>=3.13.1
+
 # Breaks asyncio
 # https://github.com/pubnub/python/issues/130
 pubnub!=6.4.0
diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py
index 434b4d0071f..3c593a2bdf7 100755
--- a/script/gen_requirements_all.py
+++ b/script/gen_requirements_all.py
@@ -157,6 +157,9 @@ backoff>=2.0
 # v2 has breaking changes (#99218).
 pydantic==1.10.17
 
+# Required for Python 3.12.4 compatibility (#119223).
+mashumaro>=3.13.1
+
 # Breaks asyncio
 # https://github.com/pubnub/python/issues/130
 pubnub!=6.4.0
-- 
GitLab