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

pyjnius build error, still coming #674

Closed
mmadhuhasa opened this issue Sep 22, 2023 · 10 comments
Closed

pyjnius build error, still coming #674

mmadhuhasa opened this issue Sep 22, 2023 · 10 comments

Comments

@mmadhuhasa
Copy link

On installing pyjnius==1.5.0 with cython==3.0.2 in python 3.9 using
Alphine Linux 3.18 (in docker)

I'm facing this following error,
(ASAP) Request to Update the package version which includes this bug fix

Building wheel for pyjnius (pyproject.toml): started
Building wheel for pyjnius (pyproject.coml): finished with status 'error'
error: subprocess-exited-with-error

x Building wheel for pyjnius (pyproject.toml) did not run successfully.
| exit code: 1
(27 lines of output)
warning: [options] bootstrap class path not set in conjunction with -source 7
1 warning
running bdist wheel
running build
running build py creating build
creating build/lib.linux-x86_64-cpython-39
copying inius config.py -> build/lib.linux-x86_64-cpython-39 copying setup sdist.py -> build/lib.linux-x86 64-cpython-39
creating build/lib.linux-x86_64-cpython-39/jnius
copying inius/ init py> build/lib.linux-x86 64 cpython-39/jnius copying jnius/env.py -> build/lib.linux-x86_64-cpython-39/jnius
copying jnius/reflect.py -> build/lib.linux-x86_64-python-39/inius copying Jnius/signatures.py > build/lib.linux-x86 64 cpython-39/jnius
creating build/lib.linux-x86_64-cpython-39/jnius/src
creating build/lib.linux-x86_64-cpython-39/jnius/src/org
creating build/lib.linux-x86_64-cpython-39/jnius/src/org/jnius copying jnius/src/org/jnius/Native InvocationHandler.class> build/lib.linux-x86_64-cpython 39/jnius/src/org/jnius
copying inids/src/org/jnius/NativeInvocationHandler.java > build/lib.linux-x86_64-cpython-39/jnius/src/org/inius running build ext
warning: jnius/config.pxi:1:0: The 'DEF statement is deprecated and will be removed in a future cython version. Consider using global variables, constants, and in-place literals instead. See cython/cython#4310
warning: inius/jnius.pyx:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See cython/cython#4310
warning: jnius/config.pxi:1:0: The DEF statement is deprecated and will be removed in a future cython version. Consider using global variables, constants, and in-place literals instead. See cython/cython#4310
Compiling nius/jnius.pyx because it changed.
[1/11 Cythonizing jnius/jnius.pyx
building 'jnius' extension
error: unknown file type .pxi' (from 'gnius/jni.pxi")
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyjnius
Successfully built cffi coverage Flask-Testing greenlet lazy-object-proxy psycopg2 PyNaCl pyrsistent regex SQLAlchemy SQLAlchemy-Utils wrapt zope.interface
Failed to build pyjnius
ERROR: Could not build wheels for pyjnius, which is required to install pyproject.toml-based projects

@cmacdonald
Copy link
Contributor

As you will see from the recent issues and PR, a 1.6.0 release is being prepared that addresses this. The current github master branch will work.

@mmadhuhasa
Copy link
Author

(ASAP) Request to Update the package version which includes this bug fix..

Waiting...

@mmadhuhasa mmadhuhasa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
@cmacdonald
Copy link
Contributor

@misl6 is responsible for releases; I'm only a volunteer that maintains other tools that use Pyjnuis.

@mmadhuhasa mmadhuhasa reopened this Sep 22, 2023
@mmadhuhasa mmadhuhasa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2023
@mmadhuhasa
Copy link
Author

When can I expect this issue will be resolved

@cmacdonald
Copy link
Contributor

You can install the current github, right? Something like:

pip install git+https://github.com/kivy/pyjnius.git

@mmadhuhasa
Copy link
Author

On current version only I'm facing the issue

@cmacdonald
Copy link
Contributor

What do you mean the current version?

Did you do this:
pip install git+https://github.com/kivy/pyjnius.git

It might be its cached, you can try:
pip install --force-reinstall git+https://github.com/kivy/pyjnius.git

@mmadhuhasa
Copy link
Author

mmadhuhasa commented Oct 3, 2023

pip install git+https://github.com/kivy/pyjnius.git, This cmd is working.
but when can be expect as normal installation cmd like pip install pyjnius ?

@mmadhuhasa
Copy link
Author

Can you please reply

@cmacdonald
Copy link
Contributor

You can see the PRs being worked on as well as I can... @misl6 is trying to include Python 3.12 and Mac M1 support

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

No branches or pull requests

2 participants