summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-jinja2: upgrade 3.1.2 -> 3.1.3Wang Mingyu2024-01-191-1/+1
| | | | | | | | | | | | | | Changelog: ========== -Fix compiler error when checking if required blocks in parent templates are empty. -xmlattr filter does not allow keys with spaces. -Make error messages stemming from invalid nesting of {% trans %} blocks more helpful (From OE-Core rev: 8a0524464583d69df7746253f5020c2c125a8e1f) 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-hypothesis: upgrade 6.92.2 -> 6.92.9Wang Mingyu2024-01-191-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 1a03e8dab7192195f63f03fab675d50cb04f6731) 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-git: upgrade 3.1.40 -> 3.1.41Wang Mingyu2024-01-191-1/+1
| | | | | | | | | | | Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.41 (From OE-Core rev: 4c6db718193cad9cc61fbea396fa5997da4b7298) 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-cython: upgrade 3.0.7 -> 3.0.8Wang Mingyu2024-01-192-1/+1
| | | | | | | | | | | | | | | | | Changelog: ============ * Using "const" together with defined fused types could fail to compile. * A "use after free" bug was fixed in parallel sections. * Several types were not available as "cython.*" types in pure Python code. * The generated code is now correct C89 again, removing some C++ style "//" comments and C99-style declaration-after-code code ordering. This is still relevant for some ols C compilers, specifically ones that match old Python 2.7 installations. (From OE-Core rev: bedd518a2a0c2e7085f92c79236b0c0983f3d653) 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-numpy: upgrade 1.26.2 -> 1.26.3Wang Mingyu2024-01-192-7/+5
| | | | | | | | | | | | | | 0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch refreshed for 1.26.3 Changelog: https://github.com/numpy/numpy/releases/tag/v1.26.3 (From OE-Core rev: 04d1c142274702726f8fc7afed7420d9e6f07ddd) 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>
* python: update 3.11.5 -> 3.12.1Alexander Kanavin2024-01-1926-514/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop distutils and smtpd modules from packaging, as both are gone in 3.12. Rebase: 0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch (drop setup.py chunk as the file is gone) Drop patches: 0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch (setup.py gone, lib/termcap not mentioned anywhere else) 0001-Don-t-search-system-for-headers-libraries.patch (setup.py gone, usr/lib64 not mentioned anywhere else) 0001-Makefile-do-not-compile-.pyc-in-parallel.patch (replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE) 0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch (setup.py gone, add_multiarch_paths not mentioned anywhere else) 0017-setup.py-do-not-report-missing-dependencies-for-disa.patch (has been superseded by Setup.local tweak in do_configure:prepend) 12-distutils-prefix-is-inside-staging-area.patch (distutils has been removed upstream, so this old, unplesant hack can be finally dropped) avoid_warning_about_tkinter.patch (setup.py gone, tkinter detection logic performed in configure.ac) (From OE-Core rev: 716d82352545d3667a658b69d65d6127678dd150) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-alabaster: upgrade 0.7.13 -> 0.7.16Tim Orling2024-01-191-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Since 0.7.14 setup.py was dropped and now the project is using the flit core backend (inherit python_flit_core) * Add BUGTRACKER url License-Update: LICENSE renamed to LICENSE.rst https://alabaster.readthedocs.io/en/latest/changelog.html#changelog 0.7.14 – 2024-01-08 * Dropped support for Python 3.8 and earlier. * Dropped support for Sphinx 3.3 and earlier. * #198 Fix horizontal scrolling on mobile. * #206 Properly support the html_support_sphinx config value. * #211 Fix the GitHub ‘forkme’ banner. * Added alabaster_version_info to the HTML template context. * Declare support for Python 3.13. * Adopt the Ruff linter and formatter. * Migrate from CircleCI to GitHub Actions. 0.7.15 – 2024-01-08 * #213 Allow an arbitrary string in the logo_name option. * #114 Improved sidebar CSS styles. * #178 Deprecated canonical_url in favor of html_baseurl. * #200 Removed duplicate <meta name="viewport" ... /> tag. * #188 Removed underline from whitespace. * #164 Removed type="text/javascript" from <script> elements. * #161 Replaced &copy; with unicode decimal code entity #169;. 0.7.16 – 2024-01-10 * #215 Do not display logo_name if it is set to False. (From OE-Core rev: 596b58093cde62aacfa29e12e5aa4adfde8190bf) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: update 0.29.36 -> 3.0.7Alexander Kanavin2024-01-102-2/+5
| | | | | | | | | | | | | | | | pep517 build backends require cython 3.x when python is at 3.12, so we can't hold this update any longer. There are only a few things in meta-oe and meta that break anymore, and fixes for them are provided at the same time as this patch. License-update: http -> https (From OE-Core rev: 21507a3be23a604259a6a903a7083db54d29487f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyyaml: make compatible with cython 3.xAlexander Kanavin2024-01-102-0/+55
| | | | | | | | | | | | | This has been rejected by upstream in favour of requiring obsolete cython until there's 'proper' 3.x support. Months later, there's still no progress so let's just take the rejected fix, as it does work (as reported by others as well), and allows moving forward with cython. (From OE-Core rev: cf4e45176a37b6f53a6316ec6b1556d6aea39b57) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: enable ptestTim Orling2024-01-092-1/+20
| | | | | | | | | | | The conftest.py file is needed to define the "slots" and "frozen" fixtures for pytest (From OE-Core rev: c27ddbe1dcfae564e93593c90517c2b4502d1709) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: upgrade 4.1.1 -> 4.1.2Tim Orling2024-01-092-7/+7
| | | | | | | | | | | | | | | | | | * Refresh -crates.inc https://github.com/pyca/bcrypt/compare/4.1.1...4.1.2 https://github.com/pyca/bcrypt/?tab=readme-ov-file#changelog https://github.com/pyca/bcrypt/?tab=readme-ov-file#412 * Publish both py37 and py39 wheels. This should resolve some errors relating to initializing a module multiple times per process. (From OE-Core rev: 2f428acc78e37aec78d11aac9605f0311b6b9c4a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 4.9.4 -> 45.0.0Wang Mingyu2024-01-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -LP#1976304: The "Element.addnext()" method previously inserted the new element before existing tail text. The tail text of both sibling elements now stays on the respective elements. -LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after parsing incorrect input. -"Element.itertext(with_tail=False)" returned the tail text of comments and processing instructions, despite the explicit option. -GH#370: A crash with recent libxml2 2.11.x versions was resolved. -A compile problem with recent libxml2 2.12.x versions was resolved. -The internal exception handling in C callbacks was improved for Cython 3.0. -The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback", -"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were corrected to prevent running Python code or calling into the C-API with a live exception set. -GH#385: The long deprecated "unittest.makeSuite()" function is no longer used. -LP#1522052: A file-system specific test is now optional and should no longer fail on systems that don't support it. -GH#392: Some tests were adapted for libxml2 2.13. -Contains all fixes from lxml 4.9.4. (From OE-Core rev: 5d9cd0ef5f7235eb5c8495a803bea6940c2994fe) 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-attrs: upgrade 22.1.0 -> 23.2.0Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - The type annotation for 'attrs.resolve_types()' is now correct. - Type stubs now use 'typing.dataclass_transform' to decorate dataclass-like decorators, instead of the non-standard '__dataclass_transform__' special form, which is only supported by Pyright. - Fixed serialization of namedtuple fields using 'attrs.asdict/astuple()' with 'retain_collection_types=True'. - 'attrs.AttrsInstance' is now a 'typing.Protocol' in both type hints and code. This allows you to subclass it along with another 'Protocol'. - If *attrs* detects that '__attrs_pre_init__' accepts more than just 'self', it will call it with the same arguments as '__init__' was called. This allows you to, for example, pass arguments to 'super().__init__()'. - Slotted classes now transform 'functools.cached_property' decorated methods to support equivalent semantics. - Added *class_body* argument to 'attrs.make_class()' to provide additional attributes for newly created classes. It is, for example, now possible to attach methods. (From OE-Core rev: 9070758f0bb806f763a0d07b2b58b8b84b255880) 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-pytest: upgrade 7.4.3 -> 7.4.4Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ============ -Fix non-string constants at the top of file being detected as docstring s on Python>=3.8. -Handle an edge case where sys.stderr and sys.__stderr__ might already be closed when Fault Handler is tearing down. -Fixed tracebacks from collection errors not getting pruned. -Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in __iter__ methods. Now they are treated un-iterable instead. -Updated documentation to refer to hyphenated options: replaced --junitxml with --junit-xml and --collectonly with --collect-only. (From OE-Core rev: 14c73455c4b0ac369ba50a57b69e9c780022a485) 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-pycryptodomex: upgrade 3.19.0 -> 3.19.1Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | Changelog: Fixed a side-channel leakage with OAEP decryption that could be exploited to carry out a Manger attack. (From OE-Core rev: a6800df99159ab51b059bc2307049a72f7fcd663) 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-pycryptodome: upgrade 3.19.0 -> 3.19.1Wang Mingyu2024-01-072-5/+5
| | | | | | | | | | | Changelog: Fixed a side-channel leakage with OAEP decryption that could be exploited to carry out a Manger attack. (From OE-Core rev: d3b9b9f8d868602010b1de549f92758c78c701e0) 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-hypothesis: upgrade 6.92.1 -> 6.92.2Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | | Changelog: ============ updates vendored list of top-level domains, which is used by the provisional domains() strategy. (From OE-Core rev: 7e6e484f4c36c098dc7dc17b6e7e6b4361572608) 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-hatch-fancy-pypi-readme: upgrade 23.1.0 -> 24.1.0Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | | | | | Changelog: =========== -Added a default to an internal API that is used by scikit-build-core. -$HFPR_VERSION is now replaced by the package version in the PyPI readme. The version is not available in CLI mode, therefore it's replaced by the dummy value of 42.0. (From OE-Core rev: 9e59d673b773289a2d73cc5502c814860f31f6bf) 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-dbusmock: upgrade 0.30.1 -> 0.30.2Wang Mingyu2024-01-071-1/+1
| | | | | | | | | | | Changelog: bluez5: Fix invalid arguments to PairDevice (From OE-Core rev: 6faf9db7604a55fa738f87e46cea5056acec47be) 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-lxml: upgrade 4.9.3 -> 4.9.4Wang Mingyu2023-12-301-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== * LP#2046398: Inserting/replacing an ancestor into a node's children could loop indefinitely. * LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after parsing incorrect input. * LP#1522052: A file-system specific test is now optional and should no longer fail on systems that don't support it. * Wheels include zlib 1.3, libxml2 2.10.3 and libxslt 1.1.39 (zlib 1.2.12, libxml2 2.10.3 and libxslt 1.1.37 on Windows). * Built with Cython 0.29.37. (From OE-Core rev: 68d75159d4be411840fffb7b861342a726f2d604) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 7.0.0 -> 7.0.1Wang Mingyu2023-12-301-1/+1
| | | | | | | | | | | | | Changelog: ========== -Corrected the interface for SimplePath to encompass the expectations of locate_file and PackagePath. -Fixed type annotations to allow strings. (From OE-Core rev: f3a1975c1d94ca3286652c27c5b3fa711089b154) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.20.0 -> 1.21.0Wang Mingyu2023-12-301-1/+1
| | | | | | | | | | Changelog: Add parent context modifier for path fields (From OE-Core rev: 178d107340222aa49cdcfef859c0fe14870f552c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.30.0 -> 0.30.1Wang Mingyu2023-12-301-1/+1
| | | | | | | | | | | | Changelog: ============ -bluez: Clean up static default properties, re-drop PairDevice() class_ parameter -Add pre-commit rules (From OE-Core rev: db3898af5df76e14ee0f5a55ebc0d124e9010425) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 69.0.2 -> 69.0.3Wang Mingyu2023-12-302-5/+5
| | | | | | | | | | | | | 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch refreshed for 69.0.3 Changelog: Retain valid names with underscores in egg_info. (From OE-Core rev: 47507793764cef763e31bd888754cb8ba7361376) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: Add missing space appending to CFLAGSRenat Khalikov2023-12-231-1/+1
| | | | | | | | | | | | | | | | When the CFLAGS variable is appended to, the missing space causes build errors when CFLAGS was set previously. For example: error: unrecognized command-line option '-mno-unaligned-access-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home' (From OE-Core rev: cac54e6a6c6601629305b006f99fd1215565182b) Signed-off-by: Renat Khalikov <renat_khalikov@trimble.com> CC: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wcwidth: upgrade 0.2.11 -> 0.2.12Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | Changelog: Remove a .pyi file was misplaced in the wheel file distributed on pypi for 0.2.11 (From OE-Core rev: 1a3307753a73f1843878c98c6785e452fdb392e5) 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.8.0 -> 4.9.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | Changelog: https://github.com/python/typing_extensions/blob/main/CHANGELOG.md (From OE-Core rev: feb3a23a684bf1ebf0f0d8b0f94209d82eb40741) 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-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | Changelog: License :: OSI Approved :: Zero-Clause BSD (0BSD) (From OE-Core rev: 5b79e2f00f85556723e0405689ffb76c8116458f) 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-pytest-runner: upgrade 6.0.0 -> 6.0.1Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | Changelog: Updated Trove classifier to indicate this project is inactive. (From OE-Core rev: 8ab849b0ebc873fbcfe46a4ce8ca76a92b140842) 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-psutil: upgrade 5.9.6 -> 5.9.7Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | | Changelog: =========== -enforce Ruff rule raw-string-in-exception, which helps providing clearer tracebacks when exceptions are raised by psutil. -[PyPy]: psutil did not compile on PyPy due to missing PyErr_SetExcFromWindowsErrWithFilenameObject cPython API. (From OE-Core rev: 69bc749e385848239407de1693d0c3db9692b72c) 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-pip: upgrade 23.3.1 -> 23.3.2Wang Mingyu2023-12-232-7/+16
| | | | | | | | | | | | | | | | no_shebang_mangling.patch refreshed for 23.3.2 Changelog: ========== -Fix a bug in extras handling for link requirements -Fix mercurial revision "parse error": use --rev={ref} instead of -r={ref} (From OE-Core rev: 51bd305c023b64ae5f6972bb489916861d11477f) 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-pathspec: upgrade 0.11.2 -> 0.12.1Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | Changelog: https://github.com/cpburnz/python-pathspec/blob/v0.12.1/CHANGES.rst (From OE-Core rev: b26d7f4e989ee85146e49cfaf9e2d50cbd4a710f) 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-license-expression: upgrade 30.1.1 -> 30.2.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | Changelog: ============ -Use latest skeleton -Update license list to latest ScanCode and SPDX 3.22 -Add Python 3.12 support in CI (From OE-Core rev: 2fd616e68dba7ab193e6ea074615b4f6c6ed6b53) 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-importlib-metadata: upgrade 6.8.0 -> 7.0.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | | Changelog: ============ -Removed EntryPoint access by numeric index -Added Distribution.origin supplying the direct_url.json in a SimpleNamespace. -Added diagnose script. -Added EntryPoints.__repr__ (From OE-Core rev: c19ed018ee5c5d0af2ddf14b9d0de45673241652) 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-hypothesis: upgrade 6.90.0 -> 6.92.1Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | Changelog: =========== https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: e6c663778080f6bedbc3ae97ec1c0a9d4eea4464) 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-hatchling: upgrade 1.18.0 -> 1.20.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== -Add bypass-selection option to the wheel build target to allow for empty (metadata-only) wheels -Fix regression in 1.19.1 that allowed exclude to count toward inclusion selection, thus bypassing the default inclusion selection heuristics -Fix writing optional dependency core metadata in situations where there are multiple environment markers (From OE-Core rev: 5ef9935ea063aa9b8f6e4f7d40603c298e12a644) 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-dbusmock: upgrade 0.29.1 -> 0.30.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | | Changelog: ============ -api: Add pytest support and helpers -api: Factor the server spawning into a new SpawnedMock object -doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/ -cli: Add support for running custom commands on the mock environment (From OE-Core rev: 52d4b5476ba69c3e176d6631b76b06cd1f80f2ad) 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-babel: upgrade 2.13.1 -> 2.14.0Wang Mingyu2023-12-231-1/+1
| | | | | | | | | | | | | | | | Changelog: ============ -CLDR/Numbers: Add support of local numbering systems for number symbols -CLDR: Upgrade to CLDR 43 -Frontend: Allow last_translator to be passed as an option to extract_message -Frontend: Decouple pybabel CLI frontend from distutils/setuptools -Numbers: Improve parsing of malformed decimals (From OE-Core rev: db1967e48e44fe81af7bad54fcbb4484c9462a73) 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-license-expression: Fix the ptest failureMingli Yu2023-12-212-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the below ptest failure: self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle> def test_skeleton_codestyle(self): """ This test shouldn't run in proliferated repositories. """ setup_cfg = configparser.ConfigParser() setup_cfg.read("setup.cfg") > if setup_cfg["metadata"]["name"] != "skeleton": tests/test_skeleton_codestyle.py:22: self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata' def _getitem_(self, key): if key != self.default_section and not self.has_section(key): > raise KeyError(key) E KeyError: 'metadata' After the patch: # ./run-ptest [snip] PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key PASS: tests/test_license_expression.py::UtilTest::test_build_licensing PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle ============================================================================ Testsuite summary # TOTAL: 175 # PASS: 175 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 (From OE-Core rev: 6b06ad7a9f1dd5900483102f5723a6821f961dab) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Changed in v4: Add python3-license-expression to PTESTS_FAST Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: distutils is no longer requiredAlexander Kanavin2023-12-211-1/+0
| | | | | | | | | | | | Please see: https://numpy.org/devdocs/reference/distutils_status_migration.html https://numpy.org/doc/stable/release/1.26.0-notes.html (From OE-Core rev: 6cbbeb75ed427d5f16d5a1d6f3f0c31e39db6d65) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-runner: remove distutils dependencyAlexander Kanavin2023-12-211-1/+1
| | | | | | | | | | | I couldn't find any evidence of it actually being required at build or run time. (From OE-Core rev: a28cd31784592f7cd460320a5c2cf41a86829255) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: remove distutils depedencyAlexander Kanavin2023-12-211-1/+0
| | | | | | | | | | Upstream has removed usage of distutils. (From OE-Core rev: a89e0aa3d0c850f3ad90f6d72a658c66d6109fca) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: replace distutils with setuptools, as supported by upstreamAlexander Kanavin2023-12-211-1/+1
| | | | | | | | (From OE-Core rev: 35f947f107dadd93eace4ac239fa308960d0f4da) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: remove distutils dependencyAlexander Kanavin2023-12-211-1/+0
| | | | | | | | | | As allowed by https://github.com/PyO3/setuptools-rust/pull/336 (From OE-Core rev: ca452dd6b1b6799cf70dac93f7fac0746d8c43bc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: re-enable profile guided optimisationRoss Burton2023-12-211-3/+9
| | | | | | | | | | | | | | This was accidentally disabled in the 3.7.2 upgrade in 2019[1] where PGO was made target-only. Change the wrapper script generation so that it happens in all environments but class-native. [1] oe-core 02714c105426b0d687620913c1a7401b386428b6 (From OE-Core rev: 96a9964d6071dc614cec06a4f0712e257de2bc8b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: bzip2-sys reproduciblilityTim Orling2023-12-171-0/+2
| | | | | | | | | | | | | | | The /usr/bin/.debug/maturin binary ends up with the path to the bzip-sys (bzip2-1.0.8) source in the python3-maturin-dbg package Fix this by mapping the debug path for CARGO_HOME to TARGET_DBGSRC_DIR/cargo_home via CFLAGS. This is required because the bzip-sys crate is compiled using the cc crate and we override default CFLAGS. (From OE-Core rev: 58a4f8b3afb67e6818f544e74a7f1dd2b1a66f86) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: add v1.4.0Tim Orling2023-12-172-0/+658
| | | | | | | | | | | | | | | | | | Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings as well as rust binaries as python packages. This project is meant as a zero configuration replacement for setuptools-rust and milksnake. It supports building wheels for python 3.7+ on windows, linux, mac and freebsd, can upload them to pypi and has basic pypy and graalpy support. https://github.com/pyo3/maturin * Referesh -crates.inc for 1.4.0 (From OE-Core rev: b92d923991e57e1e3a8e4a3bf1b7f7ec138f7723) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: BBCLASSEXTEND + nativesdkTim Orling2023-12-131-1/+1
| | | | | | | | | | | We would like to build python3-maturin for nativesdk use and nativesdk-python3-setuptools-rust is a dependency. (From OE-Core rev: 193e467cdaad9d2b0ee3dddecbe6631c7244fbbe) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.16.1 -> 2.17.2Tim Orling2023-12-061-8/+3
| | | | | | | | | | | | | | | * Drop redundant DEPENDS * PEP-517 backend is now hatchling -> inherit python_hatchling * Drop PYPI_PACKAGE as upstream download filename is now "pygments" * Add UPSTREAM_CHECK_PYPI_PACKAGE since upstream path is still "/Pygments/" https://github.com/pygments/pygments/blob/2.17.2/CHANGES (From OE-Core rev: 426ec8595233203034d06dd30041c551f2622d90) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: upgrade 4.0.1 -> 4.1.1Tim Orling2023-12-062-83/+91
| | | | | | | | | | | | | | | | | | | * Refresh -crates.inc https://github.com/pyca/bcrypt/blob/4.1.1/README.rst#changelog 4.1.1 * Fixed the type signature on the kdf method. 4.1.0 * Dropped support for Python 3.6. * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the BCRYPT_ALLOW_RUST_163 environment variable) (From OE-Core rev: 9851e8a4b7f138cd8346eca3cdc831b12ee9d9e2) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>