Adjust locale dependencies to help run tests sadly, tr-tr is not
available yet in musl-locale so keep that specific to glibc
Add an exclusion list for tests and populate it for musl for the failing
tests
(From OE-Core rev: db76ac9968ceddc01e48069dbacc212eb4f88574)
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>
Changelog:
============
-Fixed platform tag detection for GraalPy and 32-bit python running on an
aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy
(From OE-Core rev: 05538017cce6ada76f98dc3fa99239f3d4db0eb7)
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:
===========
#426: Python 3.7 is no longer supported.
#428: Pluggy now exposes its typings to static type checkers.
(From OE-Core rev: 5294490af327c80d80069070b0e68194e6ee23a3)
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 our autoformatting tools, improving our code style without any API changes.
- enables and fixes many more of ruff‘s lint rules.
(From OE-Core rev: 14f58560c40a24d5a1466781ad4e3cfc35fd1f46)
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>
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.
Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
level of nesting and relying on importlib.machinery to find the remaining
modules based on the parent package path.
(From OE-Core rev: 27d3e5bc7ea949c4e7691674617cf29c80b3035f)
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:
============
-gh-104432: Fix potential unaligned memory access on C APIs involving returned
sequences of char * pointers within the grp and socket modules. These were
revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
context are not sent to a different process created in a spawn context.
This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.
-gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.
(From OE-Core rev: 70df63c2fe59ab781152b6981caf0828ececc54e)
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>
default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.
This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS
(From OE-Core rev: 7f9c14aa51fe9180e56cc6922415aef873de9cb6)
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>
Changelog: 039a99414e
Remove custom PV from the recipe since the relevant functionality is in
1.7.0:
[tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
v1.7.0
(From OE-Core rev: 55208224f492af0ad929555ffc9b95ff1d301c5f)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that SRCPV isn't needed we can simplify things in a few places...
(From OE-Core rev: 843f82a246a535c353e08072f252d1dc78217872)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason in the migration of CVE_CHECK_IGNORE to CVE_STATUS[1], this
CVE was commented out.
[1] oe-core 1634ed40
(From OE-Core rev: 07deefea29169ba8d663c869f26b31d3f37a1c9f)
(From OE-Core rev: 20a8f5d928c0b3022609678d7c21b06912df058f)
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>
When building for the target this recipe absolutely needs
gobject-introspection to be enabled, so add an explict
(From OE-Core rev: 86941419ef2d315db6bf5645491bf97ec129eb34)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
============
- Fixed regression in Word(min)
- Fixed bug in bad exception messages raised by Forward expressions.
- Fixed regression in SkipTo, where ignored expressions were not checked when looking
for the target expression.
- Fixed type annotation for enable_packrat
- Some general internal code cleanup.
(From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc)
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:
=========
- Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*()
now have a negate parameter to make using .gitignore logic easier and more efficient.
- Pull #76: Add edge case: patterns that end with an escaped space
- Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark.
(From OE-Core rev: 2b36eb04ad71f01da5a8495a6e00fcb2bc89fa3b)
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 a special case for initial 's to smarty extension (#1305).
Unescape any backslash escaped inline raw HTML (#1358).
Unescape backslash escaped TOC token names (#1360).
(From OE-Core rev: cd32e3cfbfc95cf34b29c44f1b7bcbadcda56c92)
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 following tests have been seen failing intermittently on the
autobuilder:
test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout
test.test_time.TimeTestCase.test_thread_time
Since these could be affected by AB systems under heavy load, disable
them. New test outputs:
test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout)
SKIP: Test wait(timeout) 'timing related test, dependent on load'
...
SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load'
[YOCTO # 15131]
[YOCTO # 15177]
(From OE-Core rev: 4da3b653e0fad52e7af97328b49e40d5179ddfe5)
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://wheel.readthedocs.io/en/stable/news.html
0.41.0 (2023-07-22)
* Added full support of the build tag syntax to wheel tags (you can now
set a build tag like 123mytag)
* Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry
Schreiner)
* Support testing on Python 3.12 betas (PR by Ewout ter Hoeven)
(From OE-Core rev: 81e7e3b9059840fd749b5b50fc75588d7c4b7593)
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://more-itertools.readthedocs.io/en/stable/versions.html
10.0.0
* Potentially breaking changes
- Python 3.7 support was dropped, since it went EOL on 2023-06-27
- batched() no longer issues a DeprecationWarning; it is now an alias
for itertools.batched for Python 3.12+
- batched() and matmul() now yield tuples instead of lists
* New functions
- combination_with_replacement_index() (thanks to Schoyen)
- nth_combination_with_replacement() (thanks to Schoyen)
- polynomial_eval() (from the Python itertools docs)
- polynomial_derivative() (from the Python itertools docs)
- sum_of_squares() (from the Python itertools docs)
* Changes to existing functions
- seekable() now has relative_seek method (thanks to karlb)
- chunked_even() was optimized (thanks to elliotwutingfeng)
- numeric_range() was optimized (thanks to eltoder)
- duplicates_justseen(), pairwise(), partial_product(), and partition()
were updated and optimized (thanks to pochmann)
- unique_in_window() had its implementation updated (thanks to
elliotwutingfeng)
- iterate() now breaks when its func argument raises StopIteration (thanks
to jrebiffe)
* Other changes
- Some documentation and testing issues were fixed (thanks to lonnen and
XuehaiPan)
(From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f)
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>
This provides pylibfdt, which is a runtime dependency for the dtschema
module that we already carry in oe-core.
(From OE-Core rev: 123077ecd9f3c1839da0d7b1474d689e5c6a689c)
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>
Add a conditional echo statement to make sure that there is a
FAIL emitted when python3 ptests regress in a way sed doesn't
catch.
(From OE-Core rev: 2100c588863b9da64ea8f2eb6be4ff445e26b5f0)
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>
A total of 14 pull requests were merged for this release.
========================================================
#23968: MAINT: prepare 1.25.x for further development
#24036: BLD: Port long double identification to C for meson
#24037: BUG: Fix reduction return NULL to be goto fail
#24038: BUG: Avoid undefined behavior in array.astype()
#24039: BUG: Ensure __array_ufunc__ works without any kwargs passed
#24117: MAINT: Pin urllib3 to avoid anaconda-client bug.
#24118: TST: Pin pydantic<2 in Pyodide workflow
#24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1
#24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3
#24122: BUG: Multiply or Divides using SIMD without a full vector can...
#24127: MAINT: testing for IS_MUSL closes#24074#24128: BUG: Only replace dtype temporarily if dimensions changed
#24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0
#24134: BUG: Fix private procedures in f2py modules
(From OE-Core rev: 7371f2513d30bf6a17620271df8abbdaeafaae6b)
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:
===========
-Block insecure non-multi options in clone/clone_from
-Don't rely on __del__
-fix pypi long description
-Name top-level exceptions as private variables
-commit trailers should be a list instead of a dictionary
-Fix up the commit trailers functionality
(From OE-Core rev: 8320d23b1d90f8e7454573c59d8fd360565acf48)
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 a new add_to_subpackage method.
Add type annotations.
Internal admin: Switch to nox for automation
Internal admin: Switch to ruff for linting
Internal admin: Switch from setuptools to flit_core
(From OE-Core rev: dae1a0e62c1c93ae51395feae93d14d7e6f788eb)
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:
Upgrade setuptools to 68.0.0
Upgrade typing_extensions to 4.7.1
Changelog:
==========
-Fix pip completion --zsh. (#11417)
-Prevent downloading files twice when PEP 658 metadata is present (#11847)
-Add permission check before configuration (#11920)
-Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree (#11957)
-Ignore invalid or unreadable origin.json files in the cache of locally
built wheels. (#11985)
-Fix installation of packages with PEP658 metadata using non-canonicalized
names (#12038)
-Correctly parse dist-info-metadata values from JSON-format index data. (#12042)
-Fail with an error if the --python option is specified after the subcommand
name. (#12067)
-Fix slowness when using importlib.metadata (the default way for pip to read
metadata in Python 3.11+) and there is a large overlap between already
installed and to-be-installed packages. (#12079)
-Pass the -r flag to mercurial to be explicit that a revision is passed and
protect against hg options injection as part of VCS URLs. Users that do not
have control on VCS URLs passed to pip are advised to upgrade. (#12119)
(From OE-Core rev: 5bf45f8b29f15dbf1e3880f61a95f326cd32f98f)
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>
https://github.com/jaraco/zipp/blob/v3.16.2/NEWS.rst
v3.16.2
* Bugfixes:
- In Path.match, Windows path separators are no longer honored. The fact
that they were was incidental and never supported. (#92)
- Fixed name/suffix/suffixes/stem operations when no filename is present
and the Path is not at the root of the zipfile. (#96)
- Reworked glob utilizing the namelist directly. (#101)
v3.16.1
* Bugfixes:
- Replaced the fnmatch.translate with a fresh glob-to-regex translator
for more correct matching behavior. (#98)
v3.16.0
* Features:
- Require Python 3.8 or later.
License-Update: removed Copyright (see https://github.com/jaraco/skeleton/issues/78)
(From OE-Core rev: 8ffcbf120c7b35187f24e45fb8d35558ac1a697e)
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>
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.
(From OE-Core rev: c652f094d86c4efb7ff99accba63b8169493ab18)
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>