From 10e85cc3b731b0df517b40ac7c2743ab79194e47 Mon Sep 17 00:00:00 2001 From: Lars Volker Date: Sun, 11 Aug 2024 15:16:38 -0700 Subject: [PATCH] Bump wxPython version to support newer python versions I noticed that wxPython couldn't be installed as a dependency with Python 3.12 on MacOS. It failed with the following error message: ModuleNotFoundError: No module named 'attrdict' After consulting https://github.com/wxWidgets/Phoenix/issues/2296, I found out that this was an issue with wxPython and confirmed that 4.2.1 works. I tested this locally. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b08f93eef..bfb33a53a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ wxPython>=4.0,<4.2.0 ; platform_system=="Linux" # See https://github.com/wxWidgets/Phoenix/issues/2225 -wxPython==4.2.0 ; platform_system!="Linux" +wxPython==4.2.1 ; platform_system!="Linux" pyserial requests pywin32; platform_system=="Windows"