summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* python3-pybind11: Amend HOMEPAGENiko Mauno2024-02-141-1/+1
| | | | | | | | | Update the HOMEPAGE value so that the URL points to the original repository instead of a fork. By doing this we fix the mismatch between HOMEPAGE and SRC_URI. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-werkzeug: add missing runtime dependenciesalperak2024-02-121-0/+4
| | | | | | | | | | ModuleNotFoundError: No module named 'json' ModuleNotFoundError: No module named 'logging' ModuleNotFoundError: No module named 'dataclasses' ModuleNotFoundError: No module named 'zipfile' Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* whitenoise: add a new recipeFathi Boudra2024-02-121-0/+19
| | | | | | | | | | | | | | Radically simplified static file serving for Python web apps With a couple of lines of config WhiteNoise allows your web app to serve its own static files, making it a self-contained unit that can be deployed anywhere without relying on nginx, Amazon S3 or any other external service. https://whitenoise.readthedocs.io/en/latest/ Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-imageio: upgrade 2.33.1 -> 2.34.0alperak2024-02-111-2/+2
| | | | | | | | | Changelog: Forward constructor kwargs to PyAV Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-httpx: add recipe for v0.26.0Richard Leitner2024-02-101-0/+44
| | | | | | | | | The next generation HTTP client. This recipe uses pypi as source: https://pypi.org/project/httpx Signed-off-by: Richard Leitner <dev@g0hl1n.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-httpcore: add recipe for v1.0.2Richard Leitner2024-02-101-0/+26
| | | | | | | | | | | | | | A minimal low-level HTTP client. This recipe is currently provided without trio support, as the author has no use for it and it would require to add a new python3-trio recipe. This recipe uses pypi as source: https://pypi.org/project/httpcore Signed-off-by: Richard Leitner <dev@g0hl1n.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sniffio: add recipe for v1.3.0Richard Leitner2024-02-101-0/+12
| | | | | | | | | | Sniff out which async library your code is running under. This recipe uses pypi as source: https://pypi.org/project/sniffio/ Signed-off-by: Richard Leitner <dev@g0hl1n.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-anyio: add recipe for v4.2.0Richard Leitner2024-02-101-0/+23
| | | | | | | | | | | | | | | High level compatibility layer for multiple asynchronous event loop implementations. This recipe is currently provided without trio support, as the author has no use for it and it would require to add a new python3-trio recipe. This recipe uses pypi as source: https://pypi.org/project/anyio Signed-off-by: Richard Leitner <dev@g0hl1n.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-socksio: add recipe for v1.0.0Richard Leitner2024-02-102-0/+31
| | | | | | | | | | Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5. This recipe uses pypi as source: https://pypi.org/project/socksio Signed-off-by: Richard Leitner <dev@g0hl1n.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-werkzeug: upgrade 2.3.6 -> 3.0.1alperak2024-02-092-40/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend for PEP-517 packaging instead of setuptools. Also, RDEPENDS updated according to it. Removed CLEANBROKEN because it is not necessary. Changelog: Version 3.0.1 Fix slow multipart parsing for large parts potentially enabling DoS attacks. CWE-407 Version 3.0.0 Remove previously deprecated code. Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("werkzeug"), instead. generate_password_hash uses scrypt by default. Add the "werkzeug.profiler" item to the WSGI environ dictionary passed to ProfilerMiddleware’s filename_format function. It contains the elapsed and time values for the profiled request. Explicitly marked the PathConverter as non path isolating. Version 2.3.8 Fix slow multipart parsing for large parts potentially enabling DoS attacks. CWE-407 Version 2.3.7 Use flit_core instead of setuptools as build backend. Fix parsing of multipart bodies. Adjust index of last newline in data start. Parsing ints from header values strips spacing first. Fix empty file streaming when testing. Clearer error message when URL rule does not start with slash. Accept q value can be a float without a decimal part. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>