Re: [PATCH V2] python-numpy: move recipe to python directory


Richard Purdie
 

On Sun, 2021-11-14 at 01:02 +0800, Yi Zhao wrote:
This recipe had been moved out from python directory since 2016[1] in
order to share patches between python2 and python3. But now there is no
reason to keep it in its own directory as we only keep python3-nump.
Move it back to python directory.

Also add python3-json to RDEPENDS to fix import error:
$ python3
import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/numpy/__init__.py", line 138, in <module>
from ._version import get_versions
File "/usr/lib/python3.10/site-packages/numpy/_version.py", line 7, in <module>
import json
ModuleNotFoundError: No module named 'json'
Please make these two separate commits since they're not really related.

Cheers,

Richard

Join {openembedded-core@lists.openembedded.org to automatically receive all group messages.