-
Notifications
You must be signed in to change notification settings - Fork 207
Problem with a third party python dependency 'pendulum' #2288
Replies: 1 comment · 6 replies
-
If I have: pip_library(
name = "pendulum",
version = "2.1.2",
) I get:
However, you mentioned that this only happens when you try to add deps to it? In this case, |
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm on a linux x86_64 machine. I've tried the above and it still works for me. I guess it might be indeed related to your os/arch. There's an intermediate rule generated by
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm definitely getting a different output, but I'm not seeing an error either:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I tried this on my m1 mac and got the exact some issue... Pip successfully "installs" the module but it's missing all the source files. I guess the next step is to debug their There's this script: but I don't think that's what pip in running. |
Beta Was this translation helpful? Give feedback.
All reactions
-
It's something to do with the shell that's created. When I try creating a blank pipenv, then pendulum installs fine with the same command:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I found a way to make it work, but I don't know why. You need to export the environment variable TMPDIR to be a directory outside of plz-out. Any ideas what is going on?
|
Beta Was this translation helpful? Give feedback.
-
I'm having some trouble adding a dependency to the python library 'pendulum'. It's not a complex library and only has a few dependencies:
When I try to build it, the resulting wheel hardly has anything in it:
while if I pip install the library, there's a lot more:
I'm running this on an Apple M1, so pip has to build it from source, i.e. there's no prebuilt macosx_12_0_arm64 wheel. Could that be the problem?
Beta Was this translation helpful? Give feedback.
All reactions