-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use whl dependency which is compiled from source due (arch not provided in pypi) #2113
Comments
I am confronted with (I guess) the same issue. however, I am already on bzlmod (so How can I teach |
I found this workaround tensorflow/text#1319 (comment) |
hey @shkarupa-alex unfortunately this would not work at all for me the absolute path to the wheel is only known to bazel and would change from machine to machine... there must be a proper bazel way |
FYI, there is an example on how to include pytorch in #2449. As the ticket right now is, it is unclear exactly what the repo structure exactly is. Could you please provide a minimum reproducible example?. |
in the meantime, my colleague found a way to implement this - however as we're using |
🐞 bug report
Affected Rule
he issue is caused by the rule: pip_parse
Is this a regression?
No
Description
I'm developing a tensorflow addon with custom ops on MacBook with Intel CPU. All tensorflow versions below 2.17 had prebuilt macosx__x86_64.whl packages. But since v2.17 there are only arm64 versions. The only way i can use fresh tensorflow is to built it itself. As result i have a custom tensorflow whl for my arch.
But this custom-arch self-compiled whl does not exists in PyPi, pip_parse can't find it. And build fails...
Is there any workaround to use locally-built whl?
🔬 Minimal Reproduction
Exception is related to PyPi package dependency (tensorflow in my case) with specific version and arch (MacOS x86_64 in my case).
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
The text was updated successfully, but these errors were encountered: