Skip to content

Conversation

@jackiehjm
Copy link
Contributor

No description provided.

The version of this recipe is lower than the one in meta-python,
and the dependency is not correct which causes error:
| ERROR: python setup.py build execution failed.
| Couldn't find index page for 'pytest-runner' (maybe misspelled?)

So remove the recipe and we can use the one in meta-python instead.

Signed-off-by: Jackie Huang <[email protected]>
The recipe for python3-paho-mqtt is removed and add it
in whitelist to use the one in meta-python.

Signed-off-by: Jackie Huang <[email protected]>
@element-82
Copy link
Collaborator

What version of yocto/meta-python are you building with? Removing an older version of the recipe should not cause this issue. The newer version should be selected, unless a PREFERED_* setting is made. Note: older builds of yocto/WRL do not have the paho recipes.

@robertlinux
Copy link
Contributor

The question is for Jackie, but I can answer your question.

  1. The build is based on yocto and meta-python's master branch, and yocto 2.4.2 also has the problem.
  2. We didn't enable meta-python's python-paho-mqtt in whitelist, so it builds the one in meta-device-cloud, then we found the error.
  3. When there are two recipes which have the same PN, the one which has a higher BBFILE_PRIORITY would be built when no PREFERED_VERSION is set, meta-device-cloud and meta-python have the same priority -- 7, so which one would be built is a little more complicated:
  • If they have the same version, such as YP 2.4.2, both meta-python and meta-device-cloud's mqtt is 1.3.0, which one to be built is randomly
  • If they have different versions, then the higher version would be built.

Since the one in meta-device-cloud is broken, I think that we can remove it ? BTW., this patch is included in my "8fixes" pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants