Changelog:
============
-A warning :class:'~pluggy.PluggyTeardownRaisedWarning' is now issued when an
old-style hookwrapper raises an exception during teardown. See the warning
documentation for more details.
-Add :func:'PluginManager.unblock <pluggy.PluginManager.unblock>' method to
unblock a plugin by plugin name.
-Fix :func:'~pluggy.HookCaller.call_extra()' extra methods getting ordered
before everything else in some circumstances. Regressed in pluggy 1.1.0.
-Fix plugins registering other plugins in a hook when the other plugins
implement the same hook itself. Regressed in pluggy 1.1.0.
(From OE-Core rev: 1bc326d5228e90bd3cd19d7f3f10b2f74a39d06e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
Fix loading of local plugins to account for newly released versions of a dependency
(From OE-Core rev: f372bcf6d530bb0627fe2ed49e52e7ae279bf77f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bugfix:
---------
Fixed parsing issue where attempting to render a single percent sign %
using an escaped percent %% would not function correctly if the escaped
percent were not the first character on a line.
License-Update: Copyright year updated to 2024.
(From OE-Core rev: 6cc0e19da1259b4461e6b9c7014ab041b9d60fa4)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year updated to 2024.
(From OE-Core rev: 3752a33ce9490d8fc9d59a0e952faa47c0abba71)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
(From OE-Core rev: d82e4f1f571e90adc2290eb819f4c8b6ebaa3d1a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is in the process of migrating testing to pytest, backport
test_dump_load.py (the legacy_tests were throwing Errors and Failures).
We don't really need to run upstream's test suite, but we do need to verify
that our runtime is functional.
a98fd6088e
(From OE-Core rev: b0fdf0688109ba6b87840a0837bebee3d9a27089)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some time now, we have probably been susceptible to host contamination
or at least non-deterministic behavior when libyaml was available in the
build environment.
The symptom is:
ERROR: python3-pyyaml-6.0-r0 do_package_qa: QA Issue:
/usr/lib/python3.11/site-packages/yaml/_yaml.cpython-311-aarch64-linux-gnu.so
contained in package python3-pyyaml requires libyaml-0.so.2()(64bit), but no
providers found in RDEPENDS:python3-pyyaml? [file-rdeps]
>From the documentation:
"""
By default, the setup.py script checks whether LibYAML is installed and
if so, builds and installs LibYAML bindings. To skip the check and force
installation of LibYAML bindings, use the option --with-libyaml:
python setup.py --with-libyaml install
To disable the check and skip building and installing LibYAML bindings,
use --without-libyaml:
python setup.py --without-libyaml install
"""
Instead of leaving this to chance, add PACKAGECONFIG and by default build
with the faster libyaml bindings.
(From OE-Core rev: dfde9526f9183907b2bc47fde4f59ab3a5848d90)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog: https://github.com/numpy/numpy/releases/tag/v1.26.4
Upgrade to pull in a variety of bug fixes.
The same number of ptests (6) fail as in 1.26.3, so no regression there.
(From OE-Core rev: 0314d2b43701984b5648bce9ca9aaeba5f768b78)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move away from the outdated setuptools to more modern build
classes.
(From OE-Core rev: dd0de1f1dcbbc389ceb1a032c393e5148e01ad98)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that 2.1.4 broke python3-jinja2 so skip to 2.1.5 which doesn't.
(From OE-Core rev: 697a249f27d16adeeee074d0baad83ad67c7a9e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
yamllint requires pathspec module to be available
(From OE-Core rev: 59a89493f4b1f450139956f872d606829499b79d)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was supposed to always be the case from upstream but was exposed
by the 64-bit-time QA checker when file function scanning was enabled.
(From OE-Core rev: 3d556e59f658ac29615fb7a14b6ea48533122ff6)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add recipe for yamllint. There is an upcoming change in u-boot where
the binman tool is now configured to call yamllint to verify the configs
during compile time.
There was a previous patch a year ago from Trevor Woerner that never
made it into oe-core. This patch is a reworking of his patch but
pointing to a newer version.
(From OE-Core rev: 128cfc5222752a6337a9cbb9bc9023c13ee19f2f)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In version 1.4.3:
* Subunit now has a dependency on an external iso8601
module rather than shipping its own.
so add the missing dependency.
(From OE-Core rev: 14ee3e1240524e08adc1a3327dfb52dee6e64fd2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
change License file to COPYING.
add BSD-3-Clause to LICENSE
Changelog:
===========
* Removed use of deprecated "utc" and "utcfromtimestamp"
methods of "datetime.datetime".
* Fix an issue with date parsing exception handling
* Add support for Python 3.12
(From OE-Core rev: b55ef76eb60fc5265ccada0c6cf91f6b9c9bfe05)
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:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.
(From OE-Core rev: d4cc93966eece06ed4b146922d244104cb7e15da)
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:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.
(From OE-Core rev: 9a492197348e1976097454bddbd7750390082d49)
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:
===========
-factor, iter_index, sieve, and unique_justseen were updated to match the
itertools docs
-first was was optimized
-takewhile_inclusive was was refactored
-combination_with_replacement_index was was optimized
-nth_permutation, nth_combination_with_replacement, combination_index, and
combination_with_replacement_index were optimized
-batched now accepts a strict argument
-time_limited was improved for Windows
-Several typing updates were made
-Some documentation issues were fixed
(From OE-Core rev: 3149449f8ba33204ac311f2d915922e62e481330)
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:
============
-Fix type annotations for convertFile - it accepts only bytes-based buffers.
Also remove legacy checks from Python 2
-Remove legacy import needed only in Python 2
-Fix typo that left the attribute AdmonitionProcessor.content_indent unset
-Fix edge-case crash in InlineProcessor with AtomicString.
-Fix edge-case crash in codehilite with an empty code tag.
-Improve and expand type annotations in the code base.
-Fix handling of bogus comments
(From OE-Core rev: d4396cc50ed7d73323fdef46b84ef26ab2b6a15f)
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:
==========
-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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
* 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>
https://github.com/pyca/cryptography/compare/41.0.5...41.0.7https://cryptography.io/en/latest/changelog/#v41-0-7https://cryptography.io/en/latest/changelog/#v41-0-6
41.0.7 - 2023-11-27
Fixed compilation when using LibreSSL 3.8.2.
41.0.6 - 2023-11-27
Fixed a null-pointer-dereference and segfault that could occur when loading
certificates from a PKCS#7 bundle. Credit to pkuzco for reporting the issue.
CVE: CVE-2023-49083
(From OE-Core rev: 25fba6dd44f64e1e476c2e537d4a20cdbdc7ed25)
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>
Comments in the recipe are insufficient to prevent folks from attempting
to upgrade the recipe without also upgrading python3-cryptography.
These two recipes MUST be upgraded in lock step to the exact same version.
(From OE-Core rev: 3701bc4d30526c52be1e1789afb24c90a23beab6)
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>
Changelog:
===========
-Allowed removing build tag with wheel tags --build ""
-Fixed wheel pack and wheel tags writing updated WHEEL fields after a blank
line, causing other tools to ignore them
-Fixed wheel pack and wheel tags writing WHEEL with CRLF line endings or a
mix of CRLF and LF
-Fixed wheel pack --build-number "" not removing build tag from WHEEL
(From OE-Core rev: 6079197265a6a3f615321bcbe7104479f1e29251)
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:
===============
Update copyright date; Prep for 3.5; Update maintainer email
Changelog:
==========
-Fix regression to include tests in source distribution.
-Update to Unicode 15.1.0
-String codec name is now "idna2008" as overriding the system codec "idna" was
not working.
-Fix typing error for codec encoding
-"setup.cfg" has been added for this release due to some downstream lack of
adherence to PEP 517. Should be removed in a future release so please prepare
accordingly.
-Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517
and the Python Packaging User Guide for sdist archives.
-Added security reporting protocol for project
(From OE-Core rev: 30b23caeec25d2a029967fb60b8fb01329ea258b)
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 #14933]
test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.
(From OE-Core rev: d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
============
-Removed support for the deprecated urllib3[secure] extra.
-Removed support for the deprecated SecureTransport TLS implementation.
-Removed support for the end-of-life Python 3.7.
-Allowed loading CA certificates from memory for proxies.
-Fixed decoding Gzip-encoded responses which specified x-gzip content-encoding.
(From OE-Core rev: 60cd3ac8c208f787b70fcbea4e6d4a86b3c6ed96)
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:
============
-Added support for PyPy 3.10 and Python 3.12
-Updated RTD configuration to include a dummy index.rst redirecting to
contents.html, ensuring compatibility with third-party documentation and search
indexes.
-Fixed the API breakage wih decoder.decode(substrateFun=...).
(From OE-Core rev: 42e32865f9c3f075243b2f4110c2c81bfbe78441)
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:
============
-makes it an error to assign settings = settings(...) as a class attribute on a
RuleBasedStateMachine.
-refactors some internals.
(From OE-Core rev: f17603daac0ad98f5c7a4f56ca8e23b2b16cd9ed)
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:
============
-Include tests files in the source distribution
-bugfix Emojis made wide by Variation Selector-16
(From OE-Core rev: 1cee88610624bfc8527cbeae85f9eb956ec7d267)
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:
============
-Added missing estimated date for removing setuptools.dep_util
-Fixed imports of setuptools.dep_util.newer_group. A deprecation warning is
issued instead of a hard failure.
-Include type information (py.typed, *.pyi) by default
-Exported distutils.dep_util and setuptools.dep_util through setuptools.modified
-Merged with pypa/distutils@7a04cbda0f.
-Replaced hardcoded numeric values with dis.opmap, fixing problem with 3.13.0a1.
(From OE-Core rev: 159f1e8e3ec91fab5ab191821674b69626f0dc76)
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>
* Upstream download filename changed from sphinxcontrib-serializinghtml*
to sphinxcontrib_serializinghtml*
* build-backend is now flit (inherit python_flit_core)
Release 1.1.9 (2023-08-20)
==========================
* Serialise context["script_files"] and context["css_files"] as their filenames
on Sphinx 7.2.0.
Release 1.1.8 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.1.7 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.1.6 (2023-08-07)
==========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/compare/1.1.5...1.1.9
(From OE-Core rev: 38e035e1165a7d58a7de8b129b3f9e4a9faa275f)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-qthelp*
to sphinxcontrib_qthelp*
* build-backend changed to flit (inherit python_flit_core)
Release 1.0.6 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.5 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.4 (2023-08-07)
==========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-qthelp/compare/1.0.3...1.0.6
(From OE-Core rev: a38ec60aa0a3eece7060cc86f1aae161072e212e)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-htmlhelp*
to sphinxcontrib_htmlhelp*
* build-backend is now flit (inherit python_flit_core)
Release 2.0.4 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 2.0.3 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 2.0.2 (2023-08-07)
==========================
* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/compare/2.0.1...2.0.4
(From OE-Core rev: 062d5f058f6b283f612fcf745f6bb76ad51aebe2)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-devhelp*
to sphinxcontrib_devhelp*
* build-backend is now flit (inherit python_flit_core)
Release 1.0.5 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.4 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.3 (2023-08-07)
=========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-devhelp/compare/1.0.2...1.0.5
(From OE-Core rev: 2dfca75f697faafa84e896a2aae67071b8401ce6)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream changed download file name from sphinxcontrib-applelhelp* to
sphinxcontrib_applehelp*
* build-backend is now flit (inherit python_flit_core)
Release 1.0.7 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.6 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.5 (2023-08-07)
==========================
* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-applehelp/compare/1.0.4...1.0.7
(From OE-Core rev: a0cc690e50b83be6e9067ef81b3aefb16580acc7)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were 45 pull requests in 1.26.1 and 1.26.2. See changelog:
https://github.com/numpy/numpy/releases
(From OE-Core rev: 9bcec3b75a26e6f9c2560a156006fcc359de6f22)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-89-0https://hypothesis.readthedocs.io/en/latest/changes.html#v6-88-4
6.89.0 - 2023-11-16
This release teaches from_type() to handle constraints implied by the
annotated-types package - as used by e.g. Pydantic. This is usually
efficient, but falls back to filtering in a few remaining cases.
Thanks to Viicos for pull request #3780!
6.88.4 - 2023-11-13
This patch adds a warning when @st.composite wraps a function annotated
as returning a SearchStrategy, since this is usually an error (issue #3786).
The function should return a value, and the decorator will convert it to a
function which returns a strategy.
(From OE-Core rev: 041e0a5ceeb55d40ab22071c5d2c358455bc8e23)
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>
Changelog:
============
* Remove various unused imports.
* Fix build backend. This should prevent version from being set to 0.0.0
when building wheels.
(From OE-Core rev: a6c46a0074999d9460f273886734258f0bf788d2)
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:
============
-refactors from_type(typing.Tuple), allowing register_type_strategy() to take
effect for tuples instead of being silently ignored (issue #3750).
-improves the speed of the explain phase on python 3.12+, by using the new
sys.monitoring module to collect coverage, instead of sys.settrace.
(From OE-Core rev: 59405dee0be2d49418263d2954c50a644c0e8698)
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:
==========
Drop support for Python 3.7
Officially support Python 3.12
Prevent UserWarning when a template is not defined explicitly
(From OE-Core rev: db10b470d39cb131cf7a482dac028ca8ad8ddeec)
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>
The vast majority of gnome recipes uses meson. Set it as default
and override the few recipes that still use autotools.
This way we can remove a lot of lines in meta-oe and more important
it would not be needed to explicitly set GNOMEBASEBUILDCLASS = "meson" for newly
created gnome recipe anymore.
(From OE-Core rev: 8b061ea36f8b94b482c5867fe2ba7213288a5aa3)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
=============
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.4.
Added a function to support an upcoming pyOpenSSL release.
(From OE-Core rev: 46dd3a06bdb0784765749c5c0939a26dccee770c)
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:
===========
Updated vendored packaging to 23.2
Fixed ABI tag generation for CPython 3.13a1 on Windows
(From OE-Core rev: 18f56d041a3cc280146adbc113b7d33d16985f24)
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:
===========
-Bugfix zero-width characters used in Emoji ZWJ sequences, Balinese,
Jamo, Devanagari, Tamil, Kannada and others (PR #91).
-Updated to include a Specification of character measurements.
(From OE-Core rev: 6514e0126bfce25151aa9dd806e04358b2a22b55)
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:
============
* Fix compatibility with Python 3.12.
* Add typing in various modules (still lacking full coverage).
* Drop the 'test' command for distutils. This has been
deprecated since 2.6.0.
* Drop support for Python 3.6.
(From OE-Core rev: d331c9be4ea79aabb099a1ddd04d7c0b30c533d7)
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:
===========
-Fix regression in install_extension crashing since 1.8.0. #380
-Drop support for Python 3.7. #357
-Remove direct imports from pkg_resources. #359
-Add support for setting a custom cargo profile with the
SETUPTOOLS_RUST_CARGO_PROFILE environment variable. #364
(From OE-Core rev: 4f6ce3ef10d0ea54438c023f7e4acef64c5c877e)
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:
============
-Markers are now considered in the reverse mro order to ensure base class
markers are considered first – this resolves a regression.
-Fixed := in asserts impacting unrelated test cases.
-Handled an edge case where sys.stderr might already be closed when Fault
Handler is tearing down.
(From OE-Core rev: a6052eca73f28a80c13f4b586f056ae1ace0c332)
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:
============
-Dropped support for Python 3.6.
-The minimum cryptography version is now 41.0.5.
-Removed OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12 which had
been deprecated for 3 years.
-Added OpenSSL.SSL.OP_LEGACY_SERVER_CONNECT to allow legacy insecure
renegotiation between OpenSSL and unpatched servers. #1234.
-Changed OpenSSL.crypto.X509Store.add_crl to also accept cryptography's
x509.CertificateRevocationList arguments in addition to the now deprecated
OpenSSL.crypto.CRL arguments.
-Fixed test_set_default_verify_paths test so that it is skipped if no network
connection is available.
(From OE-Core rev: 674e69b5ec58bc81d475a0726d982df2cf86c6e0)
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:
============
*improves register_type_strategy() when used with tuple subclasses, by
preventing them from being interpreted as generic and provided to
strategies like st.from_type(Sequence[int]) (issue #3767).
*allows strategy-generating functions registered with
register_type_strategy() to conditionally not return a strategy,
by returning NotImplemented (issue #3767).
(From OE-Core rev: 2660e656c775cc4bad779a47bd4e5473cd3446b2)
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 missing info in Submodule.remove docstring
Have init script clone submodules unconditionally
Add missing assert keywords
Make clear every test's status in every CI run
Fix new link to license in readme
Drop unneeded flake8 suppressions
Update instructions and test helpers for git-daemon
Fix Git.execute shell use and reporting bugs
No longer allow CI to select a prerelease for 3.12
Clarify Git.execute and Popen arguments
Ask git where its daemon is and use that
Fix bugs affecting exception wrapping in rmtree callback
Fix dynamically-set all variable
Fix small #1662 regression due to #1659
Drop obsolete info on yanking from security policy
Have Dependabot offer submodule updates
Bump git/ext/gitdb from 49c3178 to 8ec2390
Bump git/ext/gitdb from 8ec2390 to 6a22706
Update readme for milestone-less releasing
Run Cygwin CI workflow commands in login shells
(From OE-Core rev: 3fc53e04736f6a5480b9e3537534146f5a1346ee)
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:
==========
Use ZLIB_RUNTIME_VERSION if available
Add support for Python 3.12 and drop EOL 3.7
Enable Dependabot version updates for Actions
Test installing project on CI
Fix mkdir race condition in LooseObjectDB.store
Don't cancel other jobs from the 3.12 job failing
Use actions/checkout feature to fetch all commits
Revert "Drop support for EOL Python 3.7"
Fix top-of-file license URLs here in gitdb too
No longer treat 3.12 as experimental on CI
Add all to exc for linting
Have Dependabot update smmap submodule dependency
Bump gitdb/ext/smmap from 334ef84 to f1ace75
(From OE-Core rev: c4c225f327e8daf3d0d45a887540878c85433d20)
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:
===========
* Fix#245, never introduce new nodes during discard.
* Fix#268, do not rely on well implemented __ne__ for keys in pmaps, instead do explicit inversion of equality
comparison when checking for inequality.
* Officially support Python 3.12.
* Officially drop support for Python 3.7.
* Fix#273, build more types of wheels. Thanks @jams2 for this!
* Fix#282, add generic types to types. Thanks @lukasK9999 for this!
* Fix#281, defaultdict can now be frozen. NB! This is a backwards incompatible fix since defaultdict was not
previously frozen.
License-Update: Copyright year updated to 2023.
(From OE-Core rev: 10d96b7880c81575f1b5d4b3c920229cee71c43a)
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:
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:
Include requirements files in the source distibution
(From OE-Core rev: d235ce3334c690e6043727392de655fe6a1b22e6)
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:
==============
- 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>
Only changes in this release [1] fixes CVE-2023-43804 [2] on top of 2.0.5
[1] 644124ecd0
[2] https://github.com/advisories/GHSA-v845-jxx5-vc9f
(From OE-Core rev: 2a9ae3ca372075868c046d3a3ba2ba9b483e986d)
Signed-off-by: Khem Raj <raj.khem@gmail.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>
https://cryptography.io/en/latest/changelog/#v41-0-4
41.0.4 - 2023-09-19
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.3.
(From OE-Core rev: b9ebf704ebedbb099b8efd81b736884864b72e20)
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>
https://nvd.nist.gov/vuln/detail/CVE-2023-33595 uses 'cpython'.
Although it's currently the only one that uses cpython, let's add
cpython to CVE_PRODUCT, just in case.
(From OE-Core rev: 62598e1138f21a16d8b1cdd1cfe902aeed854c5c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
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>