Changelog:
added optional encoding parameter for parsing files
fixed handling of the FilesAnalyzed field in Tag-Value format
fixed the validation of the DownloadLocation field
fixed the error handling while parsing license expressions
fixed output of timezone-sensitive datetimes
added code architecture documentation
(From OE-Core rev: 70cfcb9ffadf463c3f96b97925db958e8c65af9d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==============
- support for loading dataclasses with 'InitVar' variables (some
special coding was necessary to get the, unexecpected, default
value in the corresponding instance attribute
in [this question](https://stackoverflow.com/q/77228378/1307905))
- Python 3.12 also loads C version when using 'typ='safe''
- added 'flow_seq_start', 'flow_seq_end',
'flow_seq_separator', 'flow_map_start',
'flow_map_end', 'flow_map_separator'
**class** attributes to the 'Emitter' class so flow
style output can more easily be influenced
(From OE-Core rev: 0151bba91387559852c27e044d6e58c3a53d26d5)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Update to cairo 1.18.0 for the Windows wheel
Provide a Windows arm64 wheel
(From OE-Core rev: 69da990cc1ace08e90a8cbb30fb206dee036ebb2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
-Document calendar-based versioning scheme
-Enforce that the entire marker string is parsed
-Requirement parsing no longer automatically validates the URL
-Canonicalize names for requirements comparison
-Introduce metadata.Metadata
-Introduce the validate keyword parameter to utils.validate_name()
-Introduce utils.is_normalized_name()
-Make utils.parse_sdist_filename() and utils.parse_wheel_filename() raise
InvalidSdistFilename and InvalidWheelFilename, respectively, when the
version component of the name is invalid
(From OE-Core rev: b191effe2c89b405ed732d124ceeffbb4935ad3c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Add permalink_leading configuration option to the toc extension (#1339)
Add support for cPython version 3.12 (and PyPy 3.10) and drop support for Python version 3.7 (#1357).
Refactor changelog to use the format defined at https://keepachangelog.com/.
Update the list of empty HTML tags (#1353).
Add customizable TOC title class to TOC extension (#1293).
Add API documentation of the code base which is generated by mkdocstrings (#1220).
Fix a corner case in admonitions where if an indented code block was provided as the first block, the output would be malformed (#1329).
(From OE-Core rev: 218a206b04d3cabfa4d18fb7ffd99bf654c566b3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
============
-When randoms() was called with use_true_randoms=False, calling sample on it
with an empty sequence and 0 elements would result in an error, when it
should have returned an empty sequence to agree with the normal behaviour of
random.Random. This fixes that discrepancy.
-This patch ensures that the hypothesis codemod CLI will print a warning
instead of stopping with an internal error if one of your files contains
invalid syntax (issue #3759).
-This patch makes some small changes to our NumPy integration to ensure forward
compatibility. Thanks to Mateusz Sokół for pull request #3761.
-Fixes issue #3755, where an internal condition turns out to be reachable after
all.
-This release deprecates use of assume() and reject() outside of property-based
tests, because these functions work by raising a special exceptioni.
It also fixes some type annotations (issue #3753).
(From OE-Core rev: 634f289c702e112964cc91eee02f9af7b6431bc5)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
-Add support for Python 3.12.
-Drop support for end-of-life Python versions (2.7, 3.6, 3.7).
-Add support for PEP517 builds; setuptools is now a required build dependency.
-Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons
to continue using previously released sdists and wheels.
-Move project source under src/; a more standard layout that also enables CI to more easily
catch packaging errors.
(From OE-Core rev: 6107d1553905ab43875f84aafc09fbb21b7da6d9)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Features
--------
Add flag to ignore POT-Creation-Date for updates
Support 't' specifier in keywords
Add f-string parsing for Python 3.12 (PEP 701)
Fixes
-------
Various typing-related fixes
babel.messages.catalog: deduplicate _to_fuzzy_match_key logic
(From OE-Core rev: fd684c60fff4f4034e49749c20c711cdf0aa7925)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: remove excess whitespace
Changelog:
==========
-Improve Python version and OS compatibility, fixing deprecations
-Better document env_case test/fixture and cwd
-Remove spurious executable permissions
-Fix up checks in Makefile and make them portable
-Fix URLs that were redirecting to another license
-Assorted small fixes/improvements to root dir docs
-Use venv instead of virtualenv in test_installation
-Omit py_modules in setup
-Don't track code coverage temporary files
-Configure tox
-Format tests with black and auto-exclude untracked paths
-Upgrade and broaden flake8, fixing style problems and bugs
-Fix rollback bug in SymbolicReference.set_reference
-Remove @NoEffect annotations
-Add more checks for the validity of refnames
(From OE-Core rev: 9a816ef16c514b718400c73f4c5bd153e732bf83)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>