mbox

[meta-python,v2,0/3] python3-prettytable update; fix ptests

Message ID cover.1708403129.git.tim.orling@konsulko.com
State Accepted
Headers show

Pull-request

https://git.openembedded.org/meta-openembedded-contrib timo/python3-prettytable-update

Message

Tim Orling Feb. 20, 2024, 4:31 a.m. UTC
The prior version did not run any ptests, since the test_prettytable.py was
not discovered by pytest. Also, since python3-pytest upgrade to 8.0.0 the
python3-pytest-lazy-fixture module was non-functional.

* Add python3-pytest-lazy-fixtures (with the s)
* Upgrade to the latest python3-prettytable 3.10.0
* Drop python3-pytest-lazy-fixture (without the s)

All the ptests for meta-python-image-ptest-python3-prettytable pass on qemux86-64:

$ resulttool report build/tmp/log/oeqa/testresults.json
==============================================================================================================
Test Result Status Summary (Counts/Percentages sorted by testseries, ID)
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
Test Series | ID                                                                     | Passed    | Failed | Skipped
--------------------------------------------------------------------------------------------------------------
oeqa | runtime_meta-python-image-ptest-python3-prettytable_qemux86-64_20240220002104 | 171 (99%) | 0 (0%) | 1 (1%)
--------------------------------------------------------------------------------------------------------------
Total | 1                                                                            | 171       | 0      | 1
--------------------------------------------------------------------------------------------------------------

==============================================================================================================
qemux86-64 PTest Result Summary
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
Recipe              | Passed    | Failed | Skipped | Time(s)
--------------------------------------------------------------------------------------------------------------
python3-prettytable | 166       | 0      | 0      | 0
--------------------------------------------------------------------------------------------------------------

The following changes since commit bd9086015b1485d8b16d91954f9140901fd9a0fb:

  meta-gnome: drop ${PYTHON_PN} (2024-02-19 19:57:38 -0800)

are available in the Git repository at:

  https://git.openembedded.org/meta-openembedded-contrib timo/python3-prettytable-update
  https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/python3-prettytable-update

Tim Orling (3):
  python3-pytest-lazy-fixtures: add 1.0.5
  python3-prettytable: upgrade 3.9.0 => 3.10.0; fix ptests
  python3-pytest-lazy-fixture: drop recipe

 .../ptest-packagelists-meta-python.inc        |  1 -
 .../packagegroups/packagegroup-meta-python.bb |  3 +-
 ...3.9.0.bb => python3-prettytable_3.10.0.bb} | 33 ++++++++++---------
 .../python3-pytest-lazy-fixture/run-ptest     |  3 --
 .../python3-pytest-lazy-fixture_0.6.3.bb      | 26 ---------------
 .../python3-pytest-lazy-fixtures_1.0.5.bb     | 21 ++++++++++++
 6 files changed, 39 insertions(+), 48 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-prettytable_3.9.0.bb => python3-prettytable_3.10.0.bb} (67%)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest
 delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.0.5.bb