ifcopenshell: 240611 -> 0.7.10, fix build and activate most tests #312381
ifcopenshell: 240611 -> 0.7.10, fix build and activate most tests #312381SuperSandro2000 merged 3 commits intoNixOS:masterfrom
Conversation
2ae653e to
94650c5
Compare
|
Ok now it's compiling, but I have a weird problem with the runtime lib. libxml2 is missing at runtime: I have no idea how to fix this problem, for me |
94650c5 to
350b351
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/fixing-ifcopenshell-libxml2-not-found-by-linker-at-runtime/45764/1 |
|
Ok so I fixed my libxml2 issue by making this a regular package and not a python package (see last temp commit). So it's something to do with the way python packages are made. Can I - and should I - split the lib and the python packaging into 2 derivations? That would allow freecad to depend only on one of them for instance. |
|
That being said, my end goal is freecad ifc support, and apparently this needs python bindings, so I might not personnally need the split. |
|
I feel that I need mkDerivation (because it executes the patchElf phase) and buildPythonPackage. How can I combine the 2? |
fa560fb to
192e18c
Compare
192e18c to
689d08e
Compare
689d08e to
f0b8a76
Compare
f0b8a76 to
af35a90
Compare
af35a90 to
67d241e
Compare
67d241e to
640e0fc
Compare
|
Result of 2 packages failed to build:
|
|
Result of 2 packages built:
|
|
@natsukium hi! If I'm not mistaken, you're the code owner for this. Fehnomenal already approved it and I'm now maintainer. I think it's ready to get merged. Thanks! |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4583 |
There was a problem hiding this comment.
Can we use pytestCheckHook?
There was a problem hiding this comment.
Just for this line or for the whole checkPhase? I remembered I couldn't make it work, but as I don't remember why, I'll try again :-)
There was a problem hiding this comment.
I've kept the python tests.py thing in a preCheck, and used pytestCheckHook. Can you check if the way I did it is ok? I'm not quite sure...
77ad89e to
f197f9b
Compare
|
Result of 2 packages built:
|
|
@SuperSandro2000 @Artturin thanks for the comments! I've adressed them, please review again 😺 |
b3a0f4e to
0db6f1c
Compare
|
Result of 2 packages built:
|
|
@SuperSandro2000 this is ready again. Because for python release, ifcopenshell doesn't use the default tag scheme, I have added an updateScript. Please review again 😃 |
0db6f1c to
922e530
Compare
By relevant release, I mean the ifcopenshell-python release, and not the blenderbim release
92f414e to
7e80e03
Compare
|
Thanks @SuperSandro2000, updated with your suggestion! |
|
|
Description of changes
Fix the ifcopenshell build.
Fix #312380
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.