Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apk-automation: install and use python3.9 #456

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

liuyq
Copy link
Collaborator

@liuyq liuyq commented Aug 3, 2023

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.

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 <[email protected]>
@liuyq liuyq merged commit 7220645 into Linaro:master Aug 7, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant