Commit Graph

6404 Commits

Author SHA1 Message Date
Tim Orling
7235412ef4
python3-pyroute2: switch to pytest --automake
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
6ad70164f6
python3-pytest-mock: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
10c10c68b7
python3-gunicorn: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
c576a146a5
python3-ptyprocess: switch to pytest --automake
* 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>
2024-02-16 16:42:34 -08:00
Tim Orling
76da791a6c
python3-prettytable: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
8667e7db0f
python3-dnspython: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
a55a9b65f4
python3-xlrd: switch to pytest --automake
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
0ba05a2917
python3-whoosh: switch to pytest --automake
* 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>
2024-02-16 16:42:34 -08:00
Tim Orling
5f6e352b27
python3-backports-functools-lru-cache: drop folder
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>
2024-02-16 16:42:33 -08:00
Tim Orling
a923a232d8
python3-py-cpuinfo: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Tim Orling
be7a44fecc
python3-intervals: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Tim Orling
4201621f45
python3-pyasn1-modules: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Tim Orling
aaa00e2605
python3-html2text: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Tim Orling
a600e4bb3c
python3-asgiref: switch to pytest --automake
* 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>
2024-02-16 16:42:33 -08:00
Tim Orling
4a392ddd3b
python3-trustme: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Tim Orling
5cb0fc02c1
python3-iso3166: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
c96ff70bd6
python3-u-msgpack-python: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
3e1caf55ef
python3-scrypt: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
96f5c75219
python3-dominate: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
a2af67f5d7
python3-covdefaults: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
e53f237ba4
python3-requests-file: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
9b8e0ebb59
python3-inotify: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:32 -08:00
Tim Orling
82561d6a3d
python3-tomlkit: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Tim Orling
d114bafa71
python3-fastjsonschema: switch to pytest --automake
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Tim Orling
21938d9432
python3-pytest-lazy-fixture: switch to pytest --automake
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Tim Orling
5218051879
python3-ujson: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Tim Orling
19412dc78d
python3-unidiff: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Tim Orling
c274202e3c
python3-uritemplate: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00
Pratik Manvar
086eeb45d4
python3-pybind11: Remove the Boost dependency
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>
2024-02-16 09:28:34 -08:00
Derek Straka
e183db0c8f
python3-ujson: add ptest into PTESTS_FAST_META_PYTHON items
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>
2024-02-16 07:37:31 -08:00
Fathi Boudra
6be4e223cb
python3-django: upgrade to Django 4.2.10 LTS release
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>
2024-02-16 07:37:31 -08:00
Derek Straka
bf011a9f5e
python3-pyyaml-include: add initial recipe for version 1.3.2
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>
2024-02-14 15:14:50 -08:00
Niko Mauno
669404fcdb
python3-pybind11: Cosmetic fixes
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
9b67d81276
python3-pybind11: Fix LICENSE
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
67d30ca64a
python3-pybind11: Prune redundant inherit
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
28cf322751
python3-pybind11: Amend HOMEPAGE
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>
2024-02-14 08:24:48 -08:00
alperak
10add4b12b
python3-werkzeug: add missing runtime dependencies
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>
2024-02-12 19:34:15 -08:00
Fathi Boudra
6ddb9b486f
whitenoise: add a new recipe
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>
2024-02-12 08:23:01 -08:00
alperak
1548cf77df
python3-imageio: upgrade 2.33.1 -> 2.34.0
Changelog:

	Forward constructor kwargs to PyAV

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-11 22:44:56 -08:00
Richard Leitner
fe06ca2319
python3-httpx: add recipe for v0.26.0
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>
2024-02-10 10:39:58 -08:00
Richard Leitner
704b091001
python3-httpcore: add recipe for v1.0.2
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>
2024-02-10 10:39:58 -08:00
Richard Leitner
057781a733
python3-sniffio: add recipe for v1.3.0
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>
2024-02-10 10:39:58 -08:00
Richard Leitner
7e95b8600e
python3-anyio: add recipe for v4.2.0
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>
2024-02-10 10:39:57 -08:00
Richard Leitner
6d766dd2b0
python3-socksio: add recipe for v1.0.0
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>
2024-02-10 10:39:57 -08:00
alperak
421c315153
python3-werkzeug: upgrade 2.3.6 -> 3.0.1
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>
2024-02-09 09:52:17 -08:00
alperak
713d917cc6
python3-flask-marshmallow: upgrade 1.1.0 -> 1.2.0
License-Update: Remove license year

Changelog:

Performance improvement

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:17 -08:00
Pavel Zhukov
d5dbc6b6a5
python3-tzlocal: Add zoneinfo dependency
Fixes: https://github.com/openembedded/meta-openembedded/issues/787
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:16 -08:00
alperak
5a45aa504a
python3-strenum: add recipe
StrEnum is a Python enum.Enum that inherits from str to complement enum.IntEnum in the standard library

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:15 -08:00
alperak
7e45304132
python3-web3: upgrade 6.15.0 -> 6.15.1
Changelog:

Bugfixes

    Handle new geth errors related to waiting for a transaction receipt while transactions are still being indexed

Improved Documentation

    Remove annual user survey prompt from docs

Internal Changes

    Create test fixture for latest geth version. Run tests with geth in --dev mode

    Formatting updates for black==24.1.0

    Add eth-tester version that supports eth_feeHistory

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:14 -08:00
alperak
941f2a6215
python3-pyunormalize: add recipe
A pure Python implementation of the Unicode normalization algorithm independent from the Python core Unicode database. This package supports version 15.1 of the Unicode standard (released in September 2023)

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:14 -08:00