From 176843124ac4948f780aae49fcf23279a8a61e32 Mon Sep 17 00:00:00 2001 From: Pekka Ristola Date: Thu, 9 Feb 2023 16:09:52 +0200 Subject: [PATCH] Fix compile_targets.py when using numpy 1.24.0 or newer Index: makehuman/makehuman.py --- makehuman/makehuman.py.orig +++ makehuman/makehuman.py @@ -396,7 +396,7 @@ Homepage: %s""" % (self.author, self.license, self.cop text += key + value text = np.fromstring(text, dtype='S1') index = np.array(index, dtype=np.uint32) - return text, index + return np.array([text, index], dtype=object) return _packStringDict(self.asDict())