Without these, test_cgitb and test_zipapp both fail when running the
python3 ptests.
Also reorder the ${PN}-misc list to be alphabetical.
(From OE-Core rev: 379c5fac766472da7c32937acc6fdf8363bdd935)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a
preplace() call, add it.
That said, calling replace() with one argument results in a TypeError,
so this is obviously dead code.
(From OE-Core rev: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07
* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
warning as we cannot help users facing issues with implementations other
than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)
License-Update: Removed outdated reference to CONTRIBUTORS.txt
(From OE-Core rev: 38464a98571d8c2c321b976fbf7963262531c25c)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* inherit python_setuptools_build_meta since setup.py was dropped
https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15
* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
warnings have been issued) (#86). Thanks to Andrew-Brock for providing
the solution.
* Now the msg contents of a subtest is displayed when running pytest with
-v (#6).
(From OE-Core rev: 6e2990c871043f4c94b9a7838c56a8e189ea66a1)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
- Added 'tag_emitter.py' to examples. This example demonstrates how to insert
tags into your parsed results that are not part of the original parsed text.
(From OE-Core rev: 5a255078fd195d824d7480d385f70eb0bd31eb3a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
* Dropped Python 3.7 support
* Bumped meson version requirement from 0.53.0 to 0.56.0
* Various cairo dependency updates for the Windows wheel build
* examples: update to GTK4 :pr:'307'
* examples: add a clip_image example :pr:'316'
* docs: fix the build with Sphinx 6 :pr:'318'
* Various code cleanups :pr:'306'
* Added Python 3.12 Windows wheels
(From OE-Core rev: d8e2684fab2e340e287bf73a2075bca36b1bbc1c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
#405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator.
#364: Python 3.6 is no longer supported.
#260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers.
#364: Python 3.11 and 3.12 are now officially supported.
#394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result.
(From OE-Core rev: 5e9e7c60698ebcbe4a774283bad54c6bcf675a7f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
added
------
Add just for development commands
Add Python 3.12 support
changed
---------
Move changelog into CHANGELOG.md
Freshen up README
fixed
------
Fix test_fixedoffset_eq by adding an actual assertion
removed
--------
Drop Python 3.6 support (3.6 is end of life)
(From OE-Core rev: c10fda975c305f9afda5f76e9fdd12a25d9d2340)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
#453: When inferring top-level names that are importable for distributions in package_distributions, now symlinks to other directories are honored.
(From OE-Core rev: bb1b9362c331606d2154b2d86168087fe4cb48d5)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed:
--------
Drop support for Python 3.7
Added:
--------
Update the list of directories that are always excluded for builds
Fixed:
-------
Fix dev mode when the project has symlinks and file inclusion is defined with the packages or only-include options
Change the name of generated PTH files for dev mode so they come first lexicographically and therefore load first
(From OE-Core rev: 3fee779a6083ed39c31f1fb7d6486ab3921246d4)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:Sync LICENSE with CPython
Changelog:
==========
- Fix a regression introduced in v4.6.0 in the implementation of runtime-checkable protocols.
- Sync the repository's LICENSE file with that of CPython. typing_extensions
is distributed under the same license as CPython itself.
- Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due
to a bug in CPython, which will be fixed in 3.12.0b2. The typing_extensions
test suite now passes on 3.12.0b1.
(From OE-Core rev: ad3c337bc66b8022f71a9775a8b1b1b234d9c1c3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year updated to 2023.
Changelog:
===========
Support for MUSL, there are now MUSL wheels.
Support the Fujitsu C/C++ compiler.
Object arrays are now supported in einsum
Support for inplace matrix multiplication (@=).
(From OE-Core rev: bf7f1dbb504c57c756f8c48411aa5ac13ac5a1c3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dbusmock doesn't actually hard-depend on pygobject, some of the templates
use it but it isn't mandatory.
Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled.
(From OE-Core rev: 943d438e2ebce5e76e03dd60ed78acdf9059a10a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tests use symbols from libpython3 e.g. PyBytes_FromStringAndSize
but does not add it to linker cmdline, its perhaps cargo which
should be fixed for that, this however is not something we can
fix in OE. So switch to using bfd linker explicitly when
building with ptests
(From OE-Core rev: b4392ebb512fa48168a48fbff3e9140a8e1b7ec4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: BSD-3-Clause code removed in
a7f5d91c29
which was a part of 7.0.1 update
(From OE-Core rev: d3e4aa691c44bdcfd40c6ed3947dc19991b88454)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years
(From OE-Core rev: d36e4228bd94ae9a9ca0feeaa9541ed5afafdd44)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced the inherit of setuptools3 with python_setuptools_build_meta to
make the new version build.
Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html):
- Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11
- The codebase was significantly reorganized and modernized. Public API
is unchanged. Imports should continue to be directly from the
top-level webcolors module; attempting to import from submodules is not
supported.
- Now packaging declaratively via pyproject.toml with PEP 517 support
from setuptools.
(From OE-Core rev: 434aaf5e02332a54a17a2812969165f6f6b3674b)
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:
============
- Fix use of @deprecated on classes with __new__ but no __init__.
- Fix regression in version 4.6.1 where comparing a generic class against a
runtime-checkable protocol using isinstance() would cause AttributeError to
be raised if using Python 3.7.
- Change deprecated @runtime to formal API @runtime_checkable in the error message.
- Fix regression in 4.6.0 where attempting to define a Protocol that was generic
over a ParamSpec or a TypeVarTuple would cause TypeError to be raised.
- typing_extensions is now documented at https://typing-extensions.readthedocs.io/en/latest/.
- Add typing_extensions.Buffer, a marker class for buffer types, as proposed
by PEP 688. Equivalent to collections.abc.Buffer in Python 3.12.
- Backport two CPython PRs fixing various issues with typing.Literal:
python/cpython#23294 and python/cpython#23383. Both CPython PRs were originally,
and both were backported to Python >=3.9.1, but no earlier.
- A side effect of one of the changes is that equality comparisons of Literal
objects will now raise a TypeError if one of the Literal objects being compared
has a mutable parameter. (Using mutable parameters with Literal is not
supported by PEP 586 or by any major static type checkers.)
- Literal is now reimplemented on all Python versions <= 3.10.0.
- Backport CPython PR 26067, ensuring that isinstance() calls on protocols raise
TypeError when the protocol is not decorated with @runtime_checkable.
- Backport several significant performance improvements to runtime-checkable protocols
that have been made in Python 3.12 (see python/cpython#74690 for details).
- A side effect of one of the performance improvements is that the members of a
runtime-checkable protocol are now considered "frozen" at runtime as soon as the
class has been created. Monkey-patching attributes onto a runtime-checkable
protocol will still work, but will have no impact on isinstance() checks comparing
objects to the protocol. See "What's New in Python 3.12" for more details.
- isinstance() checks against runtime-checkable protocols now use inspect.getattr_static()
rather than hasattr() to lookup whether attributes exist (backporting python/cpython#103034).
- Backport the ability to define __init__ methods on Protocol classes, a change
made in Python 3.11 (originally implemented in python/cpython#31628
- Speedup isinstance(3, typing_extensions.SupportsIndex) by >10x on Python <3.12.
- Add typing_extensions versions of SupportsInt, SupportsFloat, SupportsComplex,
SupportsBytes, SupportsAbs and SupportsRound. These have the same semantics as
the versions from the typing module, but isinstance() checks against the
typing_extensions versions are >10x faster at runtime on Python <3.12.
- Add __orig_bases__ to non-generic TypedDicts, call-based TypedDicts, and call-based NamedTuples.
- Add typing_extensions.get_original_bases, a backport of types.get_original_bases,
introduced in Python 3.12 (CPython PR python/cpython#101827, originally
- This function should always produce correct results when called on classes
constructed using features from typing_extensions.
- Constructing a call-based TypedDict using keyword arguments for the fields
now causes a DeprecationWarning to be emitted. This matches the behaviour
of typing.TypedDict on 3.11 and 3.12.
- Backport the implementation of NewType from 3.10 (where it is implemented as
a class rather than a function). This allows user-defined NewTypes to be pickled.
- Fix tests and import on Python 3.12, where typing.TypeVar can no longer be subclassed.
- Add typing_extensions.TypeAliasType, a backport of typing.TypeAliasType from PEP 695.
- Backport changes to the repr of typing.Unpack that were made in order
to implement PEP 692 (backport of python/cpython#104048).
(From OE-Core rev: a37154b9166323d05cca970ebb37bee0d5250893)
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:
==========
Prefer passing --crate-type option to cargo if "toolchain >= 1.64". #322
Fix a bug where rebuilding the library would cause any running processes using it to segfault. #295
Fix setup.cfg format for compatibility with "poetry==1.4.0". #319
(From OE-Core rev: 04cae5651275b233ec0ecd9c51ee0aaad951baa0)
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:
==========
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.
(From OE-Core rev: 97bdf3baf6e612757863e05e84e3b79c4330d27b)
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:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.
Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.
(From OE-Core rev: e11c8fe22ed3683d032b4a1d3c46f607c36edbf2)
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:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.
Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.
(From OE-Core rev: 74ab9f3f90ca56fbef06b3f075b0120da052b379)
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:
==========
A total of 17 pull requests were merged for this release.
#23206: BUG: fix for f2py string scalars (#23194)
#23207: BUG: datetime64/timedelta64 comparisons return NotImplemented
#23208: MAINT: Pin matplotlib to version 3.6.3 for refguide checks
#23221: DOC: Fix matplotlib error in documentation
#23226: CI: Ensure submodules are initialized in gitpod.
#23341: TYP: Replace duplicate reduce in ufunc type signature with reduceat.
#23342: TYP: Remove duplicate CLIP/WRAP/RAISE in __init__.pyi.
#23343: TYP: Mark d argument to fftfreq and rfftfreq as optional...
#23344: TYP: Add type annotations for comparison operators to MaskedArray.
#23345: TYP: Remove some stray type-check-only imports of msort
#23370: BUG: Ensure like is only stripped for like= dispatched functions
#23543: BUG: fix loading and storing big arrays on s390x
#23544: MAINT: Bump larsoner/circleci-artifacts-redirector-action
#23634: BUG: Ignore invalid and overflow warnings in masked setitem
#23635: BUG: Fix masked array raveling when order="A" or order="K"
#23636: MAINT: Update conftest for newer hypothesis versions
#23637: BUG: Fix bug in parsing F77 style string arrays.
(From OE-Core rev: 38192c432204ec498cbdd1005ec2577f84e36018)
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:
==========
* A garbage collection enabled subtype of a non-GC extension type could call into the
deallocation function of the super type with GC tracking enabled. This could lead
to crashes during deallocation if GC was triggered on the type at the same time.
(Github issue :issue:'5432')
* Some C compile failures and crashes in CPython 3.12 were resolved.
* "except + nogil" was syntactically not allowed.
"except +nogil" (i.e. defining a C++ exception handling function called "nogil")
is now disallowed to prevent typos.
(Github issue :issue:'5430')
* A C compile failure in PyPy 3.10 was resolved.
Patch by Matti Picus. (Github issue :issue:'5408')
* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
Original patch by Matti Picus. (Github issue :issue:'5413')
* API header files generated by different Cython versions can now be included in the
same C file.
(Github issue :issue:'5383')
* Function signatures containing a type like 'tuple[()]' could not be printed.
Patch by Lisandro Dalcin. (Github issue :issue:'5355')
(From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332)
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: Remove smartypants from LICENSE
Changelog:
===========
#11411: Support Docutils 0.20.
#11418: Clean up remaining references to sphinx.setup_command following the removal of support for setuptools.
(From OE-Core rev: c823432d3941c85ca936a99da69be35220f01bd9)
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>