Also add python3-json and python3-compression to RDEPENDS so that the
module imports correctly.
Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS):
- Treat methodName="runTest" similar to unittest.TestCase,
fixes compatibility with pytest 8.3. (Natanael Copa, #372)
- Format with ``ruff format``. (Jelmer Vernooij)
- Use ruff for linting. (Jelmer Vernooij)
- Fix compatibility with Python 3.12.1. (Matthew Treinish)
- Deprecate SkippedTest exception. (Stephen Finucane)
- Drop support for Python 3.7. (Jelmer Vernooij)
(From OE-Core rev: 8e68feaee2dcaa5c0d7fdb829fae47f7858dc07b)
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 (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.103.2 - 2024-06-14
- This patch improves our deduplication tracking across all strategies (pull request #4007). Hypothesis is now less likely to generate the same input twice.
6.103.1 - 2024-06-05
- Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors as seen in issue #3975.
- Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9 (pull request #3890).
(From OE-Core rev: fe8a9ef0a6159633479b2e73ecb721cd8b854992)
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>
Bootstrap [1]
As mentioned in the Go 1.20 release notes, Go 1.22 now requires the final point release of Go 1.20 or later for bootstrap.
We expect that Go 1.24 will require the final point release of Go 1.22 or later for bootstrap.
The default recipe for bootstrap is the go-binary-native as can be seen in:
meta/conf/distro/include/tcmode-default.inc:68:PREFERRED_PROVIDER_go-native ?= "go-binary-native"
Currently if we change it to use the old go-native and compile the go1.4-bootstrap-20170531
it fails:
| Building Go cmd/dist using /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go1.4/go. (go1.4-bootstrap-20170531 linux/amd64)
| can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go/src/cmd/dist
This has been broken for some time but as we used go-binary-native by default it went unnoticed.
[1] https://go.dev/doc/go1.22#bootstrap
(From OE-Core rev: 876d344d2ec3d6ce283d01974146392d76685824)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch is specific to how oe-core runs autotools-generated tests:
by cherry-picking needed bits from builddir and srcdir, then hacking
Makefile with sed until it runs.
As GNU is not interested in installable tests, they wouldn't be
interested in this patch either; and if they become interested,
it's probably going to be done in a whole different way.
(From OE-Core rev: dd13c29bee330d381e1e574351348e526500e396)
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>
Tcl 8.4.0 changed the channel implementation, take a patch submitted
upstream to update the code for the new interface and remove the silencing
of the incompatible assignment error which was due to this issue.
(From OE-Core rev: a56ca08159fbdbc27511376f45720bb8ea068fc4)
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 configure script has many fragments that fail to compile with GCC 14,
take a patch submitted upstream to fix these issues.
(From OE-Core rev: 5c21ca789c288662aa3d307b30813cd03cc8c158)
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>
It fails to run both `gcc` and `gfortran` with errors:
| root@qemux86-64:~# x86_64-poky-linux-gcc a.c
| x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory
then add binutils which provides `as` to RDEPENDS of gcc.
libgfortran-dev provides libgfortran.spec which required by gfortran:
| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory
And gcc provides liblto_plugin.so:
| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found
(From OE-Core rev: 44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
g77/f77 has been removed from gcc 4.0.0 via commit:
* b4117c30610 Makefile.def, [...]: Remove all mention of libf2c.
When set
FORTRAN = ",f77"
it complains with error:
| The following requested languages could not be built: f77
| Supported languages are: c,c,c++,fortran,go,lto,m2,objc,obj-c++
So remove g77/f77 from gcc recipes.
[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4117c30610
(From OE-Core rev: 6469c6a00066af24c87ec5dd7994ebbc610c3782)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is causing problems on the Autobuilder, so disable it for now.
(From OE-Core rev: ac000b00ec615b3e51dda8d819015d5e7110ed88)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are causing hangs on the Autobuilder, so disable them for
now.
(From OE-Core rev: 291f37808f1a2b2fdc8190696867f974994457c0)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the addition of the C++ runtime setting added recently, allow
gcc to use libc++ as its runtime. There's some minor fixes still
required, such as allowing setting the unwinder library. But this
allows for testing libc++ with gcc.
(From OE-Core rev: f84ae97e2bc081c972e78ee4a958f21111dbbfb6)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md
Release 4.12.2 (June 7, 2024)
* Add typing_extensions.get_annotations, a backport of
inspect.get_annotations that adds features specified by PEP 649. Patch
by Jelle Zijlstra.
* Fix regression in v4.12.0 where specialization of certain generics with
an overridden __eq__ method would raise errors. Patch by Jelle Zijlstra.
* Fix tests so they pass on 3.13.0b2
Release 4.12.1 (June 1, 2024)
* Preliminary changes for compatibility with the draft implementation of
PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
* Fix regression in v4.12.0 where nested Annotated types would cause
TypeError to be raised if the nested Annotated type had unhashable
metadata. Patch by Alex Waygood.
Release 4.12.0 (May 23, 2024)
* This release is mostly the same as 4.12.0rc1 but fixes one more
longstanding bug.
* Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8
and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"),
typing.TypeVar) would have a different result in some situations
depending on whether or not a profiling function had been set using
sys.setprofile. Patch by Alex Waygood.
https://github.com/python/typing_extensions/compare/4.11.0...4.12.2
(From OE-Core rev: ca85febfc97459f04c178a870e064170ba3f1e27)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://requests.readthedocs.io/en/latest/community/updates/#release-history
2.32.3 (2024-05-29)
* Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
in sub-classes of HTTPAdapter. (#6716)
* Fixed issue where Requests started failing to run on Python versions
compiled without the ssl module. (#6724)
2.32.2 (2024-05-21)
* Deprecations - To provide a more stable migration for custom HTTPAdapters
impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of
Requests>=2.32.0.
* A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
https://github.com/psf/requests/compare/v2.32.1...v2.32.3
(From OE-Core rev: 8ed50a4e723fce8fb4e51463f1316c0d500e5476)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
What's Changed
- pyupgrade/black/isort/flake8 → ruff by @DimitriPapadopoulos in #769
- Add support for Python 3.13 and drop EOL 3.7 by @hugovk in #783
- Bump the github-actions group with 4 updates by @dependabot in #782
- Fix typo in _parser docstring by @pradyunsg in #784
- Modernise type annotations using FA rules from ruff by @pradyunsg
in #785
- Document markers.default_environment() by @edgarrmondragon in #753
- Bump the github-actions group with 3 updates by @dependabot in #789
- Work around platform.python_version() returning non PEP 440 compliant
version for non-tagged CPython builds by @sbidoul in #802https://github.com/pypa/packaging/compare/24.0...24.1
(From OE-Core rev: fe1fac5e49308a64c1a1c90e0e892203514a9ba9)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0https://more-itertools.readthedocs.io/en/stable/versions.html
10.3.0
* New functions
- powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
- join_mappings() (thanks to NeilGirdhar and rhettinger)
- doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
- unique() (thanks to rhettinger)
* Changes to existing functions
- collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
- totient() was optimized (thanks to rhettinger)
- roundrobin() was updated and improved (thanks to rhettinger)
- all_equal() now accepts a key parameter.
- The docs for value_chain() were improved (thanks to bjrtx)
- The type annotations for countable were improved (thanks to aidanholm)
* Other changes
- Unit tests were improved (thanks to haukex)
- Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)
(From OE-Core rev: 3a15dc1e34625523f4aa87b9483bb6304682d0ab)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove 0001-xxhash.h-Fix-build-with-gcc-12.patch since there is no xxhash in
ccache by default any more.
* License-Update:
- Update LIC_FILES_CHKSUM becaue a few third party licenses have been removed:
$ git diff --stat v4.9.1..v4.10 LICENSE.adoc
LICENSE.adoc | 222 +++++++++---------------------
1 file changed, 15 insertions(+), 207 deletions(-)
And add more licenses for third party files.
* Add required recipe fmt and xxhash to DEPENDS.
* Set ENABLE_TESTING=OFF since it requires doctest which is not present in oe.
(From OE-Core rev: 2de4229793df26c9d058885a422cf88f00046d45)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is required by ccache 4.10, from cmake/Dependencies.cmake:
find_package(Fmt 8.0.0 MODULE REQUIRED)
(From OE-Core rev: 473b80caab466538557796c188554ea1dc0a0480)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patches:
fix-grep-3.8.patch.
faildiff-order.patch
0001-test-Fix-a-race-condition-in-merge.test.patch
* Add coreutils to RDEPENDS:quilt-ptest to fix ptest error:
$ ln -P
ln: invalid option -- 'P'
The busybox' ln doesn't have option '-P', so use coreutils to fix it.
(From OE-Core rev: 9a0a684bb470aad2f1c44d0f1f84cb33910d5189)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog (https://docs.pytest.org/en/stable/changelog.html):
Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
(From OE-Core rev: e875ac5114eaf6582dfba93802e2e0144c08aeaa)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Override S and PYPI_SRC_URI as upstream tarball is now "babel"
instead of "Babel", but we still need PYPI_PACKAGE to be "Babel"
for the upstream version check to work.
What's Changed
* Drop support for Python 3.7 (EOL since June 2023) by @akx in #1048
* Upgrade GitHub Actions by @cclauss in #1054
* Improve .po IO by @akx in #1068
* Use CLDR 44 by @akx in #1071
* Allow alternative space characters as group separator when parsing
numbers by @ronnix in #1007
* Include Unicode license in locale-data and in documentation by @akx
in #1074
* Encode support for the "fall back to short format" logic for time
delta formatting by @akx in #1075
* Prepare for 2.15.0 release by @akx in #1079https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0
License-Update: copyright years
(From OE-Core rev: d00b0dad53992fc44ae2bfb6031932d678590ebc)
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>
License-Update: Change from PSF 2.x to ZPL-2.1, add CC0
A few notable things change with this upgrade:
- docutils now uses the Zope 2.1 license instead of PSF 2.1.1
- It now uses flit as the build backend
- The do_install append is no longer needed, as the rst2* endpoints
lacking the .py extension are included
- python3-pprint is added to RDEPENDS
Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html
(From OE-Core rev: 38f2293304fbd884d4653f7746bc1d5a9bac12c1)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no python-cython recipe in core, so merge the .bb and .inc.
(From OE-Core rev: 6c2cf318289cbd8c2732f8f7ddaa6750ab0f0276)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the default value, so remove it.
(From OE-Core rev: e665d9831f9dc300def0955a1431ae110c8e8189)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix brought by this patch is already part of python 3.12.3
therefore drop it.
(From OE-Core rev: c029da173044c58169484ba220f7d8afeaec3063)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Refresh python3-maturin-crates.inc
1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0
(From OE-Core rev: 6bfea504150466bb04c47eee834bdcc2c622f26e)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are three releases since 6.102.4.
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.103.0 - 2024-05-29
- This release migrates the shrinker to our new internal representation,
called the IR layer (pull request #3962). This improves the shrinker’s
performance in the majority of cases. For example, on the Hypothesis
test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
certain strategies. If you encounter strategies which reliably shrink
more slowly than they used to (or shrink slowly at all), please open
an issue!
- You can read more about the IR layer at issue #3921.
6.102.6 - 2024-05-23
- This patch fixes one of our shrinking passes getting into a rare O(n)
case instead of O(log(n)).
6.102.5 - 2024-05-22
- This patch fixes some introspection errors new in Python 3.11.9 and
3.13.0b1, for the Ghostwriter and from_type().
(From OE-Core rev: fc78eccf808014e60bc56bd7966ab00e5a7f9a80)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to use flit core since upstream changed.
They also changed the capitalisation under pypi.
The license didn't change but the file was renamed, probably as it wasn't
rst.
(From OE-Core rev: e352680528b18c3cdae26233bef7cddc2771d42d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove pacthes accepted upstream, and refresh the remaining ones. Remove
patches required by ubuntu 18.04, as those are unmaintainable.
Remove CVE status for CVEs not applicable to the new version.
RP: Remove the hppa-firmware{,64}.img files as they cause strip failures
and SDK relocation errors. We don't support PARISC anyway, if anyone needs
them they can write the changes needed.
(From OE-Core rev: ca2ae68aad88d77cde0670467c4966dbb98d05c0)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The introduction of sstate and recipe specific sysroots made the configure
prepends obsolete and unneeded. The compile prepend has been there for over
a decade and is also likely obsolete. Remove the whole lot, we look into any
issues that arise.
(From OE-Core rev: d6a22998e47bcceee3fc3edc72eb2df2970dabfa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I can't see any reason this configure like for a sysroot is needed in
the native config and it doesn't make any sense. Drop it as
obsolete/unneeded.
(From OE-Core rev: 67aea7bb485efe6187a255d74c100890333074f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtool auto detects the sysroot from gcc's parameters or configuration so we
don't need to pass in this configuration separately to libtool.
Whilst the option names do conflict with gcc/binutils, that is an issue for those
projects to resolve, not us. Upstream libtool did reject the patch. We can
drop this patch and simplify our code.
(From OE-Core rev: 7c8553f81bccc3e8c2bb1116ee1e89f5f8af4c9e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this is an alpha release, it makes sense for us to
stay close to upstream.
We can drop a lot of merged patches which is great to see.
During testing, one bug showed up, particularly on mip64 due
to an issue with FILECMD being changed to use AC_CHECK_PROG
incorredly. A patch has been added for that and sent upstream.
(From OE-Core rev: d572297c5810fb248af633014eac96f8ea0a739e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.
(From OE-Core rev: 28a7064403f2433ef3cb4d52b03dd73437f2d665)
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>