From 032f9d1ce021e14f2bc1633c116c3a4b293d4257 Mon Sep 17 00:00:00 2001 From: Ansh Dadwal Date: Sat, 13 Dec 2025 22:49:48 +0530 Subject: [PATCH 1/2] `ppr`: fix issue with args initialization --- pythonforandroid/recipe.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py index 9c086e0c83..0181aaba26 100644 --- a/pythonforandroid/recipe.py +++ b/pythonforandroid/recipe.py @@ -1251,6 +1251,10 @@ class PyProjectRecipe(PythonRecipe): extra_build_args = [] call_hostpython_via_targetpython = False + def __init__(self): + super().__init__() + self.extra_build_args = [] + def get_recipe_env(self, arch, **kwargs): # Custom hostpython self.ctx.python_recipe.python_exe = join( From b00cac20eb2f484bfb90c4c412196e9ee46afdd4 Mon Sep 17 00:00:00 2001 From: Ansh Dadwal Date: Sat, 20 Jun 2026 16:09:33 +0530 Subject: [PATCH 2/2] Fix flake8 --- pythonforandroid/recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py index 3dee91872c..23eb983702 100644 --- a/pythonforandroid/recipe.py +++ b/pythonforandroid/recipe.py @@ -1237,7 +1237,7 @@ class PyProjectRecipe(PythonRecipe): # Extra args to pass to `python -m build ...` extra_build_args = [] call_hostpython_via_targetpython = False - + def __init__(self): super().__init__() self.extra_build_args = []