apk-automation: install and use python3.9

as numpy 1.25.1 requires 3.9+ python.

    Reading https://pypi.org/simple/numpy/
    Downloading https://files.pythonhosted.org/packages/cf/7a/f68d1d658a0e68084097beb212fa9356fee7eabff8b57231cc4acb555b12/numpy-1.25.1.tar.gz#sha256=9a3a9f3a61480cc086117b426a8bd86869c213fc4072e606f01c4e4b66eb92bf
    Best match: numpy 1.25.1
    Processing numpy-1.25.1.tar.gz
    Writing /tmp/easy_install-8zhunwcp/numpy-1.25.1/setup.cfg
    Running numpy-1.25.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8zhunwcp/numpy-1.25.1/egg-dist-tmp-8s2br4p6
    Traceback (most recent call last):
      File "/linaro-android/test/python-workspace/lib/python3.8/site-packages/setuptools/sandbox.py", line 156, in save_modules
        yield saved
      File "/linaro-android/test/python-workspace/lib/python3.8/site-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/linaro-android/test/python-workspace/lib/python3.8/site-packages/setuptools/sandbox.py", line 259, in run_setup
        _execfile(setup_script, ns)
      File "/linaro-android/test/python-workspace/lib/python3.8/site-packages/setuptools/sandbox.py", line 46, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-8zhunwcp/numpy-1.25.1/setup.py", line 22, in <module>
        classifiers=['Development Status :: 5 - Production/Stable',
    RuntimeError: Python version >= 3.9 required.

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
1 file changed
tree: d2b49516ec04e39cde0fb004d846a24a3b4136f5
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs