We currently delete some pycache files because frozenset wasn't able to
be reproducible, but this has been fixed in Python 3.11:
33d95c6fac
(From OE-Core rev: 5c287a896fa9f5cd05b6a2411528fdc8fb2579d6)
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>
Packages which use the utilities usually call/search for these tools
without .py extension e.g. kernel-selftest and fails to find the tools
if they are having .py extension.
(From OE-Core rev: 47b221d6bc91139cd84ddcf9c57a12288eafd8be)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to fix the reproducibility issue being seen during testing. The issue
is from a poor choice of regex against the compiler flags, being triggered by
different path names.
Drop the previous attempt at fixing this as it wasn't that.
(From OE-Core rev: c4d1dc5e33734b94835e7f5e0e1746d4a6542b55)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
-Added CompleteDirs.inject classmethod to make available for use elsewhere.
-Avoid matching path separators for '?' in glob.
(From OE-Core rev: fdd3f2ad01ac6ac33f788afc806ad3c25dfd8b53)
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>
Changelog:
==========
-Allowed pyOpenSSL third-party module without any deprecation warning.
-Fixed default blocksize of HTTPConnection classes to match high-level
classes. Previously was 8KiB, now 16KiB.
(From OE-Core rev: 7df59b9b66e9801ae90a56e23890754fad2c4df5)
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>
Changelog:
===========
-Add typing_extensions.Doc, as proposed by PEP 727.
-Drop support for Python 3.7 (including PyPy-3.7).
-Fix bug where get_original_bases() would return incorrect results when called
on a concrete subclass of a generic class.
-Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11.
(From OE-Core rev: f35bbd665b52d764376aab4f56a67e2618759ec6)
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>
Changelog:
===========
-The update() methods of TupleHash128 and TupleHash256 objects can now hash
multiple items (byte strings) at once. Thanks to Sylvain Pelissier.
-Added support for ECDH, with Crypto.Protocol.DH.
-GH#754: due to a bug in cffi, do not use it on Windows with Python 3.12+.
(From OE-Core rev: e4c47382dc10b70eac1a33be540e2b0d845b508e)
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>
Changelog:
==========
- The update() methods of TupleHash128 and TupleHash256 objects can now hash
multiple items (byte strings) at once. Thanks to Sylvain Pelissier.
- Added support for ECDH, with Crypto.Protocol.DH.
- GH#754: due to a bug in cffi, do not use it on Windows with Python 3.12+.
(From OE-Core rev: 2eccf033c0093b16a846eda3476ff29c4db6ef61)
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>
Changelog:
===========
-Hotfix for issue #3747, a bug in explain mode which is so rare that we missed
it in six months of dogfooding.
-This patch improves the documentation of @example(...).xfail() by adding a
note about PEP 614, similar to @example(...).via(), and adds a warning when a
strategy generates a test case which seems identical to one provided by an
xfailed example.
-This release enables the explain phase by default.
-This patch switches some of our type annotations to use typing.Literal when
only a few specific values are allowed, such as UUID or IP address versions.
-This release deprecates the old whitelist/blacklist arguments to characters(),
in favor of include/exclude arguments which more clearly describe their
effects on the set of characters which can be generated.
-You can use Hypothesis; codemods to automatically upgrade to the new argument names.
(From OE-Core rev: e7302ee78e0b7f24740a665ba1a3d16987b08036)
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>
License-Update: split license file in standard BSD 3-clause and bundled.
Changelog:
==========
Python 3.12.0 support.
Cython 3.0.0 compatibility.
Use of the Meson build system
Updated SIMD support
f2py fixes, meson and bind(x) support
Support for the updated Accelerate BLAS/LAPACK library
(From OE-Core rev: 7a8ff35670254579c6a68b77852503647e3dfad7)
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>
[YOCTO #15210]
test_input_no_stdout_fileno has been seen failing on AB workers under
heavy load. Skip it while leaving the rest of the test_builtin suite
alone.
(From OE-Core rev: cf8927737690bf21dd3fb57474e09b71078e354c)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace a patch with a recipe option.
(From OE-Core rev: 84acec2fd882e42461031fc77247ddcdc4a9269a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Features
----------
-Rework how setuptools internally handles dependencies/install_requires and
optional-dependencies/extras_require. (#3903)
-Improve the generated PKG-INFO files, by adding Requires-Dist fields.
-Improve atomicity when writing PKG-INFO files to avoid race conditions with
importlib.metadata. (#3904)
Bugfixes
----------
-Fix the name given to the *-nspkg.pth files in editable installs, ensuring
they are unique per distribution. (#4041)
-Workaround some limitations on pkg_resources-style legacy namespaces in the
meta path finder for editable installations. (#4041)
-Avoid using caching attributes in Distribution.metadata for requirements.
(From OE-Core rev: 214dcfd3bf088b6b166835ab2727c1d0e0edfc03)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Bug Fixes
----------
-Fix doctest collection of functools.cached_property objects.
-Fixed bug using --importmode=importlib which would cause package __init__.py
files to be imported more than once in some cases.
-Fixed bug where user_properties where not being saved in the JUnit XML file
if a fixture failed during teardown.
-Fixed crash when parsing long command line arguments that might be interpreted
as files.
Improved Documentation
----------------------
-Improved disclaimer on pytest plugin reference page to better indicate this is
an automated, non-curated listing.
(From OE-Core rev: 2b1d8d27790eebcb44df73cbbc64f8abac14e8d7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- Optimization: cache instantiation of DWARF structs (#435)
- DWARFv5 CU headers (#442)
- Bug fix in attribute reporting for DWA_FORM_indirect (#475)
- Support for RISC-V attributes (#459)
- Readelf used for testing upgraded to 2.41 (#489)
- Support for MIPS64 object files (#495)
- LoongArch support (#470, #483)
(From OE-Core rev: 39454153a03de8bea66e6b152a342f58592d5fb3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
-This patch automatically disables the differing_executors health check for
methods which are also pytest parametrized tests, because those were mostly
false alarms (issue #3733).
-Building on recent releases, characters() now accepts _any_ codec=, not just
"utf-8" and "ascii".
-This includes standard codecs from the codecs module and their aliases,
platform specific and user-registered codecs if they are available, and
python-specific text encodings (but not text transforms or binary transforms).
-This patch by Reagan Lee makes st.text(...).filter(str.isidentifier) return
an efficient custom strategy (issue #3480).
(From OE-Core rev: a7368ec7cd7717077f2200f771b04de8d0e7c8b6)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
============
-Fix Windows environment variable upcasing bug
-Added test for PR #1645 submodule path
-Tests fail due to security vulnerability fix in git 2.38.1 acknowledged
-3.1.30 & 3.1.31: failing tests acknowledged help wanted
-Only make config more permissive in tests that need it
-Fix CVE-2023-41040
-Fix 'Tree' object has no attribute '_name' when submodule path is normal path
(From OE-Core rev: 26ae7c22e1945c4ae3e0cbea5ab6150009beb153)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen reproducibility failures where it appears an extra -O3 compiler flag ends
up in the multiarray library compilation. This can only really have come through
extra_info for BLASS support since it only affects just this library. Rather than
try and track down exactly where this came from in a rabbit warren of code, just
disable this since we don't have any of the dependencies anyway.
(From OE-Core rev: 1d07be514ccacedb4d1ac48e0fdd3a36ae098698)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>