diff --git a/pythonforandroid/recipes/pyjnius/__init__.py b/pythonforandroid/recipes/pyjnius/__init__.py index c6b6746fa1..86d8803f18 100644 --- a/pythonforandroid/recipes/pyjnius/__init__.py +++ b/pythonforandroid/recipes/pyjnius/__init__.py @@ -6,15 +6,14 @@ class PyjniusRecipe(PyProjectRecipe): - version = '1.6.1' + version = '1.7.0' url = 'https://github.com/kivy/pyjnius/archive/{version}.zip' name = 'pyjnius' depends = [('genericndkbuild', 'sdl2', 'sdl3'), 'six'] site_packages_name = 'jnius' - + hostpython_prerequisites = ["Cython<3.2"] patches = [ "use_cython.patch", - "cython_version_pin.patch", ('genericndkbuild_jnienv_getter.patch', will_build('genericndkbuild')), ('sdl3_jnienv_getter.patch', will_build('sdl3')), ] diff --git a/pythonforandroid/recipes/pyjnius/cython_version_pin.patch b/pythonforandroid/recipes/pyjnius/cython_version_pin.patch deleted file mode 100644 index 3d5cea2350..0000000000 --- a/pythonforandroid/recipes/pyjnius/cython_version_pin.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- pyjnius-1.6.1/pyproject.toml 2023-11-05 21:07:43.000000000 +0530 -+++ pyjnius-1.6.1.mod/pyproject.toml 2025-05-11 20:31:14.699072764 +0530 -@@ -2,5 +2,5 @@ - requires = [ - "setuptools>=58.0.0", - "wheel", -- "Cython" -+ "Cython==3.0.0" - ]