Skip to content

Support Keras 2.2.2 and URL requirements #1

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

Merged
merged 3 commits into from
Aug 3, 2018
Merged

Conversation

scele
Copy link
Owner

@scele scele commented Aug 1, 2018

Keras 2.2.2 has cyclic dependencies (keras-team/keras#10505).
Add hacky "remove_runtime_deps" attribute to pip_import to allow breaking such cyclic dependencies.

Also detect https://url/to/package.whl syntax in requriements.txt, and pass the URL over to bazel.
This can speed up iteration cycle for custom-built external wheels that are not hosted on any
pypi index server.

scele added 3 commits August 1, 2018 11:41
This is needed to work around recent Keras version that has a
cyclic dependency.

keras-team/keras#10505
pip requirements.txt format allows specifying requirements via
absolute network URLs, in addition to package==version syntax.
If that syntax is detected in requirements.txt, we pass the url
along to the bazel rules, so that the wheel will be pulled from
the URL instead of using "pip wheel package==version" command.
@scele scele merged commit 8a9bc0b into master Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant