Skip to content
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

Add experimental python 3 support #52

Closed
wants to merge 2 commits into from

Conversation

superMDguy
Copy link

@superMDguy superMDguy commented Mar 12, 2017

I added a new bazel build rule for python 3 (deepmind_lab_py3.so), and added tests and examples based on the python 2 ones. I also updated the build docs to describe how to get it working with python 3. This addresses issues #40 and #33.

@joao-alex-cunha
Copy link

I can confirm that cloning this repo allowed me to run deepmind lab random_agent with python3

Merge with deepmind/lab master
@tkoeppe tkoeppe force-pushed the master branch 2 times, most recently from 31fe629 to 87f8993 Compare December 5, 2017 16:44
@tkoeppe
Copy link
Collaborator

tkoeppe commented Apr 4, 2018

I'll try to take a stab at getting the same code to work in Py2 and Py3. That would be a viable outcome.

@tkoeppe
Copy link
Collaborator

tkoeppe commented Apr 5, 2018

I pushed an update to the native module code via b01c3d6. Feel free to rebase; hopefully this will simplify your approach a little.

@tkoeppe
Copy link
Collaborator

tkoeppe commented Apr 6, 2018

Have a look at 3fd8582. I think it should be possible to use Python 2 and 3 now, and with a bit of effort, even on the same Python code.

Check out the Bazel attributes related to choosing a Python version, too: https://docs.bazel.build/versions/master/be/python.html#py_binary_args

@tkoeppe tkoeppe closed this Apr 6, 2018
@floringogianu floringogianu mentioned this pull request May 11, 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.

None yet

3 participants