Commit Graph

2277 Commits

Author SHA1 Message Date
Trevor Gamblin
221806f507 python3-pytest: upgrade 8.1.1 -> 8.2.0
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>
2024-05-02 15:11:06 +01:00
Wang Mingyu
6e4d8d975d python3-trove-classifiers: upgrade 2024.3.3 -> 2024.4.10
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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
269b7ea709 python3-setuptools: upgrade 69.2.0 -> 69.5.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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
17db816f0c python3-pygobject: upgrade 3.48.1 -> 3.48.2
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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
b133f60dc9 python3-pluggy: upgrade 1.4.0 -> 1.5.0
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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
315ee4a15a python3-mako: upgrade 1.3.2 -> 1.3.3
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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
3d0bd036a8 python3-lxml: upgrade 5.1.0 -> 5.2.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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
de08fd88e9 python3-idna: upgrade 3.6 -> 3.7
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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
3f48009b71 python3-hypothesis: upgrade 6.99.4 -> 6.100.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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
096da3381c python3-hatchling: upgrade 1.22.4 -> 1.24.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>
2024-04-25 10:06:03 +01:00
Wang Mingyu
ec2176d508 python3-dtschema: upgrade 2024.2 -> 2024.4
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>
2024-04-25 10:06:02 +01:00
Wang Mingyu
f9e6ab7fb8 python3-cython: upgrade 3.0.9 -> 3.0.10
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>
2024-04-25 10:06:02 +01:00
Wang Mingyu
1177371cfc python3-beartype: upgrade 0.18.2 -> 0.18.5
(From OE-Core rev: ceb7d21da8476f30687cc2e4af3837bfd214e73a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
c2faa56d8d python3-pycparser: upgrade 2.21 -> 2.22
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>
2024-04-23 13:40:24 +01:00
Wang Mingyu
e5ff5463a4 python3-typing-extensions: upgrade 4.10.0 -> 4.11.0
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>
2024-04-16 08:07:03 +01:00
Wang Mingyu
3fc3e24bfa python3-pyasn1: upgrade 0.5.1 -> 0.6.0
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>
2024-04-16 08:07:03 +01:00
Wang Mingyu
4c98cdfa63 python3-git: upgrade 3.1.42 -> 3.1.43
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>
2024-04-16 08:07:03 +01:00
Wang Mingyu
e2f32bfd68 python3-build: upgrade 1.1.1 -> 1.2.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>
2024-04-16 08:07:03 +01:00
Wang Mingyu
16f33ed88a python3-beartype: upgrade 0.17.2 -> 0.18.2
(From OE-Core rev: 12bd38ef2c26e60b3dd35b5227189699a4188c1d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
dc9dac8136 python3-zipp: upgrade 3.17.0 -> 3.18.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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
bc1379b4ac python3-wheel: upgrade 0.42.0 -> 0.43.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
f49f2ca1c8 python3-setuptools: upgrade 69.1.1 -> 69.2.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
6623dda7e4 python3-scons: upgrade 4.6.0 -> 4.7.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
65f5f89b0f python3-referencing: upgrade 0.33.0 -> 0.34.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
58a39dcc51 python3-pyelftools: upgrade 0.30 -> 0.31
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
53000d2748 python3-packaging: upgrade 23.2 -> 24.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
af9a5b1487 python3-markdown: upgrade 3.5.2 -> 3.6
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
19c5e810fd python3-license-expression: upgrade 30.2.0 -> 30.3.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
59b89c7c81 python3-importlib-metadata: upgrade 7.0.2 -> 7.1.0
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
82547c7690 python3-hatchling: upgrade 1.21.1 -> 1.22.4
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0e844147dc python3-trove-classifiers: upgrade 2024.2.23 -> 2024.3.3
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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
da6a370583 python3-pytest: upgrade 8.0.2 -> 8.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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
f6c9a5abae python3-pytest-subtests: upgrade 0.11.0 -> 0.12.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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
fa8eff8871 python3-pyparsing: upgrade 3.1.1 -> 3.1.2
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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
9a554d8b87 python3-pyopenssl: upgrade 24.0.0 -> 24.1.0
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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
6db458a18b python3-pygobject: update 3.46.0 -> 3.48.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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
82cae7e42a python3-libarchive-c: upgrade 5.0 -> 5.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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
19ebc0f0b2 python3-importlib-metadata: upgrade 7.0.1 -> 7.0.2
(From OE-Core rev: 6bbe1785a5d0f5efd83cfefff39178d7f8523946)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
7c7826f787 python3-hypothesis: upgrade 6.98.15 -> 6.99.4
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>
2024-04-16 08:07:01 +01:00
Wang Mingyu
934ad49020 python3-cython: upgrade 3.0.8 -> 3.0.9
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>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
19ecd2d935 python3-lxml: update 5.0.0 -> 5.1.0
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>
2024-04-16 08:07:01 +01:00
Trevor Gamblin
6cbe62a0ce python3: upgrade 3.12.2 -> 3.12.3
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>
2024-04-14 06:28:02 +01:00
Richard Purdie
b947ea3749 python3-testtools: Fix build problems from incorrect build backend
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>
2024-04-14 06:28:02 +01:00
Richard Purdie
78b962d5a9 python3-websockets: Import from meta-python
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>
2024-04-14 06:28:02 +01:00
Justin Bronder
fc8f6f44ce python3-referencing: drop ${PYTHON_PN}
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>
2024-04-13 14:39:07 +01:00
Justin Bronder
561c291776 python3-jsonschema-specifications: drop ${PYTHON_PN}
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>
2024-04-13 14:39:07 +01:00
Ross Burton
f111c2a120 python-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficient
There's no need to explicitly set PYPI_ARCHIVE_NAME and S when
PYPI_PACKAGE is set correctly.

(From OE-Core rev: e757a0595602dafcd95a988fb123a8fdb3d4d82b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-22 16:27:48 +00:00
Alejandro Hernandez Samaniego
ab02ac1b27 python3-manifest: Sync RDEPENDS with latest version
bitbake python3 -c create_manifest revealed several changes that were missing.

This commit contains a manual cherry-picked version of those, making sure that
new RDEPENDS are reflected since the last time this was updated.

In this case its taking out unnecessary dependencies to python3-profile and
python3-shell.

(From OE-Core rev: 692013b9aa5106561afb4c6506661bab41d88461)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-22 16:25:08 +00:00
Alexander Kanavin
2d606350c7 python3: correct upstream version check
This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out),
as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle.

(From OE-Core rev: d9fa89180fe497ce67493b8dec8452d87c05ccba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Alexander Kanavin
8479b1d2f9 python3-wcwidth: upgrade 0.2.12 -> 0.2.13
(From OE-Core rev: 800f18b387463a96f3e0642a06f7c4ff5fe85da9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:03 +00:00