3
0
Fork 0
forked from mirrors/nixpkgs

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: <built-in function SoEventCallback_getEvent> returned a result with an exception set
    12:24:33  <class 'SystemError'>
    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
2f049c1920,
well after 0.6.6 was released, implying that FreeCAD depends on 0.6.7.
This commit is contained in:
Michael Alan Dorman 2022-07-16 12:41:52 -04:00
parent a5aa2cd7df
commit d5642e3491

View file

@ -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;