summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-freezegun: upgrade 1.5.3 -> 1.5.4Wang Mingyu2025-08-041-1/+1
| | | | | | | | Changelog: * Fix: Ability to yield fixtures (broken in 1.5.3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bitarray: upgrade 3.5.2 -> 3.6.0Wang Mingyu2025-08-041-1/+1
| | | | | | | | | | | | Changelog: ============== - add 'util.random_k()' - add 'util.sum_indices()' - optimize 'util.xor_indices()' - move development files from 'examples/' to 'devel/' Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-aioresponses: update inheritance to python_setuptools_build_metaTom Geelen2025-08-031-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: Upgrade to v2.12.0a1 prereleaseKhem Raj2025-08-012-38/+1
| | | | | | Needed for python3-pydantic-core v2.37+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-kivy: Set KIVY_NO_ARGS=1Khem Raj2025-08-011-0/+3
| | | | | | | | | | | | | | | This fails to compile with latest setuptools3 [ERROR ] [Core ] option --verbose not recognized Kivy Usage: setup.py [KIVY OPTION...] [-- PROGRAM OPTIONS]:: Options placed after a '-- ' separator, will not be touched by kivy, and instead passed to your program. Set KIVY_NO_ARGS=1 in your environment or before you import Kivy to disable Kivy's argument parser. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-httptools: Use setuptools3_legacyKhem Raj2025-07-311-1/+1
| | | | | | | | | | | | It does not build with regular setuptools3 class anymore installing to build/bdist.linux-aarch64/wheel running install running install_lib running build_ext error: don't know how to compile C/C++ code on platform 'posix' with '<distutils.compilers.C.unix.Compiler object at 0xf2c796b28050>' compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Upgrade to 2.37.2Khem Raj2025-07-313-17/+71
| | | | | | Add a patch to fix with rust 1.88+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-virtualenv: upgrade 20.31.2 -> 20.32.0Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | Changelog: ============ - Fix the CI - activate.fish: update fish major version check - Fix: Ignore missing absolute paths for python discovery - Discover uv-managed Python installations - Add warning for incorrect usage of Nushell activation script - Update index.rst, compatibility section added, other subheadings created Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-snagboot: upgrade 2.3 -> 2.4Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============ - treewide: - modernize and expand CI tests - drop support for Python 3.8 - use importlib API to fetch resources - snagflash: - fastboot-uboot: support comments in command file - correct parsing logic for "fb-size" parameter - snagrecover: - add support for i.MX91 platforms - add support for Intel Keem Bay platforms - support HABv4-closed i.MX SoCs Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rich: upgrade 14.0.0 -> 14.1.0Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | Changelog: ============ - Removed typing_extensions from runtime dependencies - Live objects (including Progress) may now be nested - Added padding property to Syntax which returns a tuple of four integers - Fixed extraction of recursive exceptions - Fixed padding applied to Syntax - Fixed Panel title missing the panel background style - Added TTY_INTERACTIVE environment variable to force interactive mode off or on Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyroute2: upgrade 0.9.2 -> 0.9.3Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | Changelog: =========== - Async generic netlink sockets - Use pyproject files only Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-moteus: upgrade 0.3.89 -> 0.3.90Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | | git shortlog of the moteus python library [1] for the corresponding release: - For dual encoder configurations, set the output low pass filter too - Improve hall effect performance - Fix the encoder filter frequency to actually be the 3dB cutoff - Set python unit tests as small size so they run by default - Remove moteus_tool --restore-cal - lib: python: moteus: moteus_tool: add no-verify option [1] https://github.com/mjbots/moteus/commits/main/lib/python Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inline-snapshot: upgrade 0.24.0 -> 0.25.3Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: =============== - New external() implementation with support for different data formats. - Ability to declare custom external formats with @register_format. - external() can now be used without snapshot(), such as assert "long text" == external() or inside snapshots like dirty-equals. - You now have to declare format aliases if you used outsource() with a different suffix than .txt or .bin in the past. - external_file() now follows the aliases defined by register_format_alias(). - Removed unnecessary uuid7 dependency introduced in 0.25.0 - improved performance by checking for "external" in the code string before parsing the code and checking the AST - solved incompatibility with pytest_pretty - Fix issue terminal with is preserved - cleanup temporary path Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.73.1 -> 1.74.0Wang Mingyu2025-07-301-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-tools: upgrade 1.73.1 -> 1.74.0Wang Mingyu2025-07-301-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-reflection: upgrade 1.73.1 -> 1.74.0Wang Mingyu2025-07-301-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-channelz: upgrade 1.73.1 -> 1.74.0Wang Mingyu2025-07-301-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-eventlet: upgrade 0.40.1 -> 0.40.2Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | Changelog: ============= - Prepare jobs and CI/CD for python 3.14 - Make database removal safer with IF EXISTS - Fix tests on Python 3.14 on Linux Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-coverage: upgrade 7.9.2 -> 7.10.1Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - A new configuration option: "[run] patch" specifies named patches to work around some limitations in coverage measurement. - The HTML report now dimly colors subsequent lines in multi-line statements. They used to have no color. This gives a better indication of the amount of code missing in the report. - Two new exclusion patterns are part of the defaults:... is automatically excluded as a line and if TYPE_CHECKING: is excluded as a branch. - A new command-line option: --save-signal=USR1 specifies a signal that coverage.py will listen for. When the signal is sent, the coverage data will be saved. This makes it possible to save data from within long-running processes. - A new configuration option: "[report] partial_also" is a list of regexes to add as pragmas for partial branches. This parallels the "[report] exclude_also" setting for adding line exclusion patterns. - A few file path configuration settings didn't allow for tilde expansion: [json] output, [lcov] output and [run] debug_file. This is now fixed. - Wheels are included for 3.14 now that 3.14 rc1 is available. - We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python wheel. - In the very unusual situation of not having a current frame, coverage no longer crashes when using the sysmon core. - Fix: the exclusion for if TYPE_CHECKING: was wrong: it marked the branch as partial, but it should have been a line exclusion so the entire clause would be excluded. - Fix: changed where .pth files are written for patch = subprocess Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bitarray: upgrade 3.5.1 -> 3.5.2Wang Mingyu2025-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========= - change random.seed() test, see comments - optimize util.random_p() by also using bitwise AND in final step - add ability for heavy testing to example - add DummyRanomPTests to example - add in-place XOR test for comleteness - add --disp option to example - add verification tests to example - remove duplicate tests - add test - wording - add links in comments - add sanity check - add note on limit in relation to 1/K - update table in documentation to new example code Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyzmq: Add missing runtime dep on asyncio ptest moduleKhem Raj2025-07-261-0/+2
| | | | | | This is needed with pytest 8.4+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: Fix asyncio tests with pytest 8.4+Khem Raj2025-07-262-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-asyncio: Upgrade to release 1.1.0Khem Raj2025-07-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-mypy*: add nativesdk variantYoann Congal2025-07-262-2/+2
| | | | | | | | | | | | | | | | | Since commit 9b0015577ce8 ("python3-charset-normalizer: Switch to PEP-517 build backends"), python3-charset-normalizer depends on python3-mypy and has a nativesdk variant. So, python3-mypy and its dependency python3-mypy-extensions also need the nativesdk variant. Fixes these warnings from AB[0]: WARNING: Nothing RPROVIDES 'nativesdk-python3-mypy' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) [0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: remove tftpyYoann Congal2025-07-251-1/+0
| | | | | | | | | | | | tftpy does not currently support ptests so remove it from any PTESTS_* list to avoid AB mirroring warnings[0]: WARNING: Nothing RPROVIDES 'tftpy-ptest' (but virtual:mcextend:tftpy:[...]/meta-openembedded/meta-python/recipes-core/images/meta-python-image-ptest.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'meta-python-image-ptest-tftpy' [0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bleak: Add missing asyncio dependencies for ptestsKhem Raj2025-07-251-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: Upgrade to 3.14.1Khem Raj2025-07-251-2/+3
| | | | | | | Rename PYPI_PACKAGE to reflect upstream tarball name change Add missing dependency on python3-asyncio Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typeguard: Add missing rdep on pathspec for ptestsKhem Raj2025-07-231-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Fix build on rv32Khem Raj2025-07-232-0/+82
| | | | | | | | | | | | version needs getrandom from musl libc on musl targets but rust libc locked in for this target is older than the change needed for this to work on newer architectures Fixes | error[E0425]: cannot find value `getrandom` in crate `libc` | --> /usr/src/debug/python3-pydantic-core/2.35.2/sources/cargo_home/bitbake/getrandom-0.3.3/src/backends/linux_android_with_fallback.rs:34:39 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: Upgrade to 2.11.7Khem Raj2025-07-232-3/+38
| | | | | | Fix build with pydantic-core 2.35.2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-lief: Upgrade to 0.16.6Khem Raj2025-07-231-4/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: upgrade 2.34.1. -> 2.35.2Liu Yiding2025-07-233-64/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new version ptest needs module typing_inspection | ImportError while importing test module '/usr/lib/python3-pydantic-core/ptest/tests/test_misc.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | ../../python3.13/importlib/__init__.py:88: in import_module | return _bootstrap._gcd_import(name[level:], package, level) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | tests/test_misc.py:10: in <module> | from typing_inspection import typing_objects | E ModuleNotFoundError: No module named 'typing_inspection' | ERROR: tests/test_misc.py:tests/test_misc.py Changelog: ========== - update to speedate 0.16 - Better document SerializationInfo - Fix generic issues with ValidationInfo and SerializationInfo - Do not reuse validator and serializer when unpickling - Remove unnecessary required fields count when exclude_none is set - Update test dependencies after 3.8 dropped support - Mark constructor parameters of exceptions as positional-only - fix: submodel fields with wrap validator affect smart union selection - use pypa/gh-action-pypi-publish - add critical sections around bytearray reads - simplify ser-as-any mechanism - Coerce 'time' schema constraints - drop serde-json preserve_order feature - Remove core schema validation - Improve uncaught PydanticUseDefault exception message - Add support for Python 3.14 - drop pypy3.9 support, add pypy3.11 support - Add ensure_ascii option - Update repr of TzInfo - Make ValidationInfo and SerializationInfo generic for context Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twitter: upgrade 4.15.0 -> 4.16.0Liu Yiding2025-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Re-improve clarity of OAuth 2.0 User Context example code - Fix SyntaxWarning - Install 'build' - Docs config updates to fix build - Fix Sphinx context injection removal by readthedocs - Revert hoverxref upgrade for now until sphinx can be updated - Fix build error for docs related to 'html_context' setting - Modernize packaging configuration - Add new publish workflow to use trusted publisher - Add dev and test dependencies - Update publish workflow... - Add support for posting tweets to Communities Change to use LICENSE file instead of PKG-INFO, and license is MIT still Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gevent: upgrade 25.4.2 -> 25.5.1Liu Yiding2025-07-222-3/+2
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyproject-api: upgrade 1.8.0 -> 1.9.1Liu Yiding2025-07-221-1/+1
| | | | | | | | | | | Changelog: ========== - Create FUNDING.yml - Fix the CI - Wheel is not part of the default requries Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-portalocker: upgrade 3.1.1 -> 3.2.0Liu Yiding2025-07-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix the issue that: | ImportError while importing test module '/usr/lib/python3-portalocker/ptest/tests/test_lock_flags.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | ../../python3.13/importlib/__init__.py:88: in import_module | return _bootstrap._gcd_import(name[level:], package, level) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | tests/test_lock_flags.py:7: in <module> | from portalocker_tests.conftest import LOCKERS | E ModuleNotFoundError: No module named 'portalocker_tests' | ERROR: tests/test_lock_flags.py:tests/test_lock_flags.py portalocker_tests is a dir in source, we need to keep it python3-portalocker/3.2.0/sources/portalocker-3.2.0$ ls -l -t portalocker_tests/ total 60 -rw-r--r-- 1 userland userland 2019 Jun 14 13:20 conftest.py Changelog: ========== - Rewrote locking mechanism to allow for custom locking classes so both Windows and Posix (Linux/Mac/BSD) systems have configurable locking options for both exclusive and shared locking. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inline-snapshot: upgrade 0.23.2 -> 0.24.0Liu Yiding2025-07-221-1/+1
| | | | | | | | | | | | | | Changelog: ========== - Add/fix reproducible standard repr for functions - added llms.txt to make the documentation for llms more accessible. - Improved the explanation of what it means when snapshots are disabled in CI runs (#226). - Added extra information to the reported failure when snapshots are fixed or created (#240). - fixed the representation of empty strings in sub-snapshots from triple-quotes to single-quotes assert ""==snapshot({5: ""})[5] (#258). - fix: changed format-command default to "" (#256). Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-tools: upgrade 1.72.1 -> 1.73.1Liu Yiding2025-07-223-9/+6
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-reflection: upgrade 1.72.1 -> 1.73.1Liu Yiding2025-07-221-1/+1
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio-channelz: upgrade 1.72.1 -> 1.73.1Liu Yiding2025-07-221-1/+1
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.72.1 -> 1.73.1Liu Yiding2025-07-223-11/+8
| | | | | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-distlib: upgrade 0.3.9 -> 0.4.0Liu Yiding2025-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Added tag 0.3.9 for changeset 2f9280e89d42 - Bump version. - Locate with extras. - Make the type of finder needed in register_finder explicit (#236) - Add 3.13 to CI. - Tweak test which is unsuitable for Windows on Python >= 3.13. - Fix #238: Add build tag to wheel metadata if specified. - Exclude Python 3.7 from ubuntu-latest in CI. - Remove macos-12 from CI. - Update `test_wheel.WheelTestCase.test_abi` for freethreading (#244) - Support subdirectories in .dist-info (fixes #246) (#247) - Skip no-longer-relevant test. - Normalize archive paths in dist-info (#248) - Temporarily exclude 3.13t on windows-latest. - docs: update coverage results link (#250) - Guard script wrapper entrypoint import with if __main__ (#242) - Changes for 0.4.0. - Update change log, widen exception catching in test. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cmake: upgrade 4.0.2 -> 4.0.3Liu Yiding2025-07-211-1/+1
| | | | | | | | | Changelog: =========== - update pre-commit hooks Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-exhale: add python3-beautifulsoup4 as RDEPENDSJan Vermaete2025-07-211-0/+4
| | | | | | | bs4 was missing when running Sphinx Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-myst-parser: added missing RDEPENDSJan Vermaete2025-07-211-0/+2
| | | | | | | | | | markdown-ti-py [1] and mdit-py-plugins [2] were missing [1] https://github.com/executablebooks/MyST-Parser/blob/master/pyproject.toml#L39 [2] https://github.com/executablebooks/MyST-Parser/blob/master/pyproject.toml#L40 Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-starlette: Upgrade 0.47.1 -> 0.47.2Leon Anavi2025-07-211-1/+1
| | | | | | | | | Upgrade to release 0.47.2: - Make UploadFile check for future rollover Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-vector: Upgrade 1.6.2 -> 1.6.3Leon Anavi2025-07-211-1/+1
| | | | | | | | | | | | | | | | Upgrade to release 1.6.3: - feat: numba is now available on python 3.13 - fix: upper pin 3.14 for numba - fix: uniform type checks in constructors + more tests - fix: replace nan_to_num with where for CuPy - docs: update CITATION.cff and add JOSS badge - docs: move and update contributing guide - docs: fix rendering of awkward reprs - docs: update papers and citation Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-nanobind: Upgrade 2.7.0 -> 2.8.0Leon Anavi2025-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 2.8.0: - Added :cpp:class:`nb::fallback <fallback>` wrapper type, which is a :cpp:class:`nb::handle <handle>` that always requires implicit conversion during casting. This is convenient when adding catch-all overloads that must handle arbitrary Python objects, without interfering with implicit conversion of arguments in other overloads. - The nanobind::literals namespace now includes _s to create a Python string from source code literals. - Added :cpp:func:`nb::dict::empty() <dict::empty>`, :cpp:func:`nb::list::empty() <list::empty>`, :cpp:func:`nb::set::empty() <set::empty>`, and :cpp:func:`nb::tuple::empty() <tuple::empty>` convenience methods. - Added a :cpp:func:`nb::dict::get() <dict::get>` function to perform dictionary lookups with a fallback value in case of failures. - Nanobind now uses multi-phase (as opposed to single-phase) initialization API when registering modules. However, multi-interpreter extensions remain unsupported. - Added :cpp:class:`nb::frozenset` that wraps the Python frozenset type. - Miscellaneous fixes and improvements. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-charset-normalizer: Update mypyLeon Anavi2025-07-172-0/+30
| | | | | | | | Apply a patch to update the requirements on mypy to permit the latest version. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-mypy: Upgrade 1.15.0 -> 1.17.0Leon Anavi2025-07-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.17.0: - Mypy can now optionally generate an error if a match statement does not match exhaustively, without having to use assert_never(...). Enable this by using --enable-error-code exhaustive-match. - Handle corner case: protocol/class variable/descriptor - Fix a few inconsistencies in protocol/type object interactions - Refactor/unify access to static attributes - Remove inconsistencies in operator handling - Make protocol subtyping more consistent - Fix nondeterministic type checking by making join with explicit Protocol and type promotion commute - Fix nondeterministic type checking caused by nonassociative of None joins - Fix nondeterministic type checking caused by nonassociativity of joins - Fix nondeterministic type checking by making join between type and TypeVar commute - Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated as unnecessary, and a no-op. It will be removed in a future version. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>