* [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3
@ 2024-02-17 0:14 Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake Tim Orling
` (59 more replies)
0 siblings, 60 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
We have long been copy-pasting the
"pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'..."
into run-ptest to make the result output conformant.
The time for this is now long gone, thanks to the "pytest --automake" option using the
python3-unittest-automake-output plugin.
We also no longer need to worry about multiple versions of python, so for all recipes touched here we
also drop the ${PYTHON_PN} in favor of the much more readable "python3". If python4 becomes a thing,
we can revisit this.
I chose to make this series individual commits per recipe, because it was not a universal approach to every
recipe.
Most of the heavy lifting of this series was done by a script:
$ cat python-ptest-cleanup.sh
#!/bin/bash
meta_python_python_pn=$(grep -l -R '\${PYTHON_PN}' meta-python | tr '\n' ' ')
meta_python_run_ptest_pytest=$(grep -l -R "pytest -o" meta-python | tr '\n' ' ')
#meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-python --inherits ptest --bare | tr '\n' ' ' |
#pcregrep -o1 '^NOTE:.+===(.+)$')
for runptest in $meta_python_run_ptest_pytest ; do
echo "BEFORE:"
cat $runptest
sed -i -e 's!-o log_cli=true -o log_cli_level=INFO | sed.*!--automake!g' $runptest
git diff
recipe=${runptest::-10}
recipe_file=${recipe}'_*.bb'
sed -i -e 's~\${PYTHON_PN}~python3~g' $(find meta-python -wholename $recipe_file)
git diff
vim $recipe_file
if [[ $(git diff) =~ PYTHON_PN ]]; then
git commit -s -a -m $(basename ${recipe})': switch to pytest --automake' -m '* Also replace ${PYTHON_PN} with python3'
else
git commit -s -a -m $(basename ${recipe})': switch to pytest --automake'
fi
git show
exit
done
Overall, ignoring the recipes in PTESTS_PROBLEMS_META_PYTHON
(meta-openembedded/meta-python/conf/include/ptest-packagelists-meta-python.inc) the results are:
==============================================================================================================
qemux86-64 PTest Result Summary
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
--------------------------------------------------------------------------------------------------------------
python3-ansicolors | 22 | 0 | 1 | 1
python3-appdirs | 6 | 0 | 0 | 1
python3-asgiref | 29 | 0 | 36 | 4
python3-aspectlib | 143 | 0 | 0 | 1
python3-blinker | 31 | 0 | 1 | 1
python3-cachetools | 201 | 0 | 0 | 0
python3-cbor2 | 662 | 0 | 0 | 5
python3-dominate | 65 | 0 | 0 | 0
python3-execnet | 283 | 0 | 563 | 21
python3-geojson | 68 | 0 | 0 | 1
python3-html2text | 168 | 0 | 0 | 4
python3-inflection | 455 | 0 | 0 | 0
python3-intervals | 57 | 0 | 0 | 1
python3-ipy | 80 | 0 | 0 | 1
python3-iso3166 | 15 | 0 | 0 | 0
python3-lz4 | 19803 | 0 | 1 | 78
python3-multidict | 840 | 0 | 2 | 1
python3-parse-type | 222 | 0 | 0 | 0
python3-platformdirs | 430 | 0 | 36 | 1
python3-polyline | 17 | 0 | 0 | 4
python3-precise-runner | 2 | 0 | 0 | 1
python3-prettytable | 0 | 0 | 0 | 1
python3-ptyprocess | 12 | 0 | 2 | 4
python3-py-cpuinfo | 154 | 0 | 5 | 14
python3-pyasn1-modules | 282 | 0 | 0 | 3
python3-pydantic | 4100 | 8 | 145 | 17
python3-pydantic-core | 3978 | 3 | 62 | 12
python3-pylint | 805 | 0 | 38 | 38
python3-pyroute2 | 103 | 0 | 0 | 1
python3-pyserial | 38 | 0 | 8 | 10
python3-pytest-mock | 60 | 0 | 4 | 3
python3-pytoml | 9 | 0 | 0 | 1
python3-pyyaml-include | 54 | 0 | 0 | 1
python3-rapidjson | 915 | 0 | 17 | 3
python3-requests-file | 9 | 0 | 2 | 0
python3-requests-toolbelt | 137 | 0 | 5 | 1
python3-semver | 328 | 0 | 0 | 1
python3-serpent | 78 | 0 | 2 | 0
python3-simpleeval | 95 | 0 | 0 | 1
python3-smpplib | 15 | 0 | 0 | 0
python3-soupsieve | 378 | 0 | 0 | 2
python3-sqlparse | 423 | 0 | 0 | 2
python3-tomlkit | 1706 | 0 | 0 | 5
python3-u-msgpack-python | 26 | 0 | 0 | 1
python3-ujson | 291 | 0 | 0 | 1
python3-unidiff | 88 | 0 | 0 | 1
python3-uritemplate | 122 | 0 | 0 | 1
python3-xmltodict | 58 | 0 | 0 | 0
python3-xxhash | 4 | 0 | 0 | 1
python3-yappi | 98 | 0 | 0 | 44
python3-yarl | 2212 | 0 | 0 | 1
--------------------------------------------------------------------------------------------------------------
==============================================================================================================
Failed test cases (sorted by testseries, ID)
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
testseries | result_id : oeqa | runtime_meta-python-image-ptest-python3-pydantic-core_qemux86-64_20240216220350
ptestresult.python3-pydantic-core.tests/validators/test_model.py:test_model_class_root_validator_after
ptestresult.python3-pydantic-core.tests/validators/test_model.py:test_model_class_root_validator_before
ptestresult.python3-pydantic-core.tests/validators/test_model.py:test_model_class_root_validator_wrap
testseries | result_id : oeqa | runtime_meta-python-image-ptest-python3-pydantic_qemux86-64_20240216220122
ptestresult.python3-pydantic.tests/test_config.py:test_config_validation_error_cause
ptestresult.python3-pydantic.tests/test_dataclasses.py:test_dataclass_config_validate_default
ptestresult.python3-pydantic.tests/test_validators.py:test_annotated_validator_nested
ptestresult.python3-pydantic.tests/test_validators.py:test_assert_raises_validation_error
ptestresult.python3-pydantic.tests/test_validators.py:test_model_config_validate_default
ptestresult.python3-pydantic.tests/test_validators.py:test_use_bare
ptestresult.python3-pydantic.tests/test_validators.py:test_use_no_fields
ptestresult.python3-pydantic.tests/test_validators.py:test_validator_bad_fields_throws_configerror
--------------------------------------------------------------------------------------------------------------
I did not take the time to figure out what is going wrong in the python3-pydantic* recipes (help wanted!)
Also, PLEASE take a look at the PTESTS_PROBLEMS_META_PYTHON recipes and see if you can fix the issues.
This series is built on top of:
poky-contrib timo/master-next/pytest-8
meta-openembedded/master-next
The following changes since commit 086eeb45d4dd241bfccaa717cf34b2692c5cbb5f:
python3-pybind11: Remove the Boost dependency (2024-02-16 09:28:34 -0800)
are available in the Git repository at:
https://git.openembedded.org/meta-openembedded-contrib timo/ptest-pytest-automake
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/ptest-pytest-automake
Tim Orling (60):
python3-uritemplate: switch to pytest --automake
python3-unidiff: switch to pytest --automake
python3-ujson: switch to pytest --automake
python3-pytest-lazy-fixture: switch to pytest --automake
python3-fastjsonschema: switch to pytest --automake
python3-tomlkit: switch to pytest --automake
python3-inotify: switch to pytest --automake
python3-requests-file: switch to pytest --automake
python3-covdefaults: switch to pytest --automake
python3-dominate: switch to pytest --automake
python3-scrypt: switch to pytest --automake
python3-u-msgpack-python: switch to pytest --automake
python3-iso3166: switch to pytest --automake
python3-trustme: switch to pytest --automake
python3-asgiref: switch to pytest --automake
python3-html2text: switch to pytest --automake
python3-pyasn1-modules: switch to pytest --automake
python3-intervals: switch to pytest --automake
python3-py-cpuinfo: switch to pytest --automake
python3-backports-functools-lru-cache: drop folder
python3-whoosh: switch to pytest --automake
python3-xlrd: switch to pytest --automake
python3-dnspython: switch to pytest --automake
python3-prettytable: switch to pytest --automake
python3-ptyprocess: switch to pytest --automake
python3-gunicorn: switch to pytest --automake
python3-pytest-mock: switch to pytest --automake
python3-pyroute2: switch to pytest --automake
python3-smpplib: switch to pytest --automake
python3-pyzmq: switch to pytest --automake
python3-multidict: switch to pytest --automake
python3-geojson: switch to pytest --automake
python3-serpent: switch to pytest --automake
python3-soupsieve: switch to pytest --automake
python3-requests-toolbelt: switch to pytest --automake
python3-yarl: switch to pytest --automake
python3-cbor2: switch to pytest --automake
python3-ansicolors: switch to pytest --automake
python3-ipy: switch to pytest --automake
python3-sqlparse: switch to pytest --automake
python3-precise-runner: switch to pytest --automake
python3-parse-type: switch to pytest --automake
python3-inflection: switch to pytest --automake
python3-blinker: switch to pytest --automake
python3-service-identity: switch to pytest --automake
python3-cachetools: switch to pytest --automake
python3-simpleeval: switch to pytest --automake
python3-appdirs: switch to pytest --automake
python3-pillow: switch to pytest --automake
python3-semver: switch to pytest --automake
python3-platformdirs: switch to pytest --automake
python3-polyline: switch to pytest --automake
python3-betamax: switch to pytest --automake
python3-pytoml: switch to pytest --automake
python3-pyserial: switch to pytest --automake
python3-typeguard: switch to pytest --automake
python3-execnet: switch to pytest --automake
python3-pyyaml-include: switch to pytest --automake
python3-xxhash: switch to pytest --automake
python3-pylint: switch to pytest --automake
.../python/python3-ansicolors/run-ptest | 2 +-
.../python/python3-ansicolors_1.1.8.bb | 3 +-
.../python/python3-appdirs/run-ptest | 2 +-
.../python/python3-appdirs_1.4.4.bb | 3 +-
.../python/python3-asgiref/run-ptest | 2 +-
.../python/python3-asgiref_3.7.2.bb | 9 +--
.../run-ptest | 3 -
.../python/python3-betamax/run-ptest | 2 +-
.../python/python3-betamax_0.8.1.bb | 3 +-
.../python/python3-blinker/run-ptest | 2 +-
.../python/python3-blinker_1.7.0.bb | 5 +-
.../python/python3-cachetools/run-ptest | 2 +-
.../python/python3-cachetools_5.3.2.bb | 5 +-
.../python/python3-cbor2/run-ptest | 2 +-
.../python/python3-cbor2_5.6.1.bb | 13 +++--
.../python/python3-covdefaults/run-ptest | 2 +-
.../python/python3-covdefaults_2.3.0.bb | 5 +-
.../python/python3-dnspython/run-ptest | 2 +-
.../python/python3-dnspython_2.5.0.bb | 19 ++++---
.../python/python3-dominate/run-ptest | 2 +-
.../python/python3-dominate_2.9.1.bb | 7 ++-
.../python/python3-execnet/run-ptest | 2 +-
.../python/python3-execnet_2.0.2.bb | 1 +
.../python/python3-fastjsonschema/run-ptest | 2 +-
.../python/python3-fastjsonschema_2.18.0.bb | 1 +
.../python/python3-geojson/run-ptest | 2 +-
.../python/python3-geojson_3.1.0.bb | 3 +-
.../python/python3-gunicorn/run-ptest | 2 +-
.../python/python3-gunicorn_21.2.0.bb | 9 +--
.../python/python3-html2text/run-ptest | 2 +-
.../python/python3-html2text_2020.1.16.bb | 3 +-
.../python/python3-inflection/run-ptest | 2 +-
.../python/python3-inflection_0.5.1.bb | 7 ++-
.../python/python3-inotify/run-ptest | 2 +-
.../python/python3-inotify_git.bb | 3 +-
.../python/python3-intervals/run-ptest | 2 +-
.../python/python3-intervals_1.10.0.bb | 3 +-
.../python/python3-ipy/run-ptest | 2 +-
.../python/python3-ipy_1.01.bb | 3 +-
.../python/python3-iso3166/run-ptest | 2 +-
.../python/python3-iso3166_2.1.1.bb | 3 +-
.../python/python3-multidict/run-ptest | 2 +-
.../python/python3-multidict_6.0.4.bb | 5 +-
.../python/python3-parse-type/run-ptest | 2 +-
.../python/python3-parse-type_0.6.2.bb | 5 +-
.../python/python3-pillow/run-ptest | 2 +-
.../python/python3-pillow_10.1.0.bb | 21 +++----
.../python/python3-platformdirs/run-ptest | 2 +-
.../python/python3-platformdirs_4.2.0.bb | 13 +++--
.../python/python3-polyline/run-ptest | 2 +-
.../python/python3-polyline_2.0.1.bb | 3 +-
.../python/python3-precise-runner/run-ptest | 2 +-
.../python/python3-precise-runner_0.3.1.bb | 3 +-
.../python/python3-prettytable/run-ptest | 2 +-
.../python/python3-prettytable_3.9.0.bb | 21 +++----
.../python/python3-ptyprocess/run-ptest | 4 +-
.../python/python3-ptyprocess_0.7.0.bb | 19 ++++---
.../python/python3-py-cpuinfo/run-ptest | 2 +-
.../python/python3-py-cpuinfo_9.0.0.bb | 3 +-
.../python/python3-pyasn1-modules/run-ptest | 2 +-
.../python/python3-pyasn1-modules_0.3.0.bb | 5 +-
.../python/python3-pylint/run-ptest | 2 +-
.../python/python3-pylint_3.0.3.bb | 56 ++++++++++---------
.../python/python3-pyroute2/run-ptest | 2 +-
.../python/python3-pyroute2_0.7.10.bb | 3 +-
.../python/python3-pyserial/run-ptest | 2 +-
.../python/python3-pyserial_3.5.bb | 19 ++++---
.../python3-pytest-lazy-fixture/run-ptest | 2 +-
.../python3-pytest-lazy-fixture_0.6.3.bb | 5 +-
.../python/python3-pytest-mock/run-ptest | 2 +-
.../python/python3-pytest-mock_3.12.0.bb | 3 +-
.../python/python3-pytoml/run-ptest | 2 +-
.../python/python3-pytoml_0.1.21.bb | 7 ++-
.../python/python3-pyyaml-include/run-ptest | 2 +-
.../python/python3-pyyaml-include_1.3.2.bb | 7 ++-
.../python/python3-pyzmq/run-ptest | 2 +-
.../python/python3-pyzmq_25.1.2.bb | 9 +--
.../python/python3-requests-file/run-ptest | 2 +-
.../python/python3-requests-file_1.5.1.bb | 3 +-
.../python3-requests-toolbelt/run-ptest | 2 +-
.../python/python3-requests-toolbelt_1.0.0.bb | 13 +++--
.../python/python3-scrypt/run-ptest | 2 +-
.../python/python3-scrypt_0.8.20.bb | 5 +-
.../python/python3-semver/run-ptest | 2 +-
.../python/python3-semver_3.0.2.bb | 3 +-
.../python/python3-serpent/run-ptest | 2 +-
.../python/python3-serpent_1.41.bb | 11 ++--
.../python/python3-service-identity/run-ptest | 2 +-
.../python/python3-service-identity_21.1.0.bb | 3 +-
.../python/python3-simpleeval/run-ptest | 2 +-
.../python/python3-simpleeval_0.9.13.bb | 5 +-
.../python/python3-smpplib/run-ptest | 2 +-
.../python/python3-smpplib_2.2.3.bb | 13 +++--
.../python/python3-soupsieve/run-ptest | 2 +-
.../python/python3-soupsieve_2.5.bb | 5 +-
.../python/python3-sqlparse/run-ptest | 2 +-
.../python/python3-sqlparse_0.4.4.bb | 5 +-
.../python/python3-tomlkit/run-ptest | 2 +-
.../python/python3-tomlkit_0.12.3.bb | 7 ++-
.../python/python3-trustme/run-ptest | 2 +-
.../python/python3-trustme_1.1.0.bb | 7 ++-
.../python/python3-typeguard/run-ptest | 2 +-
.../python/python3-typeguard_4.1.5.bb | 7 ++-
.../python/python3-u-msgpack-python/run-ptest | 2 +-
.../python/python3-u-msgpack-python_2.8.0.bb | 5 +-
.../python/python3-ujson/run-ptest | 2 +-
.../python/python3-ujson_5.9.0.bb | 13 +++--
.../python/python3-unidiff/run-ptest | 2 +-
.../python/python3-unidiff_0.7.5.bb | 7 ++-
.../python/python3-uritemplate/run-ptest | 2 +-
.../python/python3-uritemplate_4.1.1.bb | 3 +-
.../python/python3-whoosh/run-ptest | 2 +-
.../python/python3-whoosh_2.7.4.bb | 19 ++++---
.../python/python3-xlrd/run-ptest | 2 +-
.../python/python3-xlrd_2.0.1.bb | 1 +
.../python/python3-xxhash/run-ptest | 2 +-
.../python/python3-xxhash_3.4.1.bb | 3 +-
.../python/python3-yarl/run-ptest | 2 +-
.../python/python3-yarl_1.9.4.bb | 13 +++--
119 files changed, 324 insertions(+), 265 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest
--
2.34.1
^ permalink raw reply [flat|nested] 61+ messages in thread
* [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 02/60] python3-unidiff: " Tim Orling
` (58 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-uritemplate/run-ptest | 2 +-
.../recipes-devtools/python/python3-uritemplate_4.1.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest b/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb b/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb
index 3c41b1eb4f..e741b6268d 100644
--- a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb
@@ -14,7 +14,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 02/60] python3-unidiff: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 03/60] python3-ujson: " Tim Orling
` (57 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-unidiff/run-ptest | 2 +-
.../recipes-devtools/python/python3-unidiff_0.7.5.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
index 690acf8634..d77252beac 100644
--- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
+++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -21,6 +22,6 @@ do_install_ptest() {
}
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-codecs \
- ${PYTHON_PN}-io \
+ python3-codecs \
+ python3-io \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 03/60] python3-ujson: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 02/60] python3-unidiff: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 04/60] python3-pytest-lazy-fixture: " Tim Orling
` (56 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-ujson/run-ptest | 2 +-
.../recipes-devtools/python/python3-ujson_5.9.0.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb
index 8de9b030dd..b5f6be9f27 100644
--- a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb
@@ -13,17 +13,18 @@ SRC_URI += " \
file://0001-setup.py-Do-not-strip-debugging-symbols.patch \
"
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-numbers \
+ python3-datetime \
+ python3-numbers \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytz \
+ python3-json \
+ python3-pytest \
+ python3-pytz \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 04/60] python3-pytest-lazy-fixture: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (2 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 03/60] python3-ujson: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 05/60] python3-fastjsonschema: " Tim Orling
` (55 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-pytest-lazy-fixture/run-ptest | 2 +-
.../python/python3-pytest-lazy-fixture_0.6.3.bb | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
index 32b5677f1a..9c50528fb0 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
@@ -20,4 +20,7 @@ do_install_ptest() {
RDEPENDS:${PN} += "python3-core python3-pytest"
-RDEPENDS:${PN}-ptest = " python3-unixadmin"
+RDEPENDS:${PN}-ptest = " \
+ python3-unixadmin \
+ python3-unittest-automake-output \
+ "
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 05/60] python3-fastjsonschema: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (3 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 04/60] python3-pytest-lazy-fixture: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 06/60] python3-tomlkit: " Tim Orling
` (54 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-fastjsonschema/run-ptest | 2 +-
.../recipes-devtools/python/python3-fastjsonschema_2.18.0.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
index e0be7b6160..6b74f7260c 100644
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
@@ -27,6 +27,7 @@ RDEPENDS:${PN}-ptest += "\
python3-pytest \
python3-pytest-benchmark \
python3-pytest-cache \
+ python3-unittest-automake-output \
"
RDEPENDS:${PN} += "\
python3-core \
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 06/60] python3-tomlkit: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (4 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 05/60] python3-fastjsonschema: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 07/60] python3-inotify: " Tim Orling
` (53 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-tomlkit/run-ptest | 2 +-
.../recipes-devtools/python/python3-tomlkit_0.12.3.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb
index 89acd77770..d4162a110b 100644
--- a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb
+++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb
@@ -18,9 +18,10 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-poetry-core \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pyyaml \
+ python3-poetry-core \
+ python3-pytest \
+ python3-pyyaml \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 07/60] python3-inotify: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (5 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 06/60] python3-tomlkit: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 08/60] python3-requests-file: " Tim Orling
` (52 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-inotify/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-inotify_git.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-inotify/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-inotify/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb
index 2e189ddace..657f610bdd 100644
--- a/meta-python/recipes-devtools/python/python3-inotify_git.bb
+++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb
@@ -26,7 +26,8 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 08/60] python3-requests-file: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (6 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 07/60] python3-inotify: " Tim Orling
@ 2024-02-17 0:14 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 09/60] python3-covdefaults: " Tim Orling
` (51 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:14 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-requests-file/run-ptest | 2 +-
.../recipes-devtools/python/python3-requests-file_1.5.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb
index 21cdb8c127..7ff984a933 100644
--- a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb
@@ -13,7 +13,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 09/60] python3-covdefaults: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (7 preceding siblings ...)
2024-02-17 0:14 ` [meta-python][PATCH 08/60] python3-requests-file: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 10/60] python3-dominate: " Tim Orling
` (50 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-covdefaults/run-ptest | 2 +-
.../recipes-devtools/python/python3-covdefaults_2.3.0.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest b/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb
index a0ef2af828..7391c3ae2e 100644
--- a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb
@@ -16,11 +16,12 @@ S = "${WORKDIR}/git"
inherit setuptools3 ptest
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-coverage \
+ python3-coverage \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 10/60] python3-dominate: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (8 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 09/60] python3-covdefaults: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 11/60] python3-scrypt: " Tim Orling
` (49 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-dominate/run-ptest | 2 +-
.../recipes-devtools/python/python3-dominate_2.9.1.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-python/recipes-devtools/python/python3-dominate/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-dominate/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-dominate/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
index 3bd9d87547..054d5236e5 100644
--- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
@@ -11,7 +11,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -20,6 +21,6 @@ do_install_ptest() {
}
RDEPENDS:${PN} += "\
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-threading \
+ python3-numbers \
+ python3-threading \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 11/60] python3-scrypt: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (9 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 10/60] python3-dominate: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 12/60] python3-u-msgpack-python: " Tim Orling
` (48 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-scrypt/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb
index c386932683..ce0d4de9c4 100644
--- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb
+++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb
@@ -14,11 +14,12 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-ctypes \
+ python3-ctypes \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 12/60] python3-u-msgpack-python: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (10 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 11/60] python3-scrypt: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 13/60] python3-iso3166: " Tim Orling
` (47 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-u-msgpack-python/run-ptest | 2 +-
.../python/python3-u-msgpack-python_2.8.0.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
index 7110f6bc40..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO test_umsgpack.py| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
index 8baedcb951..6cde243fe8 100644
--- a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -20,7 +21,7 @@ do_install_ptest() {
}
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-datetime \
+ python3-datetime \
"
BBCLASSEXTEND = "native nativesdk"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 13/60] python3-iso3166: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (11 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 12/60] python3-u-msgpack-python: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 14/60] python3-trustme: " Tim Orling
` (46 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-iso3166/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest b/meta-python/recipes-devtools/python/python3-iso3166/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-iso3166/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb
index b32cfe5956..3aa084d10a 100644
--- a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb
@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 14/60] python3-trustme: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (12 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 13/60] python3-iso3166: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 15/60] python3-asgiref: " Tim Orling
` (45 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-trustme/run-ptest | 2 +-
.../recipes-devtools/python/python3-trustme_1.1.0.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-python/recipes-devtools/python/python3-trustme/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-trustme/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-trustme/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
index e925712f36..ac03bce2b0 100644
--- a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
@@ -20,9 +20,10 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-service-identity \
- ${PYTHON_PN}-pyasn1-modules \
+ python3-pyasn1-modules \
+ python3-pytest \
+ python3-service-identity \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 15/60] python3-asgiref: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (13 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 14/60] python3-trustme: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 16/60] python3-html2text: " Tim Orling
` (44 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-asgiref/run-ptest | 2 +-
.../recipes-devtools/python/python3-asgiref_3.7.2.bb | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb
index c9081c8cbb..b7fa9f0360 100644
--- a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb
@@ -15,10 +15,11 @@ export HOST_SYS
inherit pypi ptest setuptools3
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-asyncio \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-multiprocessing \
+ python3-asyncio \
+ python3-io \
+ python3-multiprocessing \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 16/60] python3-html2text: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (14 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 15/60] python3-asgiref: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 17/60] python3-pyasn1-modules: " Tim Orling
` (43 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-html2text/run-ptest | 2 +-
.../recipes-devtools/python/python3-html2text_2020.1.16.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-html2text/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb
index 5b6d040368..d96f61bdc7 100644
--- a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb
+++ b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb
@@ -14,7 +14,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
RDEPENDS:${PN} += "python3-cgitb"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 17/60] python3-pyasn1-modules: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (15 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 16/60] python3-html2text: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 18/60] python3-intervals: " Tim Orling
` (42 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-pyasn1-modules/run-ptest | 2 +-
.../recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb
index d158876fcd..ccd6025be1 100644
--- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "pyasn1_modules"
inherit pypi ptest setuptools3
-RDEPENDS:${PN} = "${PYTHON_PN}-pyasn1"
+RDEPENDS:${PN} = "python3-pyasn1"
BBCLASSEXTEND = "native nativesdk"
@@ -21,7 +21,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 18/60] python3-intervals: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (16 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 17/60] python3-pyasn1-modules: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 19/60] python3-py-cpuinfo: " Tim Orling
` (41 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-intervals/run-ptest | 2 +-
.../recipes-devtools/python/python3-intervals_1.10.0.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest
index 357d8cb987..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-intervals/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO test_intervals.py| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
index abf87c597c..3c5be47806 100644
--- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
@@ -14,7 +14,8 @@ SRC_URI += " \
inherit pypi setuptools3 ptest
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 19/60] python3-py-cpuinfo: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (17 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 18/60] python3-intervals: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 20/60] python3-backports-functools-lru-cache: drop folder Tim Orling
` (40 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-py-cpuinfo/run-ptest | 2 +-
.../recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb
index 84172c058e..857afd1db7 100644
--- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb
@@ -17,7 +17,7 @@ SRC_URI += "file://run-ptest \
do_install:append() {
# Make sure we use /usr/bin/env python3
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
- sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
+ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
done
}
@@ -28,6 +28,7 @@ do_install_ptest() {
RDEPENDS:${PN}-ptest += "\
python3-pytest \
+ python3-unittest-automake-output \
"
RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 20/60] python3-backports-functools-lru-cache: drop folder
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (18 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 19/60] python3-py-cpuinfo: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 21/60] python3-whoosh: switch to pytest --automake Tim Orling
` (39 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
This old run-ptest file was skipped when the recipe was dropped in:
620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-backports-functools-lru-cache/run-ptest | 3 ---
1 file changed, 3 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest
diff --git a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest
deleted file mode 100644
index b63c4de0d9..0000000000
--- a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 21/60] python3-whoosh: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (19 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 20/60] python3-backports-functools-lru-cache: drop folder Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 22/60] python3-xlrd: " Tim Orling
` (38 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-whoosh/run-ptest | 2 +-
.../python/python3-whoosh_2.7.4.bb | 19 ++++++++++---------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
index ed2a6d423f..38d3e1cecd 100644
--- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
+++ b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
@@ -16,13 +16,13 @@ PYPI_PACKAGE_EXT = "zip"
inherit ptest pypi setuptools3
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-email \
- ${PYTHON_PN}-multiprocessing \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-pickle \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-stringold \
+ python3-email \
+ python3-multiprocessing \
+ python3-netclient \
+ python3-numbers \
+ python3-pickle \
+ python3-shell \
+ python3-stringold \
"
SRC_URI += " \
@@ -30,8 +30,9 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-fcntl \
+ python3-fcntl \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 22/60] python3-xlrd: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (20 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 21/60] python3-whoosh: switch to pytest --automake Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 23/60] python3-dnspython: " Tim Orling
` (37 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-xlrd/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
index 5e63d3c307..8a9af14d3e 100644
--- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
@@ -30,6 +30,7 @@ RDEPENDS:${PN} += " \
RDEPENDS:${PN}-ptest += " \
python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 23/60] python3-dnspython: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (21 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 22/60] python3-xlrd: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 24/60] python3-prettytable: " Tim Orling
` (36 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-dnspython/run-ptest | 2 +-
.../python/python3-dnspython_2.5.0.bb | 19 ++++++++++---------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-dnspython/run-ptest b/meta-python/recipes-devtools/python/python3-dnspython/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-dnspython/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-dnspython/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb
index 6b7212b9b5..c5c8d42e2d 100644
--- a/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb
@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -21,15 +22,15 @@ do_install_ptest() {
}
DEPENDS += "\
- ${PYTHON_PN}-wheel-native \
- ${PYTHON_PN}-setuptools-scm-native \
+ python3-wheel-native \
+ python3-setuptools-scm-native \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-crypt \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-math \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-threading \
+ python3-crypt \
+ python3-io \
+ python3-math \
+ python3-netclient \
+ python3-numbers \
+ python3-threading \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 24/60] python3-prettytable: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (22 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 23/60] python3-dnspython: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 25/60] python3-ptyprocess: " Tim Orling
` (35 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-prettytable/run-ptest | 2 +-
.../python/python3-prettytable_3.9.0.bb | 21 ++++++++++---------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb
index c1e394d9b3..ba75057f59 100644
--- a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb
@@ -20,22 +20,23 @@ SRC_URI += " \
"
DEPENDS += "\
- ${PYTHON_PN}-hatch-vcs-native \
+ python3-hatch-vcs-native \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-math \
- ${PYTHON_PN}-html \
- ${PYTHON_PN}-wcwidth \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-compression \
- ${PYTHON_PN}-importlib-metadata \
+ python3-math \
+ python3-html \
+ python3-wcwidth \
+ python3-json \
+ python3-compression \
+ python3-importlib-metadata \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytest-lazy-fixture \
- ${PYTHON_PN}-sqlite3 \
+ python3-pytest \
+ python3-pytest-lazy-fixture \
+ python3-sqlite3 \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 25/60] python3-ptyprocess: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (23 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 24/60] python3-prettytable: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 26/60] python3-gunicorn: " Tim Orling
` (34 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
* Remove trailing whitespace in run-ptest script
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-ptyprocess/run-ptest | 4 ++--
.../python/python3-ptyprocess_0.7.0.bb | 19 ++++++++++---------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
index 15c3f6282d..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 2a8b8730c4..4abec0a01c 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
@@ -15,10 +15,10 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
S = "${WORKDIR}/${SRCNAME}-${PV}"
RDEPENDS:${PN} = "\
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-fcntl \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-resource \
+ python3-core \
+ python3-fcntl \
+ python3-terminal \
+ python3-resource \
"
BBCLASSEXTEND = "native nativesdk"
@@ -30,11 +30,12 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-fcntl \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-resource \
- bash \
+ bash \
+ python3-fcntl \
+ python3-pytest \
+ python3-resource \
+ python3-terminal \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 26/60] python3-gunicorn: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (24 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 25/60] python3-ptyprocess: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 27/60] python3-pytest-mock: " Tim Orling
` (33 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-gunicorn/run-ptest | 2 +-
.../recipes-devtools/python/python3-gunicorn_21.2.0.bb | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest b/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest
index 98d73fa037..5ca7e26e8a 100644
--- a/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest
@@ -4,4 +4,4 @@
# ptests to work, so make sure there's at least one nameserver line
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb
index d765c8fd05..9fd601c999 100644
--- a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb
@@ -12,9 +12,10 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-eventlet \
- ${PYTHON_PN}-gevent \
- ${PYTHON_PN}-pytest \
+ python3-eventlet \
+ python3-gevent \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -22,4 +23,4 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
-RDEPENDS:${PN} += "${PYTHON_PN}-setuptools ${PYTHON_PN}-fcntl"
+RDEPENDS:${PN} += "python3-setuptools python3-fcntl"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 27/60] python3-pytest-mock: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (25 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 26/60] python3-gunicorn: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 28/60] python3-pyroute2: " Tim Orling
` (32 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-pytest-mock/run-ptest | 2 +-
.../recipes-devtools/python/python3-pytest-mock_3.12.0.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
index bad3df11ae..e9a9a4fbc5 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
@@ -15,13 +15,14 @@ SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"
inherit setuptools3 ptest
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += " \
python3-asyncio \
python3-pytest \
python3-pytest-asyncio \
python3-unittest \
+ python3-unittest-automake-output \
"
S = "${WORKDIR}/git"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 28/60] python3-pyroute2: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (26 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 27/60] python3-pytest-mock: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 29/60] python3-smpplib: " Tim Orling
` (31 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-pyroute2/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest
index ea429ba21e..f1c8729f0e 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest
@@ -1,4 +1,4 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
index 6b340a18ce..740a6d7f73 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
@@ -27,9 +27,10 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- python3-pytest \
python3-fcntl \
+ python3-pytest \
python3-sqlite3 \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 29/60] python3-smpplib: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (27 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 28/60] python3-pyroute2: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 30/60] python3-pyzmq: " Tim Orling
` (30 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-smpplib/run-ptest | 2 +-
.../python/python3-smpplib_2.2.3.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
index 25f8f6afdd..7979f04c5b 100644
--- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
@@ -13,15 +13,16 @@ SRC_URI += " \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-logging \
- ${PYTHON_PN}-six \
+ python3-logging \
+ python3-six \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-unittest \
- ${PYTHON_PN}-profile \
- ${PYTHON_PN}-mock \
+ python3-mock \
+ python3-profile \
+ python3-pytest \
+ python3-unittest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 30/60] python3-pyzmq: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (28 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 29/60] python3-smpplib: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 31/60] python3-multidict: " Tim Orling
` (29 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-pyzmq/run-ptest | 2 +-
.../recipes-devtools/python/python3-pyzmq_25.1.2.bb | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
index 658dbe6e25..5793db55f6 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
@@ -26,13 +26,14 @@ FILES:${PN}-test += "\
"
RDEPENDS:${PN} += "\
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-multiprocessing \
+ python3-json \
+ python3-multiprocessing \
"
RDEPENDS:${PN}-ptest += "\
- ${PN}-test \
- ${PYTHON_PN}-pytest \
+ ${PN}-test \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_compile:prepend() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 31/60] python3-multidict: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (29 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 30/60] python3-pyzmq: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 32/60] python3-geojson: " Tim Orling
` (28 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-multidict/run-ptest | 2 +-
.../recipes-devtools/python/python3-multidict_6.0.4.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
index e4f3b623ab..d74acaf564 100644
--- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
@@ -1,2 +1,2 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
index b057e05f65..19b94dee02 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
@@ -18,8 +18,9 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytest-cov \
+ python3-pytest \
+ python3-pytest-cov \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 32/60] python3-geojson: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (30 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 31/60] python3-multidict: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 33/60] python3-serpent: " Tim Orling
` (27 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-geojson/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-python/recipes-devtools/python/python3-geojson/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-geojson/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-geojson/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
index 79ad228d1c..742f921e59 100644
--- a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 33/60] python3-serpent: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (31 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 32/60] python3-geojson: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 34/60] python3-soupsieve: " Tim Orling
` (26 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Remove trailing whitespace
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-serpent/run-ptest | 2 +-
.../recipes-devtools/python/python3-serpent_1.41.bb | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-serpent/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
index 480e3ab388..941b5ee0f3 100644
--- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
+++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
@@ -11,8 +11,9 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytz \
+ python3-pytest \
+ python3-pytz \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -21,6 +22,6 @@ do_install_ptest() {
}
RDEPENDS:${PN} += "\
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers \
-"
+ python3-netclient \
+ python3-numbers \
+"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 34/60] python3-soupsieve: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (32 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 33/60] python3-serpent: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 35/60] python3-requests-toolbelt: " Tim Orling
` (25 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-soupsieve/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb
index 42c07fb4cb..d26a13dfbd 100644
--- a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb
+++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb
@@ -13,8 +13,9 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-beautifulsoup4 \
+ python3-beautifulsoup4 \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 35/60] python3-requests-toolbelt: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (33 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 34/60] python3-soupsieve: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 36/60] python3-yarl: " Tim Orling
` (24 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-requests-toolbelt/run-ptest | 2 +-
.../python/python3-requests-toolbelt_1.0.0.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb
index 2534c1c62c..9cbe4927a2 100644
--- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb
@@ -14,15 +14,16 @@ SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c8
inherit pypi setuptools3 ptest
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-requests (>=2.0.1) \
+ python3-requests (>=2.0.1) \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-betamax \
- ${PYTHON_PN}-mock \
- ${PYTHON_PN}-multiprocessing \
- ${PYTHON_PN}-trustme \
+ python3-betamax \
+ python3-mock \
+ python3-multiprocessing \
+ python3-pytest \
+ python3-trustme \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 36/60] python3-yarl: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (34 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 35/60] python3-requests-toolbelt: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 37/60] python3-cbor2: " Tim Orling
` (23 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-yarl/run-ptest | 2 +-
.../recipes-devtools/python/python3-yarl_1.9.4.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-python/recipes-devtools/python/python3-yarl/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-yarl/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-yarl/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb b/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb
index d9fe4c0c4c..29897b7f1c 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb
@@ -12,18 +12,19 @@ PYPI_PACKAGE = "yarl"
inherit pypi ptest python_setuptools_build_meta
DEPENDS += " \
- ${PYTHON_PN}-expandvars-native \
- ${PYTHON_PN}-cython-native \
+ python3-expandvars-native \
+ python3-cython-native \
"
RDEPENDS:${PN} = "\
- ${PYTHON_PN}-multidict \
- ${PYTHON_PN}-idna \
- ${PYTHON_PN}-io \
+ python3-multidict \
+ python3-idna \
+ python3-io \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 37/60] python3-cbor2: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (35 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 36/60] python3-yarl: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 38/60] python3-ansicolors: " Tim Orling
` (22 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Be consistent with tabs vs. spaces in do_install_ptest
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-cbor2/run-ptest | 2 +-
.../recipes-devtools/python/python3-cbor2_5.6.1.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb
index 2c1b0e67a1..e2493e4e1f 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
-DEPENDS +="${PYTHON_PN}-setuptools-scm-native"
+DEPENDS +="python3-setuptools-scm-native"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
@@ -15,18 +15,19 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-hypothesis \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-unixadmin \
+ python3-hypothesis \
+ python3-pytest \
+ python3-unittest-automake-output \
+ python3-unixadmin \
"
do_install_ptest() {
- install -d ${D}${PTEST_PATH}/tests
+ install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-datetime \
+ python3-datetime \
"
BBCLASSEXTEND = "native nativesdk"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 38/60] python3-ansicolors: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (36 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 37/60] python3-cbor2: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 39/60] python3-ipy: " Tim Orling
` (21 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Be careful to point pytest at the test.py file
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-ansicolors/run-ptest | 2 +-
.../recipes-devtools/python/python3-ansicolors_1.1.8.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest b/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest
index 7dc3ef32be..922353a1f3 100644
--- a/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO test.py| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake test.py
diff --git a/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb b/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb
index 0e32443992..b63cc32a23 100644
--- a/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb
+++ b/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb
@@ -14,7 +14,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 39/60] python3-ipy: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (37 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 38/60] python3-ansicolors: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 40/60] python3-sqlparse: " Tim Orling
` (20 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-ipy/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-ipy_1.01.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-python/recipes-devtools/python/python3-ipy/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-ipy/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ipy/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
index 8e7b5b987e..36d0b9ae27 100644
--- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
+++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb
@@ -19,7 +19,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 40/60] python3-sqlparse: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (38 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 39/60] python3-ipy: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 41/60] python3-precise-runner: " Tim Orling
` (19 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-sqlparse/run-ptest | 2 +-
.../recipes-devtools/python/python3-sqlparse_0.4.4.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb
index e4ac403eb5..c04971ee8f 100644
--- a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb
+++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb
@@ -16,8 +16,9 @@ export HOST_SYS
inherit pypi ptest python_flit_core
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-unixadmin \
+ python3-pytest \
+ python3-unittest-automake-output \
+ python3-unixadmin \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 41/60] python3-precise-runner: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (39 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 40/60] python3-sqlparse: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 42/60] python3-parse-type: " Tim Orling
` (18 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-precise-runner/run-ptest | 2 +-
.../recipes-devtools/python/python3-precise-runner_0.3.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
index 9e5435bada..1fb72de126 100644
--- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb
@@ -13,7 +13,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 42/60] python3-parse-type: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (40 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 41/60] python3-precise-runner: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 43/60] python3-inflection: " Tim Orling
` (17 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-parse-type/run-ptest | 2 +-
.../recipes-devtools/python/python3-parse-type_0.6.2.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-parse-type/run-ptest b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-parse-type/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
index 99493db322..a7d8cd86ce 100644
--- a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
+++ b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
@@ -8,14 +8,15 @@ SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a
PYPI_PACKAGE = "parse_type"
inherit pypi ptest setuptools3
-RDEPENDS:${PN} += "${PYTHON_PN}-parse"
+RDEPENDS:${PN} += "python3-parse"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 43/60] python3-inflection: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (41 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 42/60] python3-parse-type: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 44/60] python3-blinker: " Tim Orling
` (16 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Fix some _ vs - errors
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-inflection/run-ptest | 2 +-
.../recipes-devtools/python/python3-inflection_0.5.1.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-inflection/run-ptest b/meta-python/recipes-devtools/python/python3-inflection/run-ptest
index 0caffb794c..f1c8729f0e 100644
--- a/meta-python/recipes-devtools/python/python3-inflection/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-inflection/run-ptest
@@ -1,4 +1,4 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO test_inflection.py | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
index ea3b76d511..dbde8963e6 100644
--- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
@@ -14,7 +14,8 @@ SRC_URI +=" \
"
RDEPENDS:${PN}_ptest +=" \
- ${PYTHON_PN}_pytest \
+ python3_pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
@@ -22,6 +23,6 @@ do_install_ptest() {
}
-RDEPENDS:${PN} += "${PYTHON_PN}-pytest"
+RDEPENDS:${PN} += "python3-pytest"
BBCLASSEXTEND = "native nativesdk"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 44/60] python3-blinker: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (42 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 43/60] python3-inflection: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 45/60] python3-service-identity: " Tim Orling
` (15 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-blinker/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb | 5 +++--
.../recipes-devtools/python/python3-inflection_0.5.1.bb | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-python/recipes-devtools/python/python3-blinker/run-ptest
index 15c3f6282d..69cd362f69 100644
--- a/meta-python/recipes-devtools/python/python3-blinker/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-blinker/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb
index f1d8b4fa95..8f2cf4883d 100644
--- a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb
@@ -9,11 +9,12 @@ inherit pypi python_setuptools_build_meta ptest
SRC_URI += "file://run-ptest"
RDEPENDS:${PN} += "\
- ${PYTHON_PN}-asyncio \
+ python3-asyncio \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
index dbde8963e6..5c6f4e2356 100644
--- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
@@ -13,8 +13,8 @@ SRC_URI +=" \
file://run-ptest \
"
-RDEPENDS:${PN}_ptest +=" \
- python3_pytest \
+RDEPENDS:${PN}-ptest +=" \
+ python3-pytest \
python3-unittest-automake-output \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 45/60] python3-service-identity: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (43 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 44/60] python3-blinker: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 46/60] python3-cachetools: " Tim Orling
` (14 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-service-identity/run-ptest | 2 +-
.../recipes-devtools/python/python3-service-identity_21.1.0.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
index c3c26dda38..0a2f2728b7 100644
--- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb
@@ -20,7 +20,8 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 46/60] python3-cachetools: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (44 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 45/60] python3-service-identity: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 47/60] python3-simpleeval: " Tim Orling
` (13 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-cachetools/run-ptest | 2 +-
.../recipes-devtools/python/python3-cachetools_5.3.2.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb
index 5946c267aa..22060ef049 100644
--- a/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb
@@ -15,11 +15,12 @@ SRC_URI += " \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-math \
+ python3-math \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 47/60] python3-simpleeval: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (45 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 46/60] python3-cachetools: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 48/60] python3-appdirs: " Tim Orling
` (12 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-simpleeval/run-ptest | 2 +-
.../recipes-devtools/python/python3-simpleeval_0.9.13.bb | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb
index 35cd19ffef..af2c4a1e2e 100644
--- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb
+++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb
@@ -12,11 +12,12 @@ BBCLASSEXTEND = "native nativesdk"
SRC_URI += "file://run-ptest"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-math \
+ python3-math \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 48/60] python3-appdirs: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (46 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 47/60] python3-simpleeval: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 49/60] python3-pillow: " Tim Orling
` (11 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-appdirs/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
index 95d1ac05ac..ad07b3b082 100644
--- a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
+++ b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb
@@ -12,7 +12,8 @@ SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27
inherit pypi setuptools3 ptest
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 49/60] python3-pillow: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (47 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 48/60] python3-appdirs: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 50/60] python3-semver: " Tim Orling
` (10 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-pillow/run-ptest | 2 +-
.../python/python3-pillow_10.1.0.bb | 21 ++++++++++---------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest
index 3385d68939..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pillow/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
index 1cc833e1ba..91b02ea017 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
@@ -27,9 +27,9 @@ DEPENDS += " \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-misc \
- ${PYTHON_PN}-logging \
- ${PYTHON_PN}-numbers \
+ python3-misc \
+ python3-logging \
+ python3-numbers \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \
"
@@ -38,13 +38,14 @@ RDEPENDS:${PN}-ptest += " \
ghostscript \
jpeg-tools \
libwebp \
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-image \
- ${PYTHON_PN}-mmap \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytest-timeout \
- ${PYTHON_PN}-resource \
- ${PYTHON_PN}-unixadmin\
+ python3-core \
+ python3-image \
+ python3-mmap \
+ python3-pytest \
+ python3-pytest-timeout \
+ python3-resource \
+ python3-unittest-automake-output \
+ python3-unixadmin\
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 50/60] python3-semver: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (48 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 49/60] python3-pillow: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 51/60] python3-platformdirs: " Tim Orling
` (9 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-semver/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-semver_3.0.2.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-python/recipes-devtools/python/python3-semver/run-ptest
index cd2bc8537c..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-semver/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-semver/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO tests/test_semver.py --disable-warnings| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
index f90ea0c9dc..25222bb5ff 100644
--- a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
@@ -17,7 +17,8 @@ SRC_URI += " \
DEPENDS += " python3-setuptools-scm-native"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 51/60] python3-platformdirs: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (49 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 50/60] python3-semver: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 52/60] python3-polyline: " Tim Orling
` (8 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-platformdirs/run-ptest | 2 +-
.../python/python3-platformdirs_4.2.0.bb | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb
index ea25f878cc..19c95b374a 100644
--- a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb
@@ -12,15 +12,16 @@ SRC_URI[sha256sum] = "ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8dd
inherit pypi python_hatchling ptest
DEPENDS += " \
- ${PYTHON_PN}-hatch-vcs-native \
+ python3-hatch-vcs-native \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-appdirs \
- ${PYTHON_PN}-covdefaults \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytest-mock \
- ${PYTHON_PN}-pytest-cov \
+ python3-appdirs \
+ python3-covdefaults \
+ python3-pytest \
+ python3-pytest-cov \
+ python3-pytest-mock \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 52/60] python3-polyline: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (50 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 51/60] python3-platformdirs: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 53/60] python3-betamax: " Tim Orling
` (7 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-polyline/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-python/recipes-devtools/python/python3-polyline/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-polyline/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb
index 2eae0caf9c..4abe167f7b 100644
--- a/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb
@@ -16,7 +16,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 53/60] python3-betamax: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (51 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 52/60] python3-polyline: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 54/60] python3-pytoml: " Tim Orling
` (6 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-betamax/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-betamax/run-ptest b/meta-python/recipes-devtools/python/python3-betamax/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-betamax/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-betamax/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb b/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb
index feb9ab3e27..468a1075b1 100644
--- a/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb
@@ -19,7 +19,8 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 54/60] python3-pytoml: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (52 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 53/60] python3-betamax: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 55/60] python3-pyserial: " Tim Orling
` (5 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-pytoml/run-ptest | 2 +-
.../recipes-devtools/python/python3-pytoml_0.1.21.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
index 0f04a12039..1717085967 100644
--- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
+++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
@@ -16,12 +16,13 @@ SRC_URI += " \
"
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-stringold \
+ python3-datetime \
+ python3-stringold \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 55/60] python3-pyserial: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (53 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 54/60] python3-pytoml: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 56/60] python3-typeguard: " Tim Orling
` (4 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-pyserial/run-ptest | 2 +-
.../python/python3-pyserial_3.5.bb | 19 ++++++++++---------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest
index e301963f96..b651411db7 100644
--- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest
@@ -1,4 +1,4 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
index 15646235df..ade137a385 100644
--- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
@@ -37,14 +37,14 @@ FILES:${PN}-win32 = " \
"
RDEPENDS:${PN} = "\
- ${PYTHON_PN}-fcntl \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-logging \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-stringold \
- ${PYTHON_PN}-threading \
+ python3-fcntl \
+ python3-io \
+ python3-logging \
+ python3-netclient \
+ python3-numbers \
+ python3-shell \
+ python3-stringold \
+ python3-threading \
"
BBCLASSEXTEND = "native nativesdk"
@@ -54,7 +54,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 56/60] python3-typeguard: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (54 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 55/60] python3-pyserial: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 57/60] python3-execnet: " Tim Orling
` (3 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../recipes-devtools/python/python3-typeguard/run-ptest | 2 +-
.../recipes-devtools/python/python3-typeguard_4.1.5.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb
index 53a02dc4bc..000620ef73 100644
--- a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb
+++ b/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb
@@ -17,9 +17,10 @@ RDEPENDS:${PN} += " \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-typing-extensions \
- ${PYTHON_PN}-unixadmin \
+ python3-pytest \
+ python3-typing-extensions \
+ python3-unittest-automake-output \
+ python3-unixadmin \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 57/60] python3-execnet: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (55 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 56/60] python3-typeguard: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 58/60] python3-pyyaml-include: " Tim Orling
` (2 subsequent siblings)
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-execnet/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-execnet/run-ptest b/meta-python/recipes-devtools/python/python3-execnet/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-execnet/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-execnet/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb
index a934d1c461..78a15d3572 100644
--- a/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb
@@ -24,6 +24,7 @@ do_install_ptest() {
RDEPENDS:${PN}-ptest += "\
python3-pytest \
+ python3-unittest-automake-output \
"
RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 58/60] python3-pyyaml-include: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (56 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 57/60] python3-execnet: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 59/60] python3-xxhash: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 60/60] python3-pylint: " Tim Orling
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-pyyaml-include/run-ptest | 2 +-
.../python/python3-pyyaml-include_1.3.2.bb | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest
index 3385d68939..8d2017d39c 100755
--- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
index 9bfaa21946..3a5bd99a78 100644
--- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
@@ -2,7 +2,7 @@ SUMMARY = "Extending PyYAML with a custom constructor for including YAML files w
HOMEPAGE = "https://github.com/tanbro/pyyaml-include"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native"
SRCREV = "36b6975aa8fc7a6cbf37de40aa2ed6d996b2f7be"
SRC_URI = " \
@@ -20,9 +20,10 @@ do_install_ptest() {
}
RDEPENDS:${PN} += " \
- ${PYTHON_PN}-pyyaml \
+ python3-pyyaml \
"
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 59/60] python3-xxhash: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (57 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 58/60] python3-pyyaml-include: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 60/60] python3-pylint: " Tim Orling
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
meta-python/recipes-devtools/python/python3-xxhash/run-ptest | 2 +-
meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest
index e398fa8ca0..72c918c1a1 100644
--- a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest tests/test.py -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --automake tests/test.py
diff --git a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb b/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb
index 4050d12eb9..be9ce005ea 100644
--- a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb
@@ -14,7 +14,8 @@ SRC_URI += " \
inherit pypi python_setuptools_build_meta ptest
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
+ python3-pytest \
+ python3-unittest-automake-output \
"
do_install_ptest() {
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [meta-python][PATCH 60/60] python3-pylint: switch to pytest --automake
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
` (58 preceding siblings ...)
2024-02-17 0:15 ` [meta-python][PATCH 59/60] python3-xxhash: " Tim Orling
@ 2024-02-17 0:15 ` Tim Orling
59 siblings, 0 replies; 61+ messages in thread
From: Tim Orling @ 2024-02-17 0:15 UTC (permalink / raw)
To: openembedded-devel
* Also replace ${PYTHON_PN} with python3
* Sort all REDEPENDS alphabetically
* Drop trailing whitespace
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-pylint/run-ptest | 2 +-
.../python/python3-pylint_3.0.3.bb | 56 ++++++++++---------
2 files changed, 30 insertions(+), 28 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest
index 2a4e87e03a..ed424cb879 100644
--- a/meta-python/recipes-devtools/python/python3-pylint/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pylint/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest --benchmark-disable -vv --minimal-messages-config tests/test_functional.py | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest --benchmark-disable -vv --minimal-messages-config --automake tests/test_functional.py
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb
index cc33edd829..eb4b9e897f 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb
@@ -10,34 +10,36 @@ SRCREV = "1a5ffc1f447b77071ffe18a9c6836c09147ee2ed"
inherit python_setuptools_build_meta ptest
-RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
- ${PYTHON_PN}-dill \
- ${PYTHON_PN}-isort \
- ${PYTHON_PN}-mccabe \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-platformdirs \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-pkgutil \
- ${PYTHON_PN}-difflib \
- ${PYTHON_PN}-netserver \
- ${PYTHON_PN}-tomlkit \
- "
+RDEPENDS:${PN} += "\
+ python3-astroid \
+ python3-difflib \
+ python3-dill \
+ python3-isort \
+ python3-json \
+ python3-mccabe \
+ python3-netserver \
+ python3-numbers \
+ python3-pkgutil \
+ python3-platformdirs \
+ python3-shell \
+ python3-tomlkit \
+ "
RDEPENDS:${PN}-ptest += " \
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-git \
- ${PYTHON_PN}-py \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-pytest-benchmark \
- ${PYTHON_PN}-pytest-runner \
- ${PYTHON_PN}-pytest-timeout \
- ${PYTHON_PN}-pytest-xdist \
- ${PYTHON_PN}-requests \
- ${PYTHON_PN}-statistics \
- ${PYTHON_PN}-tomllib \
- ${PYTHON_PN}-typing-extensions \
- "
+ python3-core \
+ python3-git \
+ python3-py \
+ python3-pytest \
+ python3-pytest-benchmark \
+ python3-pytest-runner \
+ python3-pytest-timeout \
+ python3-pytest-xdist \
+ python3-requests \
+ python3-statistics \
+ python3-tomllib \
+ python3-typing-extensions \
+ python3-unittest-automake-output \
+ "
S = "${WORKDIR}/git"
@@ -46,7 +48,7 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
- # regression_distutil_import_error_73.py fails to run see
+ # regression_distutil_import_error_73.py fails to run see
# https://lists.openembedded.org/g/openembedded-devel/topic/103181847
rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py
}
--
2.34.1
^ permalink raw reply related [flat|nested] 61+ messages in thread
end of thread, other threads:[~2024-02-17 0:17 UTC | newest]
Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-17 0:14 [meta-python][PATCH 00/60] Rework all pytest usage to use --automake and PYTHON_PN -> python3 Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 02/60] python3-unidiff: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 03/60] python3-ujson: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 04/60] python3-pytest-lazy-fixture: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 05/60] python3-fastjsonschema: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 06/60] python3-tomlkit: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 07/60] python3-inotify: " Tim Orling
2024-02-17 0:14 ` [meta-python][PATCH 08/60] python3-requests-file: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 09/60] python3-covdefaults: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 10/60] python3-dominate: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 11/60] python3-scrypt: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 12/60] python3-u-msgpack-python: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 13/60] python3-iso3166: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 14/60] python3-trustme: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 15/60] python3-asgiref: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 16/60] python3-html2text: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 17/60] python3-pyasn1-modules: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 18/60] python3-intervals: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 19/60] python3-py-cpuinfo: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 20/60] python3-backports-functools-lru-cache: drop folder Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 21/60] python3-whoosh: switch to pytest --automake Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 22/60] python3-xlrd: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 23/60] python3-dnspython: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 24/60] python3-prettytable: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 25/60] python3-ptyprocess: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 26/60] python3-gunicorn: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 27/60] python3-pytest-mock: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 28/60] python3-pyroute2: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 29/60] python3-smpplib: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 30/60] python3-pyzmq: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 31/60] python3-multidict: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 32/60] python3-geojson: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 33/60] python3-serpent: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 34/60] python3-soupsieve: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 35/60] python3-requests-toolbelt: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 36/60] python3-yarl: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 37/60] python3-cbor2: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 38/60] python3-ansicolors: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 39/60] python3-ipy: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 40/60] python3-sqlparse: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 41/60] python3-precise-runner: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 42/60] python3-parse-type: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 43/60] python3-inflection: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 44/60] python3-blinker: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 45/60] python3-service-identity: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 46/60] python3-cachetools: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 47/60] python3-simpleeval: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 48/60] python3-appdirs: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 49/60] python3-pillow: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 50/60] python3-semver: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 51/60] python3-platformdirs: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 52/60] python3-polyline: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 53/60] python3-betamax: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 54/60] python3-pytoml: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 55/60] python3-pyserial: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 56/60] python3-typeguard: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 57/60] python3-execnet: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 58/60] python3-pyyaml-include: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 59/60] python3-xxhash: " Tim Orling
2024-02-17 0:15 ` [meta-python][PATCH 60/60] python3-pylint: " Tim Orling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.