]> code.ossystems Code Review - openembedded-core.git/commit
python3-pytest: display correct version info
authorKai Kang <kai.kang@windriver.com>
Sun, 1 Aug 2021 11:41:30 +0000 (19:41 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Aug 2021 13:08:58 +0000 (14:08 +0100)
commit9159db64d3b3c7633deb135e683317fd3e98852c
tree537d086c12016a9f69de9357842b1fb16fcf890a
parent30912ba084aa8600156edddbe4f2db0b85e869d0
python3-pytest: display correct version info

It does not show correct version info of python3-pytest:

$ pip3 list | grep pytest
pytest             0.0.0

pytest requires setuptools-scm in setup.cfg. It could be met by adding
python3-setuptools-scm-native to dependency and then it will not
download egg file of setuptools-scm during do_compile any more. So
remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
and depend on python3-setuptools-scm-native to make it show the correct
version info.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch [deleted file]
meta/recipes-devtools/python/python3-pytest_6.2.4.bb