-
Notifications
You must be signed in to change notification settings - Fork 256
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
Lib should work with python3 #165
Comments
I implemented a python 3 project on the mac, and realized - late at deployment time - that py3 is not supported on linux. |
the support in in the pull request. |
I thought I did linux, I'll have a look. |
If it is available in a fork, my time constraints would be a bit relaxed. But finally I would need it in the upstream/main |
Then it's hopeless. The upstream people haven't responded since May to my offer to work with them to get this merged in. |
Maybe they would react on a bounty? |
@rhoerbe For what it's worth, you don't actually need it in the master branch, you could for instance maintain your own branch with the fixes. However, these fixes should clearly be merged into our master. Sorry for the delay with doing this. I don't know much about pyjnius myself, but I'll try to bug the other devs about it. |
If a sensible PR won't be merged in the master branch on the long term, then my customer would not like to see the lib good enough to be used in the product. I would have to revert to subprocess, py2.7 is not an option because of unicode requirements. |
But thank you for nudging the other devs! |
@rhoerbe, you could help the merge process by trying out the branch and posting a feedback. |
Sure. Which branch? |
As specified, you need to take my several PR's in order. On Fri, Oct 2, 2015 at 4:48 PM, dessant notifications@github.com wrote:
|
Rainer, clearly the kivy people are not treating this as an active On Fri, Oct 2, 2015 at 3:58 PM, Rainer Hörbe notifications@github.com
|
I used the python-34 branch in the benson-basis/pyjnius fork and was able to install, but failed to import:
In addition: setup does not automatically install future. To replicate this behavior I created a docker container that should make it fairly quick to reproduce my findings: |
Nicolas, please can you help me please to find to spot Cython version 0.24.0a0, and guide me to what patch has to be applied where?
|
I just test the manipulation with the normal current version cython it works After I modified the variables java_home jdk_home jre_home in the file setup.py benson-basis / python-branch pyjnius 34 .I can compile with the "make" command and it seems to work .With distutils buitd_ext there are error. |
Yes, installation was good, but "import jnius" failed. Did you succeed with the import? Would you have the possibility to fire up the docker container that I built? |
Good news ! Jnius succeed with the import ! I changed the file setup.py and jnius_jvm_dlopen.pxi. It is on still a little monkey patch, but everything built with build_ext on python3. |
@rhoerbe Rainer, |
Thanks, now import is working and using the classes as well. |
to integrate quickly we must make a recipe to style :
|
I am not familiar with the android environment, I can help only with Linux. |
Fixed in #164. |
It does not pass the test that I set up in https://github.com/rhoerbe/docker-test-jnius-centos
|
Really? Latest commit? I thought I fixed that item, but I could have missed On Wed, Nov 4, 2015 at 2:39 PM, Rainer Hörbe notifications@github.com
|
@rhoerbe I think you need to change your docker-test-jnius-centos/Dockerfile |
That is not the reason. The branch was fine the last time I tested. I did run the test against the master with a local change, waiting with the push until the problem is fixed. |
The latest merge include a code change that that fixes the stray decode. It was merged yesterday. All the tests pass with 2.7 and 3.4. |
Why not? I've supplied a PR for this.
The text was updated successfully, but these errors were encountered: