summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-fastapi: Add missing ptest dependenciesKhem Raj18 hours1-1/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastapi: Point to right layer for swagger-ui recipeKhem Raj28 hours1-1/+1
| | | | | | | meta-xfce -> meta-webserver Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jan Vermaete <jan.vermaete@gmail.com>
* python3-fastapi: Turn swagger-ui dependency into packageconfigKhem Raj29 hours1-2/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastapi[-cli]: new recipe 0.122.0Jan Vermaete41 hours3-0/+48
| | | | | | | | | | | | | | | python3-fastapi at version 0.122.0 python3-fastapi-cli at version 0.0.16 Moved and modified from meta-ros (Thanks Rob Woolley) - added ptest for fastapi (long run) - python3-fastapi-cli does have tests, but also a circular dependency on python-fastapi. So no ptests for python3-fastapi Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-annotated-doc: new recipe version 0.0.4Jan Vermaete41 hours1-0/+14
| | | | | | | no tests are part of the pypi package Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-soundcard: Add recipeJan Claußen2 days1-0/+20
| | | | | | | SoundCard is a library for playing and recording audio without resorting to a CPython extension. Signed-off-by: Jan Claußen <jan.claussen10@web.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-requests-unixsocket: Update to 0.4.1Anthony Del Frari3 days1-5/+4
| | | | | | | | | | python3-requests broke the http+unix url scheme with version 2.32. Their position is that it's the responsibility of consuming libraries to adopt their new interface. requests-unixsocket 0.4 adapts to the new interface. Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Add nativesdk to BBCLASSEXTENDLeon Anavi4 days1-1/+1
| | | | | | | | | | Add nativesdk to BBCLASSEXTEND because python3-pikepdf requires nativesdk-python3-pillow. 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-pytest-picked: Add recipe for version 0.5.1Tom Geelen5 days3-0/+76
| | | | | | | | Python package description: Run the tests related to the unstaged files or the current branch (according to Git) More information: https://pypi.org/project/pytest-picked/ Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: upgrade 4.2.25 -> 4.2.26Ankur Tyagi5 days1-2/+2
| | | | | | | | Release Notes: https://docs.djangoproject.com/en/dev/releases/4.2.26/ Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: upgrade 5.2.7 -> 5.2.8Ankur Tyagi5 days1-1/+1
| | | | | | | | Release Notes: https://docs.djangoproject.com/en/dev/releases/5.2.8/ Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-cov: upgrade 6.2.1 -> 7.0.0Liu Yiding5 days1-3/+3
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-tenacity: new recipe version 9.1.2Jan Vermaete6 days2-0/+46
| | | | | | | | | | Moved the recipe from meta-homeassistant - all credits to them Added ptest - skip one test that fails on qemu Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-types-psutil: upgrade 7.0.0.20250601 -> 7.1.1.20251122Wang Mingyu6 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-stevedore: upgrade 5.5.0 -> 5.6.0Wang Mingyu6 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rich-argparse: upgrade 1.7.1 -> 1.7.2Wang Mingyu6 days1-1/+1
| | | | | | | | Changelog: Fix colors overlapping with Python 3.14.0+ which enabled colors by default in the help formatter. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-moteus: upgrade 0.3.95 -> 0.3.96Wang Mingyu6 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dirty-equals: upgrade 0.10.0 -> 0.11Wang Mingyu6 days1-1/+1
| | | | | | | | | | | Changelog: =========== - Fix nested dataclass comparison - uprev in preparation for release - Add tests for 3.14 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: upgrade 3.14.1 -> 3.15.1Liu Yiding6 days2-34/+1
| | | | | | | | | | 1. Changelog: https://github.com/pytest-dev/pytest-mock/releases/tag/v3.15.1 2. Remove 0001-Add-asyncio-fixture-to-test_instance_async_method_sp.patch as it has been mergerd upstream. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-coverage: upgrade 7.11.3 -> 7.12.0Wang Mingyu6 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ============ - The HTML report now shows separate coverage totals for statements and branches, as well as the usual combined coverage percentage. - The JSON report now includes separate coverage totals for statements and branches - Fix: except* clauses were not handled properly under the "sysmon" measurement core, causing KeyError exceptions - Fix: we now defend against aggressive mocking of open() that could cause errors inside coverage.py. - Fix: in unusual cases where a test suite intentionally exhausts the system's file descriptors to test handling errors in open(), coverage.py would fail when trying to open source files - A small tweak to the HTML report: file paths now use thin spaces around slashes to make them easier to read. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cmake: upgrade 4.1.2 -> 4.2.0Wang Mingyu6 days1-1/+1
| | | | | | | | | | | Changelog: ============= - ci: build with clang instead of gcc - docs: improve links back to GitHub - chore: add changelog exclusion for bots Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cfgv: upgrade 3.4.0 -> 3.5.0Wang Mingyu6 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bleak: upgrade 1.1.1 -> 2.0.0Wang Mingyu6 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added ------ - Added bleak.backends.get_default_backend() and BleakBackend enum for a centralized backend detection. - Added BleakClient().backend_id and BleakScanner().backend_id properties to identify the backend in use. Changed -------- - Use "AcquireNotify" rather than "StartNotify" for Linux backend on supported characteristics - Allow multiple calls to disconnect() on Windows to align behavior over all backends. - Raise new BleakBluetoothNotAvailableError when Bluetooth is not supported, turned off or permission is denied. Fixed ------ - Fixed potential race condition causing timeout while connecting in WinRT backend. - Fixed file handle leak in BlueZ backend when D-Bus connection is lost and re-established. - Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called after the asyncio run loop stops. - Fixed possible deadlock when starting scanning on Windows when Bluetooth is turned off. - Fixed "Bluetooth device is turned off" Exception on macOS, when a Bluetooth permission request popup is shown to the user by the OS. Removed --------- - Removed support for Python 3.9. - Removed support for macOS < 10.15. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bandit: upgrade 1.8.6 -> 1.9.2Wang Mingyu6 days1-1/+1
| | | | | | | | | | | | | | | | Changelog: ========== - Add instructions for Maintainers to create/publish a release - Replace deprecated datetime.datetime.utcnow() - Fix typos - Support of Python 3.14 - Drop support of end-of-life Python 3.9 - More Python version related fixes - Argparse Python 3.14 enhancements - Check whether Constant value is str Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-asyncinotify: upgrade 4.2.1 -> 4.3.2Wang Mingyu6 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-asgiref: upgrade 3.10.0 -> 3.11.0Wang Mingyu6 days1-1/+1
| | | | | | | | | | | | | | Changelog: ============= - "sync_to_async" gains a "context" parameter, similar to those for "asyncio.create_task", "TaskGroup" &co, that can be used on Python 3.11+ to control the context used by the underlying task. The parent context is already propagated by default but the additional control is useful if multiple "sync_to_async" calls need to share the same context, e.g. when used with "asyncio.gather()". Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-httpx: New recipeTom Geelen7 days1-0/+24
| | | | | | | Sends responses to httpx. Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pikepdf: Add recipeLeon Anavi7 days1-0/+22
| | | | | | | | | | | | | | Add recipe for v10.0.2: - Fixed presentation of strings using unparse_content_stream - if the stream can be represented using PdfDocEncoding, it is rendered in that way for ease of reading. - Reformatted C++ source. 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-unidecode: Add recipeLeon Anavi7 days1-0/+12
| | | | | | | | | | | | | | | | | | Add recipe for release 1.4.0: - Drop support for Python <3.7. - Add replacements for playing card suits and chess pieces - Add replacements for U+211F "RESPONSE" and 0x2123 "VERSICLE" - Fix replacement for U+1D6D5 "MATHEMATICAL BOLD SMALL TAU". - Fix replacements for U+014A "LATIN CAPITAL LETTER ENG" and U+014B "LATIN SMALL LETTER ENG". - Add replacements for U+2103 "DEGREE CELSIUS" and U+2109 "DEGREE FAHRENHEIT". 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-propcache: add BBCLASSEXTEND native & nativesdkYoann Congal10 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 Congal10 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 Congal10 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 Congal10 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 Anavi10 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 Anavi10 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 Raj11 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 Raj11 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 Anavi11 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 Anavi11 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 Anavi11 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 Raj12 days1-1/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parsimonious: Switch to PEP-517 build backendKhem Raj12 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 Raj13 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 Raj13 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 Raj13 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 Raj13 days1-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-blinker: Fix ptests with pytest 8.4+Khem Raj13 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 Raj13 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 Raj13 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 Raj13 days1-2/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>