python-for-android
python-for-android copied to clipboard
This is a recipe for mysql-connector-python
Hello,
This is a mysql-connector-python recipe!
Thanks for contributing. Could you fix the linting error so the CI try to build the recipe next.
pythonforandroid/recipes/mysql-connector-python/__init__.py:13:1: E305 expected 2 blank lines after class or function definition, found 1
Thanks for addressing the linting issue, now the test updated recipes builds fail with:
[INFO]: -> running python3 setup.py build_ext -v
Exception in thread background thread for pid 36920:
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/user/app/venv/lib/python3.10/site-packages/sh.py", line 1641, in wrap
fn(*rgs, **kwargs)
File "/home/user/app/venv/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
handle_exit_code(exit_code)
File "/home/user/app/venv/lib/python3.10/site-packages/sh.py", line 2269, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/user/app/venv/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /home/user/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
/home/user/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3: can't open file '/home/user/.local/share/python-for-android/build/other_builds/mysql-connector-python/arm64-v8a__ndk_target_21/mysql-connector-python/setup.py': [Errno 2] No such file or directory
I think it's because you're downloading the java connector.
The Python one is https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.3.0-src.tar.gz