* 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>
By changing the default code generation of GCC we're inadvertently
breaking the GCC test suite, which has ~120K+ more failures when run for
aarch64 compared to x86-64.
This was because the generated code fragments included the BTI
instructions, which the test case wasn't expecting. We can't tell the
tests globally to run without branch protection, as that will break the
tests which also turn it on.
Remove the enabling of branch protection by standard in GCC, we'll
enable it in the tune files instead.
(From OE-Core rev: bb4b9017db6a893ed054a2d2ad4cc671dec09c42)
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>
From commit 742a1b7124, log_lock.pid is writen to root, but following
file is not changed, which will make it never deleted, and an unexpected
file exist in root dir after boot target.
$ tail -n 1 etc/tmpfiles.d/dnf.conf
r /var/log/log_lock.pid
Besides, root dir may be read-only, so it is better still
keep the log_lock.pid under /var/log, only write the log lock to root
for native dnf for fixing issue mentioned in 742a1b7124
(From OE-Core rev: 5f1471158dfcd9a85fe910e49c5df25cb96ffe69)
(From OE-Core rev: 7610f81586bd475f28fd3d89a7350771720c3264)
Signed-off-by: Changqing Li <changqing.li@windriver.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>
dereferenced.org is now longer controlled by the pkgconf maintainers[1],
so use the the new hosting location.
[1] 437c2a3218
(From OE-Core rev: c3df4594513410c7a6352e62aa928c42982eac13)
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>
Replace the sockopt disable patch with a fix from upstream. Also add a
patch to handle accept/accept4 differences when using glibc optimisations
for platforms where socketcall is used instead of an accept syscall such
as 32 bit x86.
(From OE-Core rev: ac921989991c319ecad01bec37c4ccaa15a7b58f)
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>
License-Update:
BLAKE3 updated to 1.4.0
cpp-httplib updated to 0.12.6
Changelog:
==========
Fixed parsing of Windows drive letter in file URLs for remote storage.
Fixed a bug affecting depend mode with MSVC.
Ccache no longer passes -v to the preprocessor. This improves preprocessor mode hit rate when -v is on the compiler command line.
Made --trim-max-size accept 0 for no limit.
(From OE-Core rev: 8d78ab10622b6ae9117308051f5721d645000087)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This needs to be done for any item that is linked under rustc,
and not just rust itself. Latest python-cryptography exposes the issue.
(From OE-Core rev: d3811228747590ea06e8d68be4785d45ec9c478f)
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>
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>
If we create a macros file under etc/, the populate_sdk task would
fail if 'package-management' is in SDKIMAGE_FEATURES and nativesdk-rpm-build
is installed.. The error message is like below:
unable to place /.../sdk/image/etc/rpm in final SDK location
This is because it's trying to move the etc/rpm dictory into the
host sysroot but the <host_sysroot>/etc/rpm has already exists.
To solve this problem, avoid creating /etc/rpm/macros for nativesdk-rpm-build,
use ${libdir}/macros instead. In this way, the macros file is hold
in nativesdk-rpm. As nativesdk-rpm-build depends on nativesdk-rpm,
the 'rpmbuild' command inside SDK can still correctly find find-debuginfo
binary.
(From OE-Core rev: 5fde0eadf16d34d88a599009013913fe55d89283)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Brings a single change
[lld][WebAssembly] Fix stub library parsing with windows line endings
(From OE-Core rev: 47403ab257435de4e958fd6361293cbbff5dafc9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both patches change the same paths to gawk, merge them together
as we only need one patch for this.
(From OE-Core rev: 79c0b18e29cad337640860f57683f0a170f6daab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is failing for uncertain reasons. We have reported upstream, disable
it until we can work out why this happened. The point it started failing is
unclear due to other test framework issues.
(From OE-Core rev: 2e9165a854c7b83f163479e9dbd3cb183a9d71f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The updated selftest was assuming qemu-bridge-helper was available on the host
system which isn't always the case. Tweak the test case to avoid this issue by
adding dedicated help output and checking for this specifically.
(From OE-Core rev: 4a80e95d1f59e0ddcedde3f64d0a0d1dc48a6e4d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ip tuntap provides the functionality that we obtained from tunctl. We only
needed tunctl when ifconfig was more available than ip. That isn't the case
now so we can drop tunctl and all the hoops we need to jump through to build
and provide it.
(From OE-Core rev: 2abfbca690ff00cb58ce08a65cde006578ee3de9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>