mbox

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

Message ID cover.1708389659.git.tim.orling@konsulko.com
State Accepted, archived
Headers show

Pull-request

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

Message

Tim Orling Feb. 20, 2024, 12:47 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 ae28f34aab8c7e32e610446fe82868dc020e088a:

  python3-meson-python: move to oe-core (2024-02-19 10:22:55 -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

Comments

Khem Raj Feb. 20, 2024, 3:45 a.m. UTC | #1
cool. Please rebase it on top of master-next and re-send.

On Mon, Feb 19, 2024 at 4:47 PM Tim Orling <ticotimo@gmail.com> wrote:
>
> 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 ae28f34aab8c7e32e610446fe82868dc020e088a:
>
>   python3-meson-python: move to oe-core (2024-02-19 10:22:55 -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
>
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#108894): https://lists.openembedded.org/g/openembedded-devel/message/108894
> Mute This Topic: https://lists.openembedded.org/mt/104459444/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>