-
Notifications
You must be signed in to change notification settings - Fork 540
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
Failure on pip dependency #102
Comments
Same to google-cloud-speech Could not find pip-provided dependency: 'google-api-core[grpc]' |
I fixed the issue by adding |
I get |
@tvi You mean the requirements.txt or somewhere else? |
Yes I mean requirements.txt |
Okay, thank you. For me this does not solve the problem - I have all the things I could have AFAICT:
|
Workaround for now in my cases is to manually specify requirements instead of using
|
Any updates on what could be causing this? |
The problem is here: https://github.com/bazelbuild/rules_python/blob/master/rules_python/whl.py#L110 This code needs to handle Provides-Extra as described here: https://www.python.org/dev/peps/pep-0566/#provides-extra-optional-multiple-use |
My attempt to fix this is here: #198 |
@skyl We also want to include jira into the requirements but we also run into the same issue. The other workarounds/fixes in this issue do not seem to work. Could you elaborate on your workaround? |
rules_python 0.1.0 has been released which upstreams the rules_python_external repo. Please switch from |
as the pip_import(legacy) is the only packaging rule that supports Python 2, any plan to resolve this issue for pip_import? |
No there isn’t. Python 2 is not a supported version anymore, not even by Python itself. |
I am getting an error when trying to build this project with:
bazel build //...
.https://github.com/JoostvDoorn/bazel-python-pip-error
I am not sure what to do with this error:
The text was updated successfully, but these errors were encountered: