-
Notifications
You must be signed in to change notification settings - Fork 35
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
Build fix for v0.6.0 #42
base: master
Are you sure you want to change the base?
Conversation
@@ -235,14 +235,14 @@ cc_library( | |||
|
|||
def _python_includes_repo_impl(repo_ctx): | |||
python_include_path = _find_python_include_path(repo_ctx) | |||
python_solib = _find_python_solib_path(repo_ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is based on the google-deepmind/reverb#106 I did for Reverb. It's not necessary to include the .so and that actually causes troubles for some Python environments that do not install libpython.so at the system location (aka conda).
I can clean this up if tests pass.
The current build is problematic when building for multiple python versions. See google-deepmind/reverb@4da8a91
Any update on this? I'm happy to help e.g. testing this if that's useful. |
@hartikainen You can use these wheels for your requirements.txt like
|
@ethanluoyc This is very useful, thanks! I had some issues building it myself - any chance you could do a quick python 3.12 wheel? |
Closes #41.
I tested this on my machine for Python 3.9 and 3.10. This seems to work fine. Some of the workaround for my previous fork no longer seems necessary.
@ddmbr can you help run the internal checks and see if it works. If so, I suppose we can release lp v0.6 and I can update my projects to use Launchpad from PyPI.
Also @hartikainen