summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-precise-runner: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sqlparse: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ipy: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ansicolors: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Be careful to point pytest at the test.py file Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cbor2: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Be consistent with tabs vs. spaces in do_install_ptest Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yarl: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-requests-toolbelt: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-soupsieve: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-serpent: switch to pytest --automakeTim Orling2024-02-162-6/+7
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Remove trailing whitespace Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-geojson: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-multidict: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyzmq: switch to pytest --automakeTim Orling2024-02-162-5/+6
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-smpplib: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyroute2: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gunicorn: switch to pytest --automakeTim Orling2024-02-162-5/+6
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ptyprocess: switch to pytest --automakeTim Orling2024-02-162-11/+12
| | | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically * Remove trailing whitespace in run-ptest script Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-prettytable: switch to pytest --automakeTim Orling2024-02-162-11/+12
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dnspython: switch to pytest --automakeTim Orling2024-02-162-10/+11
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-xlrd: switch to pytest --automakeTim Orling2024-02-162-1/+2
| | | | | Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-whoosh: switch to pytest --automakeTim Orling2024-02-162-10/+11
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-backports-functools-lru-cache: drop folderTim Orling2024-02-161-3/+0
| | | | | | | | This old run-ptest file was skipped when the recipe was dropped in: 620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-py-cpuinfo: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-intervals: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyasn1-modules: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-html2text: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-asgiref: switch to pytest --automakeTim Orling2024-02-162-5/+6
| | | | | | | | * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-trustme: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-iso3166: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-u-msgpack-python: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-scrypt: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dominate: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-covdefaults: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-requests-file: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-tomlkit: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastjsonschema: switch to pytest --automakeTim Orling2024-02-162-1/+2
| | | | | Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-lazy-fixture: switch to pytest --automakeTim Orling2024-02-162-2/+5
| | | | | Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ujson: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-unidiff: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-uritemplate: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Remove the Boost dependencyPratik Manvar2024-02-161-1/+0
| | | | | | | | | | | | | | | Boost is an optional dependency and it is only used in tests which are disabled by default in this recipe. References: https://github.com/pybind/pybind11/blob/master/tests/CMakeLists.txt#L325 Moreover, the Boost is an enormously large and complex suite of utility libraries that cost the filesystem memory footprint of Embedded devices. Signed-off-by: Christian Ege <christian.ege@ifm.com> Signed-off-by: Pratik Manvar <pratik.manvar@ifm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ujson: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-162-2/+2
| | | | | | | | | 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-django: upgrade to Django 4.2.10 LTS releaseFathi Boudra2024-02-161-1/+1
| | | | | | | | | | | | | | | Django 4.0.x is no longer supported since April 2023. Upgrade to the latest 4.x LTS release. Fixes CVEs: CVE-2024-24680: Potential denial-of-service in intcomma template filter CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator CVE-2023-41164: Potential denial of service vulnerability in django.utils.encoding.uri_to_iri() CVE-2023-36053: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyyaml-include: add initial recipe for version 1.3.2Derek Straka2024-02-143-0/+32
| | | | | | | | | 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-pybind11: Cosmetic fixesNiko Mauno2024-02-141-5/+3
| | | | | | | | Introduce cosmetic fixes to recipe file content based on oe-stylize.py suggestions. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Fix LICENSENiko Mauno2024-02-141-1/+1
| | | | | | | | The repositorys LICENSE file contains BSD-3-Clause license text, so update the relevant recipe information field to match. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Prune redundant inheritNiko Mauno2024-02-141-1/+1
| | | | | | | | Inheriting setuptools3 implies the inherit of python3native, so drop the latter inherit as redundant. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>