Skip to content

Could not find a version that satisfies the requirement pyjnius==1.7.0 (from versions: none) #3303

@bryutt

Description

@bryutt

requirements = python3,kivy
android.api = 36
android.ndk = 29
p4a.branch = develop

[INFO]:    Building pyjnius for arm64-v8a
[INFO]:    jnius apparently isn't already in site-packages
[DEBUG]:   -> running pip3 install pyjnius==1.7.0 --ignore-installed --disable-pip-version-check --python-version 3.14.2 --only-binary=:all: --no-deps --platform=android_24_arm64_v8a --platform=android_24_aarch64 --dry-run -q
[DEBUG]:   	ERROR: Could not find a version that satisfies the requirement pyjnius==1.7.0 (from versions: none)
[DEBUG]:   	ERROR: No matching distribution found for pyjnius==1.7.0
[DEBUG]:   	
Exception in thread background thread for pid 4167:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 1642, in wrap
    fn(*rgs, **kwargs)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 2647, in background_thread
    handle_exit_code(exit_code)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 2338, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 823, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/bin/pip3 install pyjnius==1.7.0 --ignore-installed --disable-pip-version-check --python-version 3.14.2 --only-binary=:all: --no-deps --platform=android_24_arm64_v8a --platform=android_24_aarch64 --dry-run -q

  STDOUT:
ERROR: Could not find a version that satisfies the requirement pyjnius==1.7.0 (from versions: none)
ERROR: No matching distribution found for pyjnius==1.7.0


  STDERR:

[DEBUG]:   -> running pip3 install build[virtualenv] pip setuptools patchelf Cython<3.2 --target /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/ --python-version 3.14.2 --only-binary=:all: --upgrade
[DEBUG]:   	Collecting pip
[DEBUG]:   	  Using cached pip-26.0.1-py3-none-any.whl.metadata (4.7 kB)
[DEBUG]:   	Collecting setuptools
[DEBUG]:   	  Using cached setuptools-82.0.1-py3-none-any.whl.metadata (6.5 kB)
[DEBUG]:   	Collecting patchelf
[DEBUG]:   	  Using cached patchelf-0.17.2.4-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.musllinux_1_1_x86_64.whl.metadata (3.7 kB)
[DEBUG]:   	Collecting Cython<3.2
[DEBUG]:   	  Using cached cython-3.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (4.1 kB)
[DEBUG]:   	Collecting build[virtualenv]
[DEBUG]:   	  Using cached build-1.4.3-py3-none-any.whl.metadata (5.8 kB)
[DEBUG]:   	Collecting packaging>=24.0 (from build[virtualenv])
[DEBUG]:   	  Using cached packaging-26.1-py3-none-any.whl.metadata (3.5 kB)
[DEBUG]:   	Collecting pyproject_hooks (from build[virtualenv])
[DEBUG]:   	  Using cached pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
[DEBUG]:   	Collecting virtualenv>=20.31 (from build[virtualenv])
[DEBUG]:   	  Using cached virtualenv-21.2.4-py3-none-any.whl.metadata (3.5 kB)
[DEBUG]:   	Collecting distlib<1,>=0.3.7 (from virtualenv>=20.31->build[virtualenv])
[DEBUG]:   	  Using cached distlib-0.4.0-py2.py3-none-any.whl.metadata (5.2 kB)
[DEBUG]:   	Collecting filelock<4,>=3.24.2 (from virtualenv>=20.31->build[virtualenv])
[DEBUG]:   	  Using cached filelock-3.29.0-py3-none-any.whl.metadata (2.0 kB)
[DEBUG]:   	Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.31->build[virtualenv])
[DEBUG]:   	  Using cached platformdirs-4.9.6-py3-none-any.whl.metadata (4.7 kB)
[DEBUG]:   	Collecting python-discovery>=1.2.2 (from virtualenv>=20.31->build[virtualenv])
[DEBUG]:   	  Using cached python_discovery-1.2.2-py3-none-any.whl.metadata (5.4 kB)
[DEBUG]:   	Using cached cython-3.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.3 MB)
[DEBUG]:   	Using cached build-1.4.3-py3-none-any.whl (26 kB)
[DEBUG]:   	Using cached pip-26.0.1-py3-none-any.whl (1.8 MB)
[DEBUG]:   	Using cached setuptools-82.0.1-py3-none-any.whl (1.0 MB)
[DEBUG]:   	Using cached patchelf-0.17.2.4-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.musllinux_1_1_x86_64.whl (482 kB)
[DEBUG]:   	Using cached packaging-26.1-py3-none-any.whl (95 kB)
[DEBUG]:   	Using cached virtualenv-21.2.4-py3-none-any.whl (5.8 MB)
[DEBUG]:   	Using cached distlib-0.4.0-py2.py3-none-any.whl (469 kB)
[DEBUG]:   	Using cached filelock-3.29.0-py3-none-any.whl (39 kB)
[DEBUG]:   	Using cached platformdirs-4.9.6-py3-none-any.whl (21 kB)
[DEBUG]:   	Using cached python_discovery-1.2.2-py3-none-any.whl (31 kB)
[DEBUG]:   	Using cached pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
[DEBUG]:   	Installing collected packages: distlib, setuptools, pyproject_hooks, platformdirs, pip, patchelf, packaging, filelock, Cython, python-discovery, build, virtualenv
Successfully installed Cython-3.1.8 build-1.4.3 distlib-0.4.0 filelock-3.29.0 packaging-26.1 patchelf-0.17.2.4 pip-26.0.1 platformdirs-4.9.6 pyproject_hooks-1.2.0 python-discovery-1.2.2 setuptools-82.0.1 virtualenv-21.2.4
[DEBUG]:   	
[DEBUG]:   	[notice] A new release of pip is available: 25.3 -> 26.0.1
[DEBUG]:   	[notice] To update, run: /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -m pip install --upgrade pip
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/virtualenv'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/cygdb'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/pip3.14'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/pip3'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/pyproject-build'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/cython'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/pip'
[INFO]:    Fixing shebang for '/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/bin/cythonize'
[DEBUG]:   -> running cp /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/python3
[INFO]:    -> directory context /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_24/pyjnius
[DEBUG]:   -> running python3 -m build --wheel --config-setting builddir=/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_24/pyjnius/p4a_android_build
[DEBUG]:   	* Creating isolated environment: venv+pip...
[DEBUG]:   	* Installing packages in isolated environment:
[DEBUG]:   	  - Cython~=3.1.2
[DEBUG]:   	  - setuptools>=58.0.0
[DEBUG]:   	  - wheel
[DEBUG]:   	* Getting build dependencies for wheel...
[DEBUG]:   	
[DEBUG]:   	Traceback (most recent call last):
[DEBUG]:   	  File "/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
[DEBUG]:   	    raise BackendUnavailable(
[DEBUG]:   	    ...<4 lines>...
[DEBUG]:   	    )
[DEBUG]:   	pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
[DEBUG]:   	
[DEBUG]:   	ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
Exception in thread background thread for pid 4195:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 1642, in wrap
    fn(*rgs, **kwargs)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 2647, in background_thread
    handle_exit_code(exit_code)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 2338, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 823, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/python3 -m build --wheel --config-setting builddir=/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_24/pyjnius/p4a_android_build

  STDOUT:
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - Cython~=3.1.2
  - setuptools>=58.0.0
  - wheel
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
    ...<4 lines>...
    )
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.


  STDERR:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1290, in <module>
    main()
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 721, in __init__
    getattr(self, command)(args)
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 530, in build_recipes
    recipe.build_arch(arch)
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 1413, in build_arch
    shprint(
  File "/home/ap/pr/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 879, in __next__
    self.wait()
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 796, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/ap/.local/lib/python3.10/site-packages/sh.py", line 823, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/python3 -m build --wheel --config-setting builddir=/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_24/pyjnius/p4a_android_build

  STDOUT:
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - Cython~=3.1.2
  - setuptools>=58.0.0
  - wheel
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/home/ap/pr/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
    ...<4 lines>...
    )
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions