Skip to content

Support Keras 2.2.2 and URL requirements#1

Merged
scele merged 3 commits intomasterfrom
dev_keras_and_urls
Aug 3, 2018
Merged

Support Keras 2.2.2 and URL requirements#1
scele merged 3 commits intomasterfrom
dev_keras_and_urls

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