summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3: skip test_concurrent_futures/test_shutdownTrevor Gamblin4 days2-0/+47
| | | | | | | | | | These tests are causing hangs on the Autobuilder, so disable them for now. (From OE-Core rev: fe22c66f4da87e7dca62dfbeec2185e4efcc31a9) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-hooks: fix upstream version checkAlexander Kanavin4 days1-2/+0
| | | | | | | (From OE-Core rev: d19b85c66c6b88a4545ce9b9b67f74169c9fdcec) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie11 days1-3/+4
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: upgrade 1.4.0 -> 1.5.1Tim Orling11 days3-354/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop riscv-32 patch (merged in 1.5.0) * Refresh ${BPN}-crates.inc 1.5.1 - 2024-03-21 * Fix usage of --compatibility when run as a PEP517 backend in #1992 * Fix upload returning malformed summary error in #2002 1.5.0 - 2024-03-05 * Bump metadata version from 2.1 to 2.3 in #1965. Source distributions created by maturin now have reliable metadata, meaning tool such as pip, uv and poetry could skip building them for version resolution. * Allow identical VIRTUAL_ENV and CONDA_PREFIX env vars in #1879 * Reject -i python when cross compiling in #1891 * Support uniffi-bindgen in cargo workspaces in #1909 * Add support for configuring xwin using env vars in #1961 * Add validation for crate/package name in new/init in #1943 * Add 32-bit RISC-V support in #1969 * Improve import hook changes in #1958 * Adjust cbindgen Overrides for CFFI in #1957 https://github.com/PyO3/maturin/compare/v1.4.0...v1.5.1 (From OE-Core rev: 6dd2ad8cce1eb38ace7e69fc51f9fe047e6e28f1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 8.1.1 -> 8.2.0Trevor Gamblin11 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://docs.pytest.org/en/8.2.x/changelog.html pytest 8.2.0 (2024-04-27) Deprecations - #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it: - pytest_ignore_collect - the path parameter - use collection_path instead. - pytest_collect_file - the path parameter - use file_path instead. - pytest_pycollect_makemodule - the path parameter - use module_path instead. - pytest_report_header - the startdir parameter - use start_path instead. - pytest_report_collectionfinish - the startdir parameter - use start_path instead. The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0. See py.path.local arguments for hooks replaced with pathlib.Path for more details. Features - #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line. See Read arguments from file for details. Improvements - #11523: pytest.importorskip() will now issue a warning if the module could be found, but raised ImportError instead of ModuleNotFoundError. The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip(). See pytest.importorskip default behavior regarding ImportError for details. - #11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup) are now reported instead of silently failing. - #11777: Text is no longer truncated in the short test summary info section when -vv is given. - #12112: Improved namespace packages detection when consider_namespace_packages is enabled, covering more situations (like editable installs). - #9502: Added PYTEST_VERSION environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run. Bug Fixes - #12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'. Now the request.instance attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods. Previously it was None, and all fixtures of such tests would share a single self. - #12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances. - #12194: Fixed a bug with --importmode=importlib and --doctest-modules where child modules did not appear as attributes in parent modules. - #1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in. Trivial/Internal Changes - #12069: pluggy>=1.5.0 is now required. - #12167: cache: create supporting files (CACHEDIR.TAG, .gitignore, etc.) in a temporary directory to provide atomic semantics. pytest 8.1.2 (2024-04-26) Bug Fixes - #12114: Fixed error in pytest.approx() when used with numpy arrays and comparing with other types. (From OE-Core rev: 313a992d34d0b46d3f0bf2bb87c6bd7899df4028) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2024.3.3 -> 2024.4.10Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | Changelog: ========== - Add Natural Languages - Add OpenTelemetry related classifiers (From OE-Core rev: d2b76538679910d986e3e58f91bd9fce8eb9c63f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 69.2.0 -> 69.5.1Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | Changelog: ============= - Merged bugfix for pypa/distutils - Refresh unpinned vendored dependencies. - Updated vendored packaging to version 24.0. - Remove attempt to canonicalize the version. It's already canonical enough. - Support PEP 625 by canonicalizing package name and version in filenames. (From OE-Core rev: e411840719054ed7e1ada8b2386860a91c80672b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.48.1 -> 3.48.2Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | Changelog: =========== * Fix support for fundamental (primitive) types, such as Gst.Bitmask (From OE-Core rev: eb5cb27155232b969508825628ee87942e9ba1cf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: upgrade 1.4.0 -> 1.5.0Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | Changelog: =========== - Add support for deprecating specific hook parameters, or more generally, for issuing a warning whenever a hook implementation requests certain parameters. - PluginManager.get_plugins() no longer returns None for blocked plugins. (From OE-Core rev: 0a6fe31e8fbf0c70a488b7cb10bab3a4d729ec34) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.3.2 -> 1.3.3Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | | Changelog: ============ - Fixed unexpected error when use control lines which the first control block with no bodies other than comments,as pass is now added to the first empty block. - Fixed unexpected syntax error in strict_undefined mode that occurred when using comprehensions within a function in a Mako Python code block. Now, the local variable in comprehensions won't be added to the checklist when using strict_undefined mode. (From OE-Core rev: 1eb880291476759a56c2772c9485bec41040ccff) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 5.1.0 -> 5.2.1Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | Changelog: =========== * LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to "core2", but with SSE 4.2 enabled. * LP#2059977: "Element.iterfind("//absolute_path")" failed with a "SyntaxError" where it should have issued a warning. * GH#416: The documentation build was using the non-standard "which" command. (From OE-Core rev: ed3cfa344c65daf4ac61d4ca95288c72885b4b11) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: upgrade 3.6 -> 3.7Wang Mingyu2024-04-251-2/+2
| | | | | | | | | | | | License-Update: Copyright year updated to 2024. Changelog: Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. (From OE-Core rev: 13316368a8fd886a6eba96e0fc505e80c709b7f0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.99.4 -> 6.100.1Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= -improve a rare error message for flaky tests -The from_dtype() function no longer generates NaT ("not-a-time") values for the datetime64 or timedelta64 dtypes if passed allow_nan=False -includes the backend setting in the how_generated field of our observability output. -If you were running Python 3.13 (currently in alpha) with pytest-xdist and then attempted to pretty-print a lambda functions which was created using the eval() builtin, it would have raised an AssertionError. -improves an internal invariant. -fixes Hypothesis sometimes raising a Flaky error when generating collections of unique floats containing nan. -continues our work on refactoring the shrinker -continues our work on refactoring shrinker internals -resolves PermissionError that come from creating databases on inaccessible paths. -starts work on refactoring our shrinker internals. There is no user-visible change. -fixes a longstanding performance problem in stateful testing (From OE-Core rev: 0652a662f01fef3364c375817809fbffc452cfaf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.22.4 -> 1.24.1Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | Fix: Maintain file permissions for shared-scripts option/shared_scripts build data of the wheel target (From OE-Core rev: d52a9369ebeebcd17c27b371008b5c01b619556d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2024.2 -> 2024.4Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -fixups: Convert anyOf/oneOf + const to enum -dt-validate: Add an 'only matching compatible' schema validation mode -schemas: pci: allow additional device properties in pci-pci-bridge -validator: Rework selecting schemas for validation -validator: Add a version to the processed schemas -schemas: chosen: Remove 'linux,tpm-kexec-buffer' -README: fix broken link to json-schema.org -schemas: Add schema for post-init-providers -fixups: Fix dropping of array 'items' schema -schemas: chosen: Change address+size properties' type to 'address' -Add a dedicated type for address properties -dtb: Filter out types with the wrong length multiple -schemas: dma: Ensure 'dma-names' entries are unique (mostly) -schemas: Ensure -names properties' entries are unique -dtb: Skip decoding strings if not nul terminated (From OE-Core rev: 32d96d1334a5641a6b3a67244b1fc6daf77c5268) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.0.9 -> 3.0.10Wang Mingyu2024-04-252-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * Cython generated incorrect self-casts when directly calling final methods of subtypes. * Internal C names generated from C function signatures could become too long for MSVC. * The "noexcept" warnings could be misleading in some cases. * The "@cython.ufunc" implementation could generate incomplete C code. * The "libcpp.complex" declarations could result in incorrect C++ code. * Several tests were adapted to work with both NumPy 1.x and 2.0. * C compiler warnings when the freelist implementation is disabled (e.g. on PyPy) were fixed. It can now be disabled explicitly with the C macro guard "CYTHON_USE_FREELISTS=0". * Some C macro guards for feature flags were missing from the NOGIL Python configuration. * Some recently added builtins were unconditionally looked up at module import time (if used by user code) that weren't available on all Python versions and could thus fail the import. * A performance hint regarding exported pxd declarations was improved. (From OE-Core rev: 4c5840c01e40a012fcbdc316cbed817f4b3cf230) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: upgrade 0.18.2 -> 0.18.5Wang Mingyu2024-04-251-1/+1
| | | | | | | (From OE-Core rev: ceb7d21da8476f30687cc2e4af3837bfd214e73a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycparser: upgrade 2.21 -> 2.22Wang Mingyu2024-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: =============== Slightly tweak the LICENSE file to be more canonical: - Copyright year updated to 2022. - "Eli Bendersky: changed to "the copyright holder" Changelog: =========== -Add missing SCHAR limit defines -Use proper SPDX identifier -Add Python 3.11 as a supported version -Fix multi-pragma/single statement blocks (#479) -Add an encoding parameter to parse_file -Feature/add pragma support -Set up permissions to ci.yml -_build_tables: Invalidate cache before importing generated modules -Upgrade GitHub Actions -Create a Security Policy -New example to generate AST from scratch -Add support for Python 3.12 -ply: Make generated lextab.py deterministic (From OE-Core rev: ada1bdcbf18e0d8707578b04cd39aa8a429b6677) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.10.0 -> 4.11.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | Changelog: ========== -Fix tests on Python 3.13.0a5. -Fix the runtime behavior of type parameters with defaults -Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. -When include_extra=False, get_type_hints() now strips ReadOnly from the annotation. (From OE-Core rev: a10eadd95f91adbd63d006962742ce8295ea1a45) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: upgrade 0.5.1 -> 0.6.0Wang Mingyu2024-04-162-1/+1
| | | | | | | | | | | | | Changelog: ========== -Removed support for EOL Python 2.7, 3.6, 3.7 -Added support for previously missing RELATIVE-OID construct -Updated link to Layman's Guide (From OE-Core rev: 2c6615686019d886edf8f0e8c731a67f166de5d1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.42 -> 3.1.43Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | Changelog: ============ -Issue and test deprecation warnings -Fix version_info cache invalidation, typing, parsing, and serialization -Document manual refresh path treatment -Improve static typing and docstrings related to git object types (From OE-Core rev: 2e4ad71602b2a9d9132a39ab34e402bf021800ab) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-build: upgrade 1.1.1 -> 1.2.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | Changelog: ============ -Avoid error when terminal width is undetectable on Python < 3.11 -Add --installer option, supporting pip and uv. Added uv extra. -Improve console output and provide -v for dependency installation -Avoid compiling unused bytecode when using pip -Dropped support for Python 3.7 (From OE-Core rev: 83227b767299a1f8bbeb9e3b69eab8aa09fb6a07) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: upgrade 0.17.2 -> 0.18.2Wang Mingyu2024-04-161-1/+1
| | | | | | | (From OE-Core rev: 12bd38ef2c26e60b3dd35b5227189699a4188c1d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.17.0 -> 3.18.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | Changelog: ============ -Bypass ZipFile.namelist in glob for better performance. -Refactored glob functionality to support a more generalized solution with support for platform-specific path separators. -Add special accounting for pypy when computing the stack level for text encoding warnings. (From OE-Core rev: 8e6780fa9d057f798fbd92e1a42aa60ee6876c2f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.42.0 -> 0.43.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | Changelog: ========== -Dropped support for Python 3.7 -Updated vendored packaging to 24.0 (From OE-Core rev: 6c69b4f31b1d5454b18d9d5f8494888705380607) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 69.1.1 -> 69.2.0Wang Mingyu2024-04-162-4/+4
| | | | | | | | | | | | | | | | | | | | 0001-conditionally-do-not-fetch-code-by-easy_install.patch refreshed for 69.2.0 Changelog: ========== -Explicitly use encoding="locale" for .pth files whenever possible, to reduce EncodingWarnings. This avoid errors with UTF-8 -Clarify some Package Discovery and Resource Access using pkg_resources methods return bytes, not str. Also return an empty bytes in EmptyProvider._get -Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources -Made pkg_resoursces.NullProvider's has_metadata and metadata_isdir methods return actual booleans like all other Providers. (From OE-Core rev: 49d2c4cf43d4ccac6f3f6c090fc0e5b0365645b6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade 4.6.0 -> 4.7.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | Changelog: https://github.com/SCons/scons/releases/tag/4.7.0 (From OE-Core rev: f61957bc35fe36849c5b0d8ed512da7ee7d1f084) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-referencing: upgrade 0.33.0 -> 0.34.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | Changelog: -Also look inside definitions keywords even on newer dialects. The specification recommends doing so regardless of the rename to $defs. (From OE-Core rev: 9c608f3bf72141b97be3f64d5ab03592004155e5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyelftools: upgrade 0.30 -> 0.31Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============= -remove universal setting for wheels, since we don't support py2 now -[RELOCATIONS] add enum for v850 relocations -Fix buffer overrun in NT_GNU_PROPERTY_TYPE_0 parser -Fix iter_notes to handle >4 byte segment alignment -Support for XC16/PIC phantom bytes -Support for the GNU note with the AARCH64 CPU features -Fix for mixed version loclists, tests -Update supported python versions for GitHub actions CI -Initial s390x relocation support -Add py.typed to elftools -Fix ranges autotest take 2 -Support getting RELR relocations from dynamic section -Dynamic array size can be a loclist/locexpr -DW_OP_GNU_uninit -Update CHANGES to mention Python 2 (lack of) support -Remove redundant wheel dep from pyproject.toml -False positive on LocationParser.attribute_has_location() -Support for DW_OP_WASM_location -Dwarfdump test on Windows -More Apple, LLVM attributes (From OE-Core rev: 100ea6a8ae6b05521d394a1217ae0e744a46c7dd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 23.2 -> 24.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Fix specifier matching when the specifier is long and has an epoch -Clarify version split/join usage -Default optional metadata values to None -Stop using deprecated/removed keys -Correctly use the ExceptionGroup shim only when needed -Update CHANGELOG entry about validate kwarg -Support --disable-gil builds (PEP 703) in packaging.tags -Skip test_glibc_version_string_ctypes_raise_oserror if ctypes is unavailable -Enable CodeQL -PEP 703: Rename Py_NOGIL to Py_GIL_DISABLED -Replace PEP references with PUG links -Remove coverage ignore for non-existent file -Update URLs -Configure dependabot -Hash pin github actions -Apply some refurb suggestions -Appply some bugbear suggestions -Apply some ruff suggestions -Add riscv64 as a supported manylinux architecture (From OE-Core rev: b3ab311628a6668827a06c74e4880e4c0dbff7c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markdown: upgrade 3.5.2 -> 3.6Wang Mingyu2024-04-161-2/+2
| | | | | | | | | | | | | Changelog: https://github.com/Python-Markdown/markdown/releases/tag/3.6 License-Update: Update the license template so GitHub can detect it (From OE-Core rev: 6a8c53f283f5637480b667e51bfd5c71c3ab0db2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-license-expression: upgrade 30.2.0 -> 30.3.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | Changelog: =========== -Use latest skeleton -Update license list to latest ScanCode and SPDX 3.23 -Drop support for Python 3.7 -Release prep v30.3.0 (From OE-Core rev: c8763d3653ad5dd508d72163ba844f3f5b901136) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 7.0.2 -> 7.1.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | Changelog: ========== -Make MetadataPathFinder.find_distributions a classmethod for consistency with CPython. -Allow MetadataPathFinder.invalidate_caches to be called as a classmethod. (From OE-Core rev: 11b074f79bc30115c8a1cfc0119acb3f8f6ea609) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.21.1 -> 1.22.4Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============= Added: ---------- -Metadata for the wheel target now defaults to the PKG-INFO metadata within source distributions -Add dependencies method to the build hook interface so that hooks can themselves dynamically define dependencies -Update SPDX license information to version 3.23 -Improve error message for when the default heuristics for wheel file inclusion fail -Update the default version of core metadata to 2.3 Fixed: ----------- -Properly support core metadata version 2.2 -Only read source distribution metadata for fields that are explicitly defined as dynamic -Fix the custom build hook when using dynamic dependencies -Fix regression when loading metadata from source distributions -Fix metadata hooks when building wheels from source distributions -Remove editables as a direct dependency -Fix default wheel tag when the supported Python version declaration is strict -Load VCS ignore patterns first so that whitelisted patterns can be excluded by project configuration -Don't consider VCS ignore files that are outside of the VCS boundary -The sdist build target now gracefully ignores UNIX socket files -Begin ignoring certain files ubiquitously, like .DS_Store on macOS (From OE-Core rev: 3318192cda7df2a9fd9497b58570537c0d856b67) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2024.2.23 -> 2024.3.3Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | Changelog: ========= *add "License :: OSI Approved :: NASA Open Source Agreement (NOSA)" * added NOSA * Update src/trove_classifiers/__init__.py (From OE-Core rev: d2aa7736e52950f17d3abe3be28a7d62d497554b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 8.0.2 -> 8.1.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | Changelog: https://docs.pytest.org/en/stable/changelog.html (From OE-Core rev: 7698fa9981eb94409d0988f17bc31f307f0a009d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-subtests: upgrade 0.11.0 -> 0.12.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | Changelog: =========== -Fixed compatibility with upcoming pytest 8.1.x. -Python 3.12 is now officially supported -Added typing support -SubTests can be imported from pytest_subtests to type-annotate the subtests fixture. (From OE-Core rev: a873332beb58320e6ed6d8d816e6b4f065375602) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.1.1 -> 3.1.2Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Added 'ieee_float' expression to 'pyparsing.common', which parses float values, plus "NaN", "Inf", "Infinity". - Updated pep8 synonym wrappers for better type checking compatibility. - Fixed empty error message bug. This _should_ return pyparsing's exception messages to a former, more helpful form. If you have code that parses the exception messages returned by pyparsing, this may require some code changes. - Added unit tests to test for exception message contents, with enhancement to 'pyparsing.testing.assertRaisesParseException' to accept an expected exception message. - Updated example 'select_parser.py' to use PEP8 names and added Groups for better retrieval of parsed values from multiple SELECT clauses. - Added example 'email_address_parser.py' - Added example 'directx_x_file_parser.py' to parse DirectX template definitions, and generate a Pyparsing parser from a template to parse .x files. - Some code refactoring to reduce code nesting - All internal string expressions using '%' string interpolation and 'str.format()' converted to f-strings. (From OE-Core rev: dc067714b407577a7984a413d07282bea1a2fd72) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyopenssl: upgrade 24.0.0 -> 24.1.0Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | Changelog: -Removed the deprecated OpenSSL.crypto.PKCS12 and OpenSSL.crypto.NetscapeSPKI. OpenSSL.crypto.PKCS12 may be replaced by the PKCS#12 APIs in the cryptography package. (From OE-Core rev: e7f9bb7b3b3f051694df7e7af01d538197cbacfd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: update 3.46.0 -> 3.48.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * Fix installation with pip failing in some environments with ModuleNotFoundError in g-ir-scanner :issue:'622' :mr:'302' * test: fix some tests on macOS :mr:'296' * docs: some dark mode fixes :mr:'291' * Drop setuptools in favor of meson-python :mr:'248' :mr:'253' :mr:'254' :mr:'255' :mr:'276' * Fundamental type support :mr:'250' * Fundamental type support for GValues :mr:'264' * pygi-convert.sh: migrate FILE_CHOOSER_CONFIRMATION_* :mr:'266' * gimodule, cairo: Use multi-phase initialization as per PEP-489 :mr:'271' * Deprecate classes in gi.option module :mr:'272' * Deprecate pygtkcompat :mr:'278' * Add support for (optional) nullable GErrors :mr:'259' * Fix CssProvider not valid in GTK2 :mr:'284' * Fix double free if array item cannot be marshalled to Python :mr:'280' * Raise exception if a callback property is encountered :mr:'269' * build: Fix pycairo detection "script" for Windows :mr:'267' * Replace deprecated ''pkgutil.find_loader'' call :mr:'252' * Avoid segfault on property access for incompletely initialized objects :mr:'260' * pygenum: When getting a member instance, use correct key for the lookup :mr:'262' (From OE-Core rev: 49ee7fff74464ca2838c609f2b6f4d1b8e09e8bc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-libarchive-c: upgrade 5.0 -> 5.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | Changelog: =========== Fix the format_name property and move it from the ArchiveEntry class to the ArchiveRead class (From OE-Core rev: eea08686271c5683840a733c32eda663c2aa23f6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 7.0.1 -> 7.0.2Wang Mingyu2024-04-161-1/+1
| | | | | | | (From OE-Core rev: 6bbe1785a5d0f5efd83cfefff39178d7f8523946) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.98.15 -> 6.99.4Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Fix regression caused by using PEP 696 default in TypeVar with Python 3.13.0a3. -improves the type annotations in hypothesis.extra.numpy. -Simplify the type annotation of column() and columns() by using PEP 696 to avoid overloading. -implement type annotations for column(). -add the experimental and unstable backend setting. -fixe issue #3900, a performance regression for arrays() due to the interaction of 6.98.12 -improve the type annotations in hypothesis.extra.numpy, which makes inferred types more precise for both mypy and pyright, and fixes some strict-mode errors on the latter. -pave the way for future shrinker improvements. There is no user-visible change. (From OE-Core rev: 71cf65e4a1137c20ece34a6ad5a65f037295daf2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.0.8 -> 3.0.9Wang Mingyu2024-04-162-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Features added -------------- * Assigning "const" values to non-const variables now issues a warning. * Using "noexcept" on a function returning Python objects now issues a warning. * Some C-API usage was updated for the upcoming CPython 3.13. * The deprecated "Py_UNICODE" type is no longer used, unless required by user code. * "std::string.replace()" declarations were added to libcpp.string. Bugs fixed ---------- * Cython generates incorrect (but harmless) self-casts when directly calling final methods of subtypes. Lacking a better solution, the errors that recent gcc versions produce have been silenced for the time being. * Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled. * Subclass deallocation of extern classes could crash if the base class uses GC. * Type checks for Python "memoryview" could use an invalid C function. * Calling final fused functions could generate invalid C code. * Declaring extern enums multiple times could generate invalid C code. * "pyximport" used relative paths incorrectly. * Running Cython with globbing characters ("[]*?") in the module search path could fail. * Literal strings that include braces could change the C code indentation. Other changes ------------- * The "enum class not importable" warning is now only issued once per enum type. (From OE-Core rev: 35a7d28d271d2f3e27cf24c2433c4e69c650509e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: update 5.0.0 -> 5.1.0Alexander Kanavin2024-04-161-2/+1
| | | | | | | | | | Upstream issued the new version in .tar.gz format, so .zip setting can be dropped. (From OE-Core rev: c208be7a9a5fec8b8d56356666de8be7d6d8a121) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.12.2 -> 3.12.3Trevor Gamblin2024-04-142-57/+1
| | | | | | | | | | | | | | | | | | | Remove the following patch: 0001-gh-115133-Fix-tests-for-XMLPullParser-with-Expat-2.6.patch Which a different fix was submitted for in: c4fa79b924 [3.12] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115288) See: https://github.com/python/cpython/pull/115288 (related to CVE-2023-52425) Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-12-3-final (From OE-Core rev: 4122d8f6ecf6957de7a34fc51beffcd8e808911f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-testtools: Fix build problems from incorrect build backendRichard Purdie2024-04-142-29/+19
| | | | | | | | | | | | | | | | | | | testtools uses the hatchling backend so: * merge the inc back into the recipe * drop setuptools * use the hatchling backend * add the needed vcs dependency * drop the now unneeded python3-pbr dependency This means the submodules are included in packaging, fixing build failures and the verison in the wheel is no longer 0.0.0 Prior to this fix, testtools in buildtools tarball was completely broken. (From OE-Core rev: fe46107e6bf4880d97f03b5e55d722d64f922889) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: Import from meta-pythonRichard Purdie2024-04-141-0/+16
| | | | | | | | | For the newer hash equivlance servers we need websockets. Import it from meta-oe so we can easily include it in buildtools tarball. (From OE-Core rev: c61ed007b9e06683065aed62af1e1ca4569b8c16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-referencing: drop ${PYTHON_PN}Justin Bronder2024-04-131-1/+1
| | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. (From OE-Core rev: f64078dd67b2d4db26edea5992f649161e7fee2f) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema-specifications: drop ${PYTHON_PN}Justin Bronder2024-04-131-1/+1
| | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. (From OE-Core rev: 51c6501e7b255f3a699fea3b787abe1a5d8231dd) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>