Commit Graph

4 Commits

Author SHA1 Message Date
Tim Orling
64f0fcb236 python3-pytest: allow python3-pluggy >=1.0.0
Fixes ptest failures in python3-jinja2.

Backport patch from upstream, for now.

Modify upstream patch to use toml and not tomli.
We will add the new recipe for python3-tomli when
we have an upgrade to python3-pytest.

Remove this when we upgrade pytest to a version containing
the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74

(From OE-Core rev: b4cfb0b0dab6bc7f43bab04cdf4f16c145be0223)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Kai Kang
aeaafe2fa5 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.

(From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
9b894b9f96 python3-pytest: update 6.1.2 -> 6.2.1
(From OE-Core rev: 7c84d3b0112daa6006c35c19d66b544f7d2ef31b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Tim Orling
075deea2b2 python3-pytest: move from meta-python
Simple powerful testing with python

(From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00