hey all I am running into some issues when resolvi...
# general
w
hey all I am running into some issues when resolving PyTables as a dependency. PyTables expects some native dependencies, c-blosc2 ,to be installed in the system as part of the installation process. I am having a hard time because the pants does not recognize the presence of c-blosc2 header files installed system wide. How are people dealing with dependency that require libraries installed systtem wide? Any help is apprecciated
h
cc @flat-zoo-31952 who I think has the most experience with this sort of thing.
f
Oh wow, that's a blast from the past. I vaguely remember this. This is an error that comes up during installation/pex creation right? I don't think I ever solved it in that way.
I think the PyTables project has gotten better about having wheels though... you should be able to install it from wheels https://pypi.org/project/tables/#files without having to worry about this. Maybe your python version or platform is not among those provided wheels?
IIRC we didn't have this option, so I would just create a docker image starting from manylinux that would build the wheel I needed and upload that to our internal artifact repo, which we had configured Pants to use. Ideally this would be something you could do in Pants, but Pants' story for native code isn't really there yet
👍 1
w
yes during pex creation while generating lock files
hmm this is a transitive dependency, I would have tought pip would have resolve the wheel first, I am testing on this on 3.9-3.11 which as far as i can tell does have some wheel files
gotcha thanks for the help Josh