From d5642e3491ff5d79e6836e86944bead8fb7f6022 Mon Sep 17 00:00:00 2001 From: Michael Alan Dorman Date: Sat, 16 Jul 2022 12:41:52 -0400 Subject: [PATCH] pivy: 0.6.6 -> 0.6.7 When attempting to do certain operations in FreeCAD, I ran into this error: 12:24:32 Traceback (most recent call last): 12:24:32 File "/nix/store/y43dl4mv61lvzpdvwpwpsazj6b3ii87l-freecad-0.20/Mod/Image/ImageTools/_CommandImageScaling.py", line 181, in getmousepoint 12:24:32 event = event_cb.getEvent() 12:24:32 File "/nix/store/dq8yly6isjzq6imm0i0qjxkang5rcq84-python3.10-pivy-0.6.6/lib/python3.10/site-packages/pivy/coin.py", line 49384, in getEvent 12:24:32 return _coin.SoEventCallback_getEvent(self) 12:24:32 SystemError: returned a result with an exception set 12:24:33 12:24:33 SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats 12:24:33 The above exception was the direct cause of the following exception: This macro was defined in https://github.com/coin3d/pivy/commit/2f049c19200ab4a3a1e4740268450496c12359f9, well after 0.6.6 was released, implying that FreeCAD depends on 0.6.7. --- pkgs/development/python-modules/pivy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pivy/default.nix b/pkgs/development/python-modules/pivy/default.nix index 092bcbfcfd9d..d4aee75efe34 100644 --- a/pkgs/development/python-modules/pivy/default.nix +++ b/pkgs/development/python-modules/pivy/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "pivy"; - version = "0.6.6"; + version = "0.6.7"; src = fetchFromGitHub { owner = "coin3d"; repo = "pivy"; rev = version; - sha256 = "1xlynrbq22pb252r37r80b3myzap8hzhvknz4zfznfrsg9ykh8k2"; + sha256 = "mU3QRDJd56gGDWqwcxAN3yUCkAkABP/I9gIBMH2MOXA="; }; dontUseCmakeConfigure = true;