summaryrefslogtreecommitdiffstats
path: root/meta-python/conf/include
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-parse: re-add functional ptestsDerek Straka2024-02-211-1/+1
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-parse -c testimage Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-msgpack: re-add functional ptestsDerek Straka2024-02-211-1/+0
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-msgpack -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-jdcal: re-add functional ptestsDerek Straka2024-02-211-1/+0
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-jdcal -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-lazy-fixture: drop recipeTim Orling2024-02-191-1/+0
| | | | | | | | | | | | | | This recipe is no longer maintained (since 2020) and is not compliant with python3-pytest_8.0.0+. The only dependency in meta-python was the old version of python3-prettytable-ptest, which now RDEPENDS upon python3-pytest-lazy-fixtures (with the s). * Drop the recipe * Drop it from packagegroup-meta-python * Drop it from PTEST_PROBLEMS in ptest-packagelists-meta-python.inc Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-license-expression: re-enable passing ptests for the packageDerek Straka2024-02-191-1/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-inotify: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gunicorn: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-trustme: add runtime dependency for tests and re-add to ptestDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ujson: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-ujson on qemu86-64 291 passed in 9.08s. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yarl: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-yarl on qemu86-64 1106 passed, 5 xfailed in 22.83s. xfailed tests are known failures upstream Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-appdirs: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | | | | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-appdirs on qemu86-64 root@qemux86-64:/usr/lib/python3-appdirs/ptest# ./run-ptest ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0 rootdir: /usr/lib/python3-appdirs/ptest collected 3 items PASS: test/test_api.py::Test_AppDir::test_dirs PASS: test/test_api.py::Test_AppDir::test_helpers PASS: test/test_api.py::Test_AppDir::test_metadata ============================== 3 passed in 0.19s =============================== Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyyaml-include: add initial recipe for version 1.3.2Derek Straka2024-02-141-0/+1
| | | | | | | | | Add a recipe for the pyyaml-include package that extends PyYAML to include YAML files within YAML files. Add a ptest to run the unit tests and include the tests as part of the package lists in meta-python Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-multidict: Fix running ptestsKhem Raj2024-01-211-1/+1
| | | | | | | Add missing runtime dependency on pytest-cov and move the test to PTESTS_FAST_META_PYTHON since it takes < 20 seconds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yappi: upgrade 1.4.0 -> 1.6.0; fix ptestsTim Orling2023-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Switch to the python_setuptools_build_meta PEP-517 backend * Refactor and submit 0001-Fix-imports-for-ptests.patch - split out the Windows -> Unix line endings conversion - https://github.com/sumerc/yappi/pull/164 * Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12 * Drop install of yappi.py in ptest; use site-packages as intended * Drop complex run-ptest and simply run 'pytest --automake' * Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc - can now build meta-python-image-ptest-python3-yappi - tests take about 45 seconds https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG 1.6.0 (2023-12-07) - Drop support 2.7-3.5 and clean backward compatible code (pull/152) - Add Python 3.12 wheels 1.5.1 (2023-12-06) - Add support for Python 3.12 - Fix child callgrind functions disappear Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: enable ptestTim Orling2023-12-211-0/+1
| | | | | | | * Add to ptest-packelists-meta-python.inc "FAST" under 30 s Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: enable ptestTim Orling2023-12-211-0/+1
| | | | | | | * Add to ptest-packagelists-meta-python.inc "FAST" under 30 seconds Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: Add python3-rapidjson to PTESTS_FAST_META_PYTHONKhem Raj2023-10-201-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: update ptests status for py-cpuinfo, pytest-mockTrevor Gamblin2023-10-131-2/+2
| | | | | | | | Move python3-py-cpuinfo and python3-pytest-mock into the FAST ptests list since their failing ptests are being disabled. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-ptest-fast-image: Do not run python3-pytest-mock ptestsKhem Raj2023-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | These ptests fail as of now. ============================================================================================================== Failed test cases (sorted by testseries, ID) ============================================================================================================== -------------------------------------------------------------------------------------------------------------- testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-pytest-mock_qemux86-64_20230606201650 ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_args_with_introspection ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_detailed_introspection_async ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_plain_stopall ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_class_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_module_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_package_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_session_scope -------------------------------------------------------------------------------------------------------------- Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add python3-pylint to PTESTS_FAST_META_PYTHONKhem Raj2023-05-231-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add new testsTrevor Gamblin2023-05-121-0/+1
| | | | | | | Add ptests for python3-platformdirs. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add new testsTrevor Gamblin2023-05-091-0/+2
| | | | | | | Add ptests for python3-pytest-mock, python3-tomlkit. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python.inc: add ptest recipesTim Orling2023-04-041-0/+82
Similar to ptest-packagelists.inc in oe-core, this list enables per image ptest (isolated ptests for a given recipe) * Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s * Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer * Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests or other issues with ptest package The initial list was taken from: meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \ --layer meta-python --inherits ptest --bare | tr '\n' ' ' | \ pcregrep -o1 '^NOTE:.+===(.+)$') Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>