Rework all pytest usage to use --automake and PYTHON_PN -> python3
cover Rework all pytest usage to use --automake and PYTHON_PN -> python3
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
Signature · 1 line
2.34.1
PATCH 1/60 python3-uritemplate: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-uritemplate/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb +2 -1
@@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 2/60 python3-unidiff: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-unidiff/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +4 -3
@@ -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 \ "
Signature · 1 line
2.34.1
PATCH 3/60 python3-ujson: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-ujson/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb +7 -6
@@ -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() {
Signature · 1 line
2.34.1
PATCH 4/60 python3-pytest-lazy-fixture: switch to pytest --automake
In reply to Tim Orling--- .../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(-)
meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb +4 -1
@@ -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 \ + "
Signature · 1 line
2.34.1
PATCH 5/60 python3-fastjsonschema: switch to pytest --automake
In reply to Tim Orling--- .../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(-)
meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +1 -0
@@ -27,6 +27,7 @@ RDEPENDS:${PN}-ptest += "\ python3-pytest \ python3-pytest-benchmark \ python3-pytest-cache \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "\ python3-core \
Signature · 1 line
2.34.1
PATCH 6/60 python3-tomlkit: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb +4 -3
@@ -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() {
Signature · 1 line
2.34.1
PATCH 7/60 python3-inotify: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-inotify/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-inotify_git.bb +2 -1
@@ -26,7 +26,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 8/60 python3-requests-file: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-requests-file/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +2 -1
@@ -13,7 +13,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 9/60 python3-covdefaults: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-covdefaults/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 10/60 python3-dominate: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-dominate/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb +4 -3
@@ -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 \ "
Signature · 1 line
2.34.1
PATCH 11/60 python3-scrypt: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-scrypt/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 12/60 python3-u-msgpack-python: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +3 -2
@@ -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"
Signature · 1 line
2.34.1
PATCH 13/60 python3-iso3166: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-iso3166/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb +2 -1
@@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 14/60 python3-trustme: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-trustme/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +4 -3
@@ -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() {
Signature · 1 line
2.34.1
PATCH 15/60 python3-asgiref: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../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(-)
meta-python/recipes-devtools/python/python3-asgiref/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb +5 -4
@@ -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() {
Signature · 1 line
2.34.1
PATCH 16/60 python3-html2text: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-html2text/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb +2 -1
@@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-cgitb"
Signature · 1 line
2.34.1
PATCH 17/60 python3-pyasn1-modules: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 18/60 python3-intervals: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-intervals/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +2 -1
@@ -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() {
Signature · 1 line
2.34.1
PATCH 19/60 python3-py-cpuinfo: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +2 -1
@@ -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"
Signature · 1 line
2.34.1
PATCH 20/60 python3-backports-functools-lru-cache: drop folder
In reply to Tim OrlingThis old run-ptest file was skipped when the recipe was dropped in:620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3
--- .../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
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest deleted +0 -3
@@ -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}}'
Signature · 1 line
2.34.1
PATCH 21/60 python3-whoosh: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../python/python3-whoosh/run-ptest | 2 +- .../python/python3-whoosh_2.7.4.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-)
meta-python/recipes-devtools/python/python3-whoosh/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb +10 -9
@@ -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() {
Signature · 1 line
2.34.1
PATCH 22/60 python3-xlrd: switch to pytest --automake
In reply to Tim Orling--- 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(-)
meta-python/recipes-devtools/python/python3-xlrd/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +1 -0
@@ -30,6 +30,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 23/60 python3-dnspython: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../python/python3-dnspython/run-ptest | 2 +- .../python/python3-dnspython_2.5.0.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-)
meta-python/recipes-devtools/python/python3-dnspython/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb +10 -9
@@ -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 \ "
Signature · 1 line
2.34.1
PATCH 24/60 python3-prettytable: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../python/python3-prettytable/run-ptest | 2 +- .../python/python3-prettytable_3.9.0.bb | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-)
meta-python/recipes-devtools/python/python3-prettytable/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb +11 -10
@@ -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() {
Signature · 1 line
2.34.1
PATCH 25/60 python3-ptyprocess: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
* Remove trailing whitespace in run-ptest script
--- .../python/python3-ptyprocess/run-ptest | 4 ++-- .../python/python3-ptyprocess_0.7.0.bb | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-)
meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +2 -2
@@ -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
meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb +10 -9
@@ -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() {
Signature · 1 line
2.34.1
PATCH 26/60 python3-gunicorn: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-gunicorn/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb +5 -4
@@ -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"
Signature · 1 line
2.34.1
PATCH 27/60 python3-pytest-mock: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb +2 -1
@@ -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"
Signature · 1 line
2.34.1
PATCH 28/60 python3-pyroute2: switch to pytest --automake
In reply to Tim Orling* Sort RDEPENDS for ptest alphabetically
--- 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(-)
meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb +2 -1
@@ -27,9 +27,10 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-fcntl \ + python3-pytest \ python3-sqlite3 \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 29/60 python3-smpplib: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../python/python3-smpplib/run-ptest | 2 +- .../python/python3-smpplib_2.2.3.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-smpplib/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +7 -6
@@ -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() {
Signature · 1 line
2.34.1
PATCH 30/60 python3-pyzmq: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-pyzmq/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +5 -4
@@ -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() {
Signature · 1 line
2.34.1
PATCH 31/60 python3-multidict: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-multidict/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 32/60 python3-geojson: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-geojson/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb +2 -1
@@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 33/60 python3-serpent: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Remove trailing whitespace
--- .../recipes-devtools/python/python3-serpent/run-ptest | 2 +- .../recipes-devtools/python/python3-serpent_1.41.bb | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-serpent/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-serpent_1.41.bb +6 -5
@@ -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 \ +"
Signature · 1 line
2.34.1
PATCH 34/60 python3-soupsieve: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../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(-)
meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 35/60 python3-requests-toolbelt: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../python/python3-requests-toolbelt/run-ptest | 2 +- .../python/python3-requests-toolbelt_1.0.0.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +7 -6
@@ -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() {
Signature · 1 line
2.34.1
PATCH 36/60 python3-yarl: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-yarl/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb +7 -6
@@ -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() {
Signature · 1 line
2.34.1
PATCH 37/60 python3-cbor2: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Be consistent with tabs vs. spaces in do_install_ptest
--- .../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(-)
meta-python/recipes-devtools/python/python3-cbor2/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb +7 -6
@@ -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"
Signature · 1 line
2.34.1
PATCH 38/60 python3-ansicolors: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Be careful to point pytest at the test.py file
--- .../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(-)
meta-python/recipes-devtools/python/python3-ansicolors/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb +2 -1
@@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 39/60 python3-ipy: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-ipy/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-ipy_1.01.bb +2 -1
@@ -19,7 +19,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 40/60 python3-sqlparse: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 41/60 python3-precise-runner: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +2 -1
@@ -13,7 +13,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 42/60 python3-parse-type: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-parse-type/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 43/60 python3-inflection: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Fix some _ vs - errors
--- .../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(-)
meta-python/recipes-devtools/python/python3-inflection/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +3 -2
@@ -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"
Signature · 1 line
2.34.1
PATCH 44/60 python3-blinker: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-blinker/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb +3 -2
@@ -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() {
meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +2 -2
@@ -13,8 +13,8 @@ SRC_URI +=" \ file://run-ptest \ " -RDEPENDS:${PN}_ptest +=" \ - python3_pytest \ +RDEPENDS:${PN}-ptest +=" \ + python3-pytest \ python3-unittest-automake-output \ "
Signature · 1 line
2.34.1
PATCH 45/60 python3-service-identity: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-service-identity/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +2 -1
@@ -20,7 +20,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 46/60 python3-cachetools: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-cachetools/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 47/60 python3-simpleeval: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb +3 -2
@@ -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() {
Signature · 1 line
2.34.1
PATCH 48/60 python3-appdirs: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-appdirs/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +2 -1
@@ -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() {
Signature · 1 line
2.34.1
PATCH 49/60 python3-pillow: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../python/python3-pillow/run-ptest | 2 +- .../python/python3-pillow_10.1.0.bb | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-)
meta-python/recipes-devtools/python/python3-pillow/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb +11 -10
@@ -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)} \ "
Signature · 1 line
2.34.1
PATCH 50/60 python3-semver: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-semver/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-semver_3.0.2.bb +2 -1
@@ -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() {
Signature · 1 line
2.34.1
PATCH 51/60 python3-platformdirs: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
--- .../python/python3-platformdirs/run-ptest | 2 +- .../python/python3-platformdirs_4.2.0.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb +7 -6
@@ -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() {
Signature · 1 line
2.34.1
PATCH 52/60 python3-polyline: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-polyline/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb +2 -1
@@ -16,7 +16,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 53/60 python3-betamax: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-betamax/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb +2 -1
@@ -19,7 +19,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() {
Signature · 1 line
2.34.1
PATCH 54/60 python3-pytoml: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-pytoml/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +4 -3
@@ -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() {
Signature · 1 line
2.34.1
PATCH 55/60 python3-pyserial: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../python/python3-pyserial/run-ptest | 2 +- .../python/python3-pyserial_3.5.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-)
meta-python/recipes-devtools/python/python3-pyserial/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +10 -9
@@ -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() {
Signature · 1 line
2.34.1
PATCH 56/60 python3-typeguard: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../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(-)
meta-python/recipes-devtools/python/python3-typeguard/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb +4 -3
@@ -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() {
Signature · 1 line
2.34.1
PATCH 57/60 python3-execnet: switch to pytest --automake
In reply to Tim Orling--- 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(-)
meta-python/recipes-devtools/python/python3-execnet/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb +1 -0
@@ -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"
Signature · 1 line
2.34.1
PATCH 58/60 python3-pyyaml-include: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- .../python/python3-pyyaml-include/run-ptest | 2 +- .../python/python3-pyyaml-include_1.3.2.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb +4 -3
@@ -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 \ "
Signature · 1 line
2.34.1
PATCH 59/60 python3-xxhash: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
--- 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(-)
meta-python/recipes-devtools/python/python3-xxhash/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb +2 -1
@@ -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() {
Signature · 1 line
2.34.1
PATCH 60/60 python3-pylint: switch to pytest --automake
In reply to Tim Orling* Also replace ${PYTHON_PN} with python3
* Sort all REDEPENDS alphabetically
* Drop trailing whitespace
--- .../python/python3-pylint/run-ptest | 2 +- .../python/python3-pylint_3.0.3.bb | 56 ++++++++++--------- 2 files changed, 30 insertions(+), 28 deletions(-)
meta-python/recipes-devtools/python/python3-pylint/run-ptest +1 -1
@@ -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
meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb +29 -27
70 lines not on this page · raw message
Signature · 1 line
2.34.1