editables needs the ipaddress module to function, so add python3-io to
the RDEPENDS list.
(From OE-Core rev: 2d73136998f867663f1be0f28bce93ffbd993258)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst
Bugs fixed
- Async generators lost their return value in PyPy. (Github issue :issue:`5465`)
- The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+.
- The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`)
- Using the global __debug__ variable but not assertions could lead to compile errors.
- The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`)
(From OE-Core rev: 8bbb6af6fe28ec950e0805b7aca7125c6cb5c802)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://cryptography.io/en/latest/changelog/#v41-0-2
41.0.2 - 2023-07-10
* Fixed bugs in creating and parsing SSH certificates where critical
options with values were handled incorrectly. Certificates are now
created correctly and parsing accepts correct values as well as the
previously generated invalid forms with a warning. In the next release,
support for parsing these invalid forms will be removed.
Refresh python3-cryptography-crates.inc:
- crate://crates.io/proc-macro2/1.0.59 \
+ crate://crates.io/proc-macro2/1.0.64 \
(From OE-Core rev: ea836919fc26af1508ccf0c40843109d52e738eb)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Require Python 3.8 or later.
34fd736 (HEAD, tag: v6.8.0) Finalize
97084d8 Remove reliance on typing-extensions, only required for Python 3.7 compatibility.
b74d2b2 Merge pull request #460 from Gryfenfer97/main
ec7bca0 Disable tests on pypy due to #463
ee4f84a Remove superfluous includes
f862e3f Merge branch '2023-handoff' of https://github.com/jaraco/skeleton
23ed6b1 Merge branch 'collapse' into 2023-handoff
c29955f Collapse skeleton history. Workaround for jaraco/skeleton#87.
cca49a4 Prefer 3.x for Python version (latest stable).
74ba8ac Leverage pytest-enabler 2.2 for the default config.
8e83c3f Expand 'finalize' to commit and tag the change.
f5a5617 Merge https://github.com/jaraco/skeleton
3b7d8a9 Require Python 3.8 or later.
07a87ea Remove tox boilerplate, no longer necessary with later versions of tox.
cd145f4 Replace workaround for actions/setup-python#508 with 'allow-prereleases'
5ca761c Merge https://github.com/jaraco/skeleton
45c03bd add typing for simple functions
74b0d39 Adopt towncrier for managing changelog. Fixesjaraco/skeleton#83.
2963377 Merge https://github.com/jaraco/skeleton
241541c Remove inclusion of python version for docs
e7cd730 Add badge for Ruff.
6f75480 Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
(From OE-Core rev: bc820ff2f8d255783bedc28e468ee2e1d7de873b)
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>
AUH upgrade failed because the LICENSE checksum no longer matched. This
is because the attribution in the file was removed upstream in v67.8.0.
Patch fuzz also needed to be upgraded for
0001-conditionally-do-not-fetch-code-by-easy_install.patch.
Changelog: https://setuptools.pypa.io/en/stable/history.html
(From OE-Core rev: a248b94dff49b0331bd1e37e594f983fc50b3f0d)
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>
This is based on a previous patch from Alex Kanavin (thanks Alex),
but it retains our use of sed to parse the test output into a usable
form. The intent was to use the test module's --junit-xml feature and
parse the resulting log instead of using sed, but various errors were
encountered when testing this method, so that will need further
investigation before we can consider adopting it. Two missing ptest
dependencies on python3-cgitb and python3-zipapp were already merged
in a previous patch, so only gcc, g++, and binutils were left to add
as ptest RDEPENDS.
ptest output and runtime with this change:
== Tests result: SUCCESS ==
405 tests OK.
29 tests skipped:
test_asdl_parser test_check_c_globals test_clinic test_curses
test_devpoll test_gdb test_idle test_ioctl test_kqueue
test_launcher test_msilib test_ossaudiodev test_readline
test_smtpnet test_socketserver test_startfile test_tcl test_tix
test_tk test_ttk_guionly test_ttk_textonly test_turtle
test_urllib2net test_urllibnet test_winconsoleio test_winreg
test_winsound test_xmlrpc_net test_zipfile64
Total duration: 5 min 3 sec
[YOCTO #13298]
(From OE-Core rev: 50a719d3002a4119e8b2be43aec8fe01aa0c2a40)
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>
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>