summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-propcache: add BBCLASSEXTEND native & nativesdkYoann Congal3 days1-0/+1
| | | | | | | | | | Since commit 82c2959678a0 ("python3-yarl: add BBCLASSEXTEND = "native nativesdk""), python3-yarl-native (resp. nativesdk-python3-yarl) needs python3-propcache-native (nativesdk-python3-yarl) to build. Cc: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pylddwrap: add BBCLASSEXTEND native & nativesdkYoann Congal3 days1-1/+1
| | | | | | | | | nativesdk-python3-pylddwrap is needed for the dependency tree : `-> nativesdk-python3-checksec-py Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-icontract: add BBCLASSEXTEND nativesdkYoann Congal3 days1-1/+1
| | | | | | | | | | nativesdk-python3-icontract is needed for the dependency tree : `-> nativesdk-python3-pylddwrap `-> nativesdk-python3-checksec-py Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-asttokens: add BBCLASSEXTEND nativesdkYoann Congal3 days1-1/+1
| | | | | | | | | | | | nativesdk-python3-asttokens is needed for the dependency tree : `-> nativesdk-python3-icontract `-> nativesdk-python3-pylddwrap `-> nativesdk-python3-checksec-py Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Acked-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Upgrade 2.13.6 -> 3.0.1Leon Anavi4 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to version 3.0.1: - Fixed compilation error in `type_caster_enum_type` when casting pointer-to-enum types. Added pointer overload to handle dereferencing before enum conversion. - Implement binary version of `make_index_sequence` to reduce template depth requirements for functions with many parameters. - Subinterpreter-specific exception handling code was removed to resolve segfaults. - Fixed issue that caused ``PYBIND11_MODULE`` code to run again if the module was re-imported after being deleted from ``sys.modules``. - Prevent concurrent creation of sub-interpreters as a workaround for stdlib concurrency issues in Python 3.12. - Fixed potential crash when using `cpp_function` objects with sub-interpreters. - Fixed non-entrant check in `implicitly_convertible()`. - Support C++20 on platforms that have older c++ runtimes. - Fix compilation with clang on msys2. - Avoid `nullptr` dereference warning with GCC 13.3.0 and python 3.11.13. - Fix potential warning about number of threads being too large. - Fix gcc 11.4+ warning about serial compilation using CMake. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-lief: Upgrade 0.16.7 -> 0.17.1Leon Anavi4 days1-3/+3
| | | | | | | | | | | | | | | | Upgrade to release 0.17.1: - Fix missing visibility - Fix incorrect paging computations that occurred when only a subset of formats was enabled. - Fix include issue with the COFF format This work was sponsored by GOVCERT.LU. License-Update: Update years Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-auth: Skip mTLS tests from ptestsKhem Raj4 days2-0/+97
| | | | | | | | | | They need a cert infrastructure to execute. Mutual TLS authentication requires client/server certificates and a proper PKI setup that doesn't exist in the minimal qemu ptest environment. These are integration tests that need real certificate infrastructure. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-auth-oauthlib: Upgrade to 1.2.3Khem Raj4 days2-1/+37
| | | | | | Skip a failing ptest Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Upgrade 11.3.0 -> 12.0.0Leon Anavi5 days1-1/+2
| | | | | | | | | | | | | | | | | Upgrade to release 12.0.0: - Fix issue with forward references in parent TypedDict classes - Exclude fields with exclude_if from JSON Schema required fields - Revert URL percent-encoding of credentials in the build() method of the AnyUrl and Dsn types - Add type inference for IP address types - Avoid getting default values from defaultdict - Fix issue with field serializers on nested typed dictionaries This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: Upgrade 2.12.0 -> 2.12.4Leon Anavi5 days1-2/+2
| | | | | | | | | | | | | | | | | | | Upgrade to release python3-pydantic: - Fix issue with forward references in parent TypedDict classes - Exclude fields with exclude_if from JSON Schema required fields - Revert URL percent-encoding of credentials in the build() method of the AnyUrl and Dsn types - Add type inference for IP address types - Avoid getting default values from defaultdict - Fix issue with field serializers on nested typed dictionaries - Add more pydantic-core builds for the three-threaded version of Python 3.14 This work was sponsored by GOVCERT.LU Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Upgrade 2.41.1 -> 2.41.5Leon Anavi5 days4-70/+170
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 2.41.5: - Correct invalid serialization of date/datetime/time/timedelta by pulling downcast checks up - Avoid getting default values from defaultdict - ci: add more 3.14t builds, delete duplicate linux aarch64 build - JsonValue: Deduplicate keys before populating Dict - Fix: only percent-encode characters in the userinfo encode set - Bump jiter from 0.11.0 to 0.11.1 - Bump regex from 1.11.3 to 1.12.2 - Bump percent-encoding from 2.3.1 to 2.3.2 - Fix issue with field_serializers on nested typed dicts - Clean up GC traversal for some top-level types - Add type inference for serializing ip address types - Revert url credential encoding (to be reintroduced as an option in future) - optimizations in URL implementation This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parsimonious: Add ptest supportKhem Raj5 days1-1/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parsimonious: Switch to PEP-517 build backendKhem Raj5 days1-1/+3
| | | | | | | | | It has pyproject.toml asking for setuptools.build.meta backend Fixes QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "python3-argcomplete: Upgrade 3.6.2 -> 3.6.3"Khem Raj6 days1-1/+3
| | | | | | | | | | | | This reverts commit 809cb8f42473ea0ead9074f7d699619f66f13c05. It causes ptest regression in traitlets as seen here [1] We will have to fix this regression before we upgrade argcomplete module [1] https://github.com/ipython/traitlets/issues/925 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-arrow: Add missing rdeps on tzdata pre-commit modulesKhem Raj6 days1-0/+2
| | | | | | These were missing pieces for ptests to work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-auth: Upgrade to 2.43.0Khem Raj6 days2-1/+36
| | | | | | Skip ptests needing pyopenssl module when its not available Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typer: Add missing rdeps for ptestsKhem Raj6 days1-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-blinker: Fix ptests with pytest 8.4+Khem Raj6 days2-0/+36
| | | | | | | pytest 8.4 is less forgiving about functions not marked async and using it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pylint: Upgrade to 4.0.3 releaseKhem Raj6 days3-10/+6
| | | | | | Forward patches to avoid fuzz, no functional change Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyzmq: Package pytest.ini with ptestsKhem Raj6 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | pytest 8.4+ is strict about asyncio [1] however pyzmq is not yet fully ready, and installs its own pytest.ini, add this to ptests package Fixes the failures e.g. async def functions are not natively supported. You need to install a suitable plugin for your async framework, for example: - anyio - pytest-asyncio - pytest-tornasync - pytest-trio - pytest-twisted FAIL: tests/test_auth.py:TestAsyncioAuthentication.test_deny [1] https://github.com/pytest-dev/pytest/issues/11372 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyzmq: Upgrade to 27.1.0Khem Raj6 days1-2/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-asyncio: Upgrade to 1.3.0Khem Raj6 days1-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-python-dotenv: Add missing rdep on click module and coreutilsKhem Raj7 days1-1/+3
| | | | | | Needed for ptests to pass Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yamlloader: upgrade 1.5.2 -> 1.6.0Wang Mingyu7 days1-1/+1
| | | | | | | | Changelog: Add Python 3.14 support Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-snagboot: upgrade 2.4 -> 2.5Wang Mingyu7 days1-1/+1
| | | | | | | | | | | | | | | - snagrecover: add support for bcm2711/12 platforms add support for several AMLogic platforms add support for AM654x platforms confirm Allwinner A133 support - snagfactory: allow changing target device mid-pipeline tone down UI colors, increase button sizes Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pymongo: upgrade 4.15.3 -> 4.15.4Wang Mingyu7 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyais: upgrade 2.13.2 -> 2.13.3Wang Mingyu7 days1-1/+1
| | | | | | | | | | Changelog: ========== * fixed: https://github.com/M0r13n/pyais/issues/194 * added missing line breaks for multi-part messages (ais-encode) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-protobuf: upgrade 6.33.0 -> 6.33.1Wang Mingyu7 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-prettytable: upgrade 3.16.0 -> 3.17.0Wang Mingyu7 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Added --------- Add support for Python 3.15 (and test 3.13t-3.15t) Set dicts with column-specific config for all column-specific attrs Add missing type annotations for properties Use type stubs for wcwidth Changed ------- Drop support for Python 3.9 Simplify empty dictionary/None check Replace pre-commit with prek Fixed ------- In add_rows(), check length of array with len() Fix README for sort_key Fix filter example Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parsimonious: upgrade 0.10.0 -> 0.11.0Wang Mingyu7 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-execnet: upgrade 2.1.1 -> 2.1.2Wang Mingyu7 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cantools: upgrade 40.7.1 -> 41.0.0Wang Mingyu7 days1-1/+1
| | | | | | | | Changelog: Update supported Python versions Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cachetools: upgrade 6.2.1 -> 6.2.2Wang Mingyu7 days1-1/+1
| | | | | | | | | | Changelog: ============ - Minor improvements from GitHub Copilot code review. - Improve documentation. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-black: upgrade 25.9.0 -> 25.11.0Wang Mingyu7 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-asttokens: upgrade 3.0.0 -> 3.0.1Wang Mingyu7 days1-2/+2
| | | | | | | License-Update: http changed to https Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apiflask: upgrade 2.4.0 -> 3.0.0Wang Mingyu7 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ============= - Add support for Python 3.14. - Drop support for Python 3.8 and PyPy 3.10. - Decouple from marshmallow and add an adapter system to support different serialization/deserialization libraries - Add support for Pydantic models as data schemas - Fix subclassed MethodView resources cannot be added as URL rules - Add support for API key auth with APIKeyHeaderAuth, APIKeyCookieAuth, and APIKeyQueryAuth. Add support for runtime selection of authentication methods with MultiAuth. Deprecate the API key auth with HTTPTokenAuth - Remove implicit security scheme naming rules - Remove implicit schema naming change (i.e. 'Schema' suffix stripping) - Deprecate the EmptySchema class. Use empty dict {} instead - Remove the deprecated __version__ attribute. Use feature detection or importlib.metadata.version("apiflask") instead. - Fix the support for marshmallow DelimitedList field in OpenAPI spec generation Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-alembic: upgrade 1.17.1 -> 1.17.2Wang Mingyu7 days1-1/+1
| | | | | | | | | | | | | Changelog: ============ - Added Operations.implementation_for.replace parameter to Operations. implementation_for(), allowing replacement of existing operation implementations. - Fixed issue in SQL Server dialect where the DROP that's automatically emitted for existing default constraints during an ALTER COLUMN needs to take place before not just the modification of the column's default, but also before the column's type is changed Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-imageio: upgrade 2.37.0 -> 2.37.2Liu Yiding7 days1-3/+3
| | | | | | | | | | 1.Changelog: https://github.com/imageio/imageio/releases/tag/v2.37.2 2.The LICENSE_CHECKSUM changed as date of LICENSE Copyright changed. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yarl: add BBCLASSEXTEND = "native nativesdk"Tom Geelen7 days1-0/+1
| | | | | Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rich-toolkit: Enable ptestsKhem Raj9 days1-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rich-toolkit: add new recipe (version 0.15.1)Jan Vermaete10 days1-0/+16
| | | | | Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-icontract: upgrade to 2.7.1Martin Jansa11 days1-1/+1
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-checksec-py, python3-pylddwrap, python3-icontract: add recipesMartin Jansa11 days4-0/+148
| | | | | | | | | | | | they were sent for meta-security long time ago in 2021: https://lists.yoctoproject.org/g/yocto/message/54470 but never merged there, now there are lief, docopt, rich, asttokens already in meta-python and checksec-py depends on lief version, e.g. https://github.com/Wenzel/checksec.py/commit/976d530867756d1393189708aa98308b07b1f3b2 is needed to fixcompatibility with newer lief currently in meta-python Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-aiohttp: apply compile option -flax-vector-conversions for gccHongxu Jia11 days1-1/+1
| | | | | | | | The clang does not need option -flax-vector-conversions to avoid build failure for 32bit arm target Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-uvicorn: new recipe (0.38.0) from meta-homeassistantJan Vermaete11 days2-0/+99
| | | | | | | | | | | | | Moved the recipe from meta-homeassistant to meta-openembedded. @see: https://github.com/meta-homeassistant/meta-homeassistant/pull/177#issuecomment-3510619876 - version bump from 0.35.0 to 0.38.0 (current latest release) - added ptests - patch to skip 5 tests that did not pass the run - added tests to PTESTS_SLOW_META_PYTHON Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: upgrade to 0.2.12Yi Zhao12 days3-641/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ChangeLog: https://github.com/dsoprea/PyInotify/releases/tag/0.2.11 https://github.com/dsoprea/PyInotify/releases/tag/0.2.12 License Update: Use LICENSE file instead of the specific line in setup.py. * Switch to PyPI instead of github source * Drop local patch new-test-inotify.patch as it can not be applied with updated test_inotify.py Ptest result: $ ptest-runner python3-inotify START: ptest-runner 2025-11-13T03:46 BEGIN: /usr/lib/python3-inotify/ptest PASS: tests/test_inotify.py:TestInotify.test__cycle PASS: tests/test_inotify.py:TestInotify.test__error_on_watch_nonexistent_folder PASS: tests/test_inotify.py:TestInotify.test__get_event_names SKIP: tests/test_inotify.py:TestInotify.test__international_naming_python2 # SKIP Not in Python 2 PASS: tests/test_inotify.py:TestInotify.test__international_naming_python3 PASS: tests/test_inotify.py:TestInotify.test__watch_list_of_paths PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_existing_paths PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_new_paths PASS: tests/test_inotify.py:TestInotifyTree.test__cycle PASS: tests/test_inotify.py:TestInotifyTree.test__renames PASS: tests/test_inotify.py:TestInotifyTrees.test__cycle ============================================================================ Testsuite summary # TOTAL: 11 # PASS: 10 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 DURATION: 14 END: /usr/lib/python3-inotify/ptest 2025-11-13T03:46 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-types-psutil: add UPSTREAM_CHECK_PYPI_PACKAGEYi Zhao12 days1-0/+1
| | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison. Before the patch: $ devtool latest-version python3-types-psutil INFO: Current version: 7.0.0.20250601 INFO: Latest version: 6.1.0.20241102 After the patch: $ devtool latest-version python3-types-psutil INFO: Current version: 7.0.0.20250601 INFO: Latest version: 7.0.0.20251111 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rich-argparse: add UPSTREAM_CHECK_PYPI_PACKAGEYi Zhao12 days1-0/+1
| | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison. Before the patch: $ devtool latest-version python3-rich-argparse INFO: Current version: 1.7.1 INFO: Latest version: After the patch: $ devtool latest-version python3-rich-argparse INFO: Current version: 1.7.1 INFO: Latest version: 1.7.2 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-xdist: add UPSTREAM_CHECK_PYPI_PACKAGEYi Zhao12 days1-0/+1
| | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison. Before the patch: $ devtool latest-version python3-pytest-xdist INFO: Current version: 3.8.0 INFO: Latest version: 3.5.0 After the patch: $ devtool latest-version python3-pytest-xdist INFO: Current version: 3.8.0 INFO: Latest version: 3.8.0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-timeout: add UPSTREAM_CHECK_PYPI_PACKAGEYi Zhao12 days1-0/+1
| | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable verison. Before the patch: $ devtool latest-version python3-pytest-timeout INFO: Current version: 2.4.0 INFO: Latest version: 2.3.1 After the patch: $ devtool latest-version python3-pytest-timeout INFO: Current version: 2.4.0 INFO: Latest version: 2.4.0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>