-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failed to build Python package due to missing layer/experimental build #776
Comments
@jonas-eschle agreed that adding this to the build rule sounds like the right call. Can you try that out? Thanks! |
I tried but actually run into the issue that layers/experimental cannot be used as a build target, as the builds inside experimental require layers -> circular deps. The other folders in Instead of changing the logic (i.e. is experimental meant to be dev-built only?), I did what the error advertised and added it to the ignored builds, as it's seemingly not made to be built (see PR #779 ) |
Imported from GitHub PR #779 As discussed in #776 I tried but actually run into the issue that layers/experimental cannot be used as a build target, as the builds _inside_ experimental _require_ layers -> circular deps. The other folders in `layers` circumvent this by specifying only the specific build targets. Instead of changing the logic (i.e. is experimental meant to be dev-built only?), I did what the error advertised and added it to the ignored builds, as it's seemingly not made to be built Copybara import of the project: -- 9d3bb64 by Jonas Eschle <[email protected]>: docs: update CONTRIBUTING.md with new name tf-keras (cherry picked from commit fb79960) -- 7bd7b3d by Jonas Eschle <[email protected]>: fix: python build ignore experimental due to circular refs (cherry picked from commit 9b349e3) Merging this change closes #779 FUTURE_COPYBARA_INTEGRATE_REVIEW=#779 from jonas-eschle:fix_pip_build 7bd7b3d PiperOrigin-RevId: 685927076
Imported from GitHub PR #779 As discussed in #776 I tried but actually run into the issue that layers/experimental cannot be used as a build target, as the builds _inside_ experimental _require_ layers -> circular deps. The other folders in `layers` circumvent this by specifying only the specific build targets. Instead of changing the logic (i.e. is experimental meant to be dev-built only?), I did what the error advertised and added it to the ignored builds, as it's seemingly not made to be built Copybara import of the project: -- 9d3bb64 by Jonas Eschle <[email protected]>: docs: update CONTRIBUTING.md with new name tf-keras (cherry picked from commit fb79960) -- 7bd7b3d by Jonas Eschle <[email protected]>: fix: python build ignore experimental due to circular refs (cherry picked from commit 9b349e3) Merging this change closes #779 FUTURE_COPYBARA_INTEGRATE_REVIEW=#779 from jonas-eschle:fix_pip_build 7bd7b3d PiperOrigin-RevId: 685927076
System information.
Describe the problem.
When trying to compile tf-keras (adding it to spack here: spack/spack#43688), it fails when building the python package using
create_pip_helper
withCause
The module
layers/experimental
(https://github.com/keras-team/tf-keras/tree/master/tf_keras/layers/experimental) doesn't seem to be listed in the BUILD script (https://github.com/keras-team/tf-keras/blob/master/tf_keras/layers/BUILD#L36). Most likely, it should just be added to it?Helper has an exluding list here https://github.com/keras-team/tf-keras/blob/master/tf_keras/tools/pip_package/create_pip_helper.py#L25 but layer/experimental isn't there either (it should, presumably, be compiled).
Contributing.
The text was updated successfully, but these errors were encountered: