Commit Graph

8897 Commits

Author SHA1 Message Date
Richard Purdie
5e7bf2a17d createrepo-c: Fix 32 bit architecture segfaults with 64 bit time
After including time64.inc, createrepo-c was segfaulting on 32 bit architectures
when creating repo indexes (even for an empty repo).

Add a patch from Khem to fix this and some other compiler warnings related to 64
bit time on 32 bit.

[YOCTO #15170]

(From OE-Core rev: a5137a5c5c03a728faf57fd335ca8378f4f4cb91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-26 20:51:00 +01:00
Tim Orling
0276edeb71 python3-pyyaml: upgrade 6.0 -> 6.0.1
No changelog provided; new commits are:

c42fa3b (tag: 6.0.1, origin/release/6.0) 6.0.1 release
ae08bdc block Cython 3.0+ as a build dep (#702)
f873cfe Add python 3.11 support (#663)

https://github.com/yaml/pyyaml/compare/6.0...6.0.1

(From OE-Core rev: 3480d13959652908b34b929158f1cf4e56c014bf)

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>
2023-07-25 15:27:33 +01:00
Tim Orling
e82334a907 python3-hypothesis: upgrade 6.81.2 -> 6.82.0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-82-0

6.82.0 - 2023-07-20
* from_regex() now supports the atomic grouping ((?>...)) and possessive
  quantifier (*+, ++, ?+, {m,n}+) syntax added in Python 3.11.

  Thanks to Cheuk Ting Ho for implementing this!

(From OE-Core rev: 4d41717cf4c0a71d0c220e9f3633d07af0184472)

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>
2023-07-25 15:27:33 +01:00
Tim Orling
db4946b66f python3-urllib3: upgrade 2.0.3 -> 2.0.4
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#204-2023-07-19

2.0.4 (2023-07-19)
* Added support for union operators to HTTPHeaderDict (#2254)
* Added BaseHTTPResponse to urllib3.__all__ (#3078)
* Fixed urllib3.connection.HTTPConnection to raise the http.client.connect
  audit event to have the same behavior as the standard library HTTP client
  (#2757)
* Relied on the standard library for checking hostnames in supported PyPy
  releases (#3087)

(From OE-Core rev: 3513a31db197fcaf78a68a48be448b45b60defbf)

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>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
915d601b1c git: upgrade 2.39.3 -> 2.41.0
Changelog for 2.41.0: https://github.com/git/git/blob/master/Documentation/RelNotes/2.41.0.txt
Changelog for 2.40.0: https://github.com/git/git/blob/master/Documentation/RelNotes/2.40.0.txt

git-add--interactive was removed in 2.40.0 in favor of git add -i, which
caused the AUH upgrade failure as that PERLTOOLS entry was no longer
relevant.

(From OE-Core rev: 60ff9714328ada93029bde6623f64977178a2de0)

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>
2023-07-25 15:27:33 +01:00
Oleksandr Hnatiuk
e4890e2276 file: return wrapper to fix builds when file is in buildtools-tarball
Wrapper that adds proper path to magic file was removed in
47db876d09d9a4394048579c21d0b394450ce681 in favor of
environment-setup.d/file.sh which now contains `MAGIC` environment variable.
This breaks builds that rely on external buildtools with `file` included in
buildtools-tarball (e.g. via TOOLCHAIN_HOST_TASK) because do_populate_sysroot
task invokes `file` via `subprocess.check_output` (in is_elf function) and
doesn't use variables from files in environment-setup.d. To address this use
case, we need to preserve the wrapper, but also have
environment-setup.d/file.sh for the purposes described in
47db876d09d9a4394048579c21d0b394450ce681.

(From OE-Core rev: e76b059cf4ba9a79150032d68d012b233dd79a65)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
a776b31811 python3-dtschema: add python3-dtc to RDEPENDS
Also reorder the RDEPENDS to be alphabetical.

(From OE-Core rev: a185536b2a38f362a7f0e883f9010f6b34547ca9)

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>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
6684cfb613 python3-dtc: add from meta-virtualization
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>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
bbed3a143b python3-dtschema: upgrade 2023.4 -> 2023.6.1
No changelog provided. Diff between versions:

08ab41a (tag: v2023.06.1, origin/master) Fix undocumented compatible check
90ce246 (tag: v2023.06) Revert "Partially Revert "dtschema: add nanoamp unit""
a4fe59b schemas: Allow 'fail' value for 'status'
1ea798a schemas: Allow 'status' for node names
2945ab5 schemas: Allow node names starting with number
33cbf96 schemas: Allow '/' in compatible strings
470b522 fixups: Handle 'multipleOf' keyword in schemas
6fc2e30 meta-schemas: Ensure "enum" contains only strings or integers
bd525a4 meta-schemas: Disallow 'binding' or 'schema' in schema 'title'
822ce6a schemas: cpu: Add some missing common properties
e3dfc1e schemas: Use 'oneOf' rather than if/then for *-supply properties
26b0e53 dtschema: Use format strings for printing
bc164f9 Split DTValidator class into 2 classes
4ddf315 meta-schemas: Ensure DT property names contain either an object or boolean
3db9af1 meta-schemas: add $defs schema checking
85e967f schemas: iio: add label
31cc52a dtschema: Move fixups to separate file
9e4dd3b dtschema: Drop unnecessary quote checking
41e1192 dtb: Drop unused pprint import

(From OE-Core rev: d8a5ba078f027f1d60d97513fe10dcc149ef8d1c)

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>
2023-07-25 15:27:33 +01:00
Andrej Valek
c15e506a46 cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

(From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Reviewed-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-21 11:52:26 +01:00
Trevor Gamblin
e7183e5099 python3: ensure ptest regression capture
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>
2023-07-21 11:52:26 +01:00
Soumya
c80fafccaf perl: Fix CVE-2023-31486
HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available
standalone on CPAN, has an insecure default TLS configuration where
users must opt in to verify certificates.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-31486

Upstream patches:
77f557ef84
a22785783b

(From OE-Core rev: e021fcc420b15d96b32f77f2b38324651dbd454c)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-21 11:52:26 +01:00
Wang Mingyu
849b0dcebb repo: upgrade 2.34.1 -> 2.35
Changelog:
==========
Fixed a couple of bugs in ExitEvent logging:
- log exitcode 130 on KeyboardInterrupt
- log exitcode 1 on unhandled Exception
- log errorevent with specific reason for exit

(From OE-Core rev: da4a177be88b476ff15c26bc29215a9cdb7308eb)

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>
2023-07-21 11:52:26 +01:00
Wang Mingyu
2c7c360936 python3-numpy: upgrade 1.25.0 -> 1.25.1
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>
2023-07-21 11:52:26 +01:00
Wang Mingyu
ef058f91cf python3-git: upgrade 3.1.31 -> 3.1.32
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>
2023-07-21 11:52:25 +01:00
Wang Mingyu
27efbbdbba python3-editables: upgrade 0.3 -> 0.4
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>
2023-07-21 11:52:25 +01:00
Wang Mingyu
3f3567437d opkg-utils: upgrade 0.5.0 -> 0.6.2
(From OE-Core rev: b0fe9b3dfbe78716c96b70ef098d9cfbf430d5b7)

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>
2023-07-21 11:52:25 +01:00
Wang Mingyu
bb9a484a41 opkg: upgrade 0.6.1 -> 0.6.2
0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch
removed since they're included in 0.6.2.

Changelog:
===========
### Changed
- the project's developer documentation to be more correct and current.

### Fixed
- a bug in the 'opkg-keys' utility script which caused the script to ignore settings in the '/etc/opkg/gpg/gpg.conf' file.
- a compilation error in 'md5.c' when using clang16+ and '-std >= gnu11'.

(From OE-Core rev: d7c8a58297e38f6222035aa9135fedf2ca387742)

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>
2023-07-21 11:52:25 +01:00
Wang Mingyu
8cb7c2e39d python3-pip: upgrade 23.1.2 -> 23.2
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>
2023-07-21 11:52:25 +01:00
Julien Stephan
8ab99dd855 automake: fix buildtest patch
Add check_PROGRAMS as a dependency of buildtest-TESTS target.
This is required because according to the official automake
documentation [1]:
* TESTS: contains all the tests files
* check_PROGRAMS: contains the programs used by the tests
* check_PROGRAMS is not automatically added to TESTS

So, by using only TESTS as a dependency for buildtest-TESTS we may end
up having runtime errors because of missing program required by the
tests.

[1]: https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

(From OE-Core rev: ee3e2af4f8ed95b4fd0f7cec52ae4e169401b719)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 19:37:38 +01:00
Tim Orling
05076f4b49 python3-hypothesis: upgrade 6.80.0 -> 6.81.2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-1

(From OE-Core rev: 95f0610650f5a82e669a8962205f23d097c08516)

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>
2023-07-19 19:37:38 +01:00
Tim Orling
7c6d1f7bc0 python3-zipp: upgrade 3.15.0 -> 3.16.2
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>
2023-07-19 19:37:38 +01:00
Khem Raj
4463a2b86f python3-lxml: upgrade 4.9.2 -> 4.9.3
(From OE-Core rev: 4185814c1072da2cea67eda209395de6306a35d5)

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>
2023-07-19 19:37:38 +01:00
Ross Burton
6f510702e3 python3: ignore CVE-2023-36632
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>
2023-07-19 19:37:38 +01:00
Jose Quaresma
25592f1cac go: update 1.20.5 -> 1.20.6
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.5..go1.20.6 origin/release-branch.go1.20
2c358ffe97 (tag: go1.20.6, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.6
312920c00a [release-branch.go1.20] net/http: validate Host header before sending
4db13d762b [release-branch.go1.20] runtime: set raceignore to zero when starting a new goroutine
08a58dd8b6 [release-branch.go1.20] runtime: allow for 5 more threads in TestWindowsStackMemory*
65092835c5 [release-branch.go1.20] cmd/go: skip TestScript/gccgo_link_ldflags on aix/ppc64
bca817594c [release-branch.go1.20] crypto/x509: tolerate multiple matching chains in testVerify
b8e67d1ddd [release-branch.go1.20] cmd/go/internal/test: don't wait for previous test actions when interrupted
3db4f8146c [release-branch.go1.20] runtime: resolve checkdead panic by refining `startm` lock handling in caller context
6b45fb7b73 [release-branch.go1.20] runtime: fallback to TEB arbitrary pointer when TLS slots are full
be30960e58 [release-branch.go1.20] runtime: use 1-byte load for address checking in racecallatomic
b59efe6c34 [release-branch.go1.20] net/mail: permit more characters in mail headers
c32f1afb41 [release-branch.go1.20] all: make safe for new vet analyzer
c7b145655b [release-branch.go1.20] cmd/go: fix tests for new builder environment
03063101a2 [release-branch.go1.20] text/template: set variables correctly in range assignment
d51e322a3f [release-branch.go1.20] go/printer: error out of Fprint when it would write a '//line' directive with a multiline file path
49594244d3 [release-branch.go1.20] cmd/cover: error out if a requested source file contains a newline
4719048211 [release-branch.go1.20] cmd/cgo: error out if the source path used in line directives would contain a newline
6c606fc191 [release-branch.go1.20] cmd/go: fix TestScript/build_cwd_newline with CGO_ENABLED=0
63ad2b5811 [release-branch.go1.20] cmd/compile: do not report division by error during typecheck
95f377daad [release-branch.go1.20] cmd/go: retain extra roots to disambiguate imports in 'go mod tidy'
a7a48fad7e [release-branch.go1.20] crypto/ecdsa: properly truncate P-521 hashes
f5172dcd38 [release-branch.go1.20] go/build: check for invalid import paths again
8b3acefcbe [release-branch.go1.20] cmd/go: omit checksums for go.mod files needed for go version lines more often in pre-1.21 modules
1008486a9f [release-branch.go1.20] cmd/cgo: correct _cgo_flags output

[1] https://github.com/golang/go/compare/go1.20.5...go1.20.6

(From OE-Core rev: 8d8216d8c4d37cc0d9508eb644653f94fff8989c)

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>
2023-07-19 19:37:38 +01:00
Yash Shinde
a1096d4a57 oeqa/selftest: Add rust selftests
The patch implements Rust testing framework similar to other selftest,
specifically the gcc selftest in OE. It uses the client and server
based method to test the binaries for cross-target on the image.
The test framework is a wrapper around the Rust build system as ./x.py
test. It tests many functionalities of Rust distribution like tools,
documentation, libraries, packages, tools, Cargo, Crater etc.
Please refer the following link for detailed description of Rust
testing:-
https://rustc-dev-guide.rust-lang.org/tests/intro.html#tool-tests

To support the rust tests in oe-core, the following functions were
added:-
setup_cargo_environment(): Build bootstrap and some early stage tools.
do_rust_setup_snapshot(): Install the snapshot version of rust binaries.
do_configure(): To generate config.toml
do_compile(): To build "remote-test-server" for qemu target image.

Approximate Number of Tests Run in the Rust Testsuite :- 18000
Approximate Number of Tests that FAIL in bitbake environment :- 100-150
Normally majority of the testcases are present in major folder "test/"
It contributes to more than 80% of the testcases present in Rust test
framework. These tests pass as expected on any Rust versions without
much fuss. The tests that fail are of less important and contribute to
less than 2% of the total testcases. These minor tests are observed to
work on some versions and fail on others. They have to be added, ignored
or excluded for different versions as per the behavior.
These tests have been ignored or excluded in the Rust selftest
environment to generate success of completing the testsuite.

These tests work in parallel mode even in the skipped test mode as
expected. Although the patch to disable tests is large, it is very simple
in that it only disables tests. When updating to a newer version of Rust,
the patch can usually be ported in a day.

Tested for X86, X86-64, ARM, ARM64 and MIPS64 on Ubuntu 22.04.
(From OE-Core rev: 7c3346d8fbe85302b605bb3f772b029ea7bfaa6c)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Yash Shinde <yashinde145@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 18:00:32 +01:00
Trevor Gamblin
d101e64b1c python3-editables: add python3-io to RDEPENDS
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>
2023-07-19 18:00:32 +01:00
Trevor Gamblin
08b3d726a8 python3-cython: upgrade 0.29.35 -> 0.29.36
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>
2023-07-19 18:00:32 +01:00
Trevor Gamblin
90e1b9d63d python3-trove-classifiers: upgrade 2023.5.24 -> 2023.7.6
Changelog: https://github.com/pypa/trove-classifiers/releases

(From OE-Core rev: 91ec124f7362985e2b83b475f3082fe652262fca)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 18:00:32 +01:00
Tim Orling
27957137d7 python3-cryptography{-vectors}: upgrade 41.0.1 -> 41.0.2
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>
2023-07-19 09:48:39 +01:00
Tim Orling
ee04292b9d python3-typing-extensions: upgrade 4.7.0 -> 4.7.1
https://github.com/python/typing_extensions/blob/4.7.1/CHANGELOG.md#release-471-july-2-2023

Release 4.7.1 (July 2, 2023)
* Fix support for TypedDict, NamedTuple and is_protocol on PyPy-3.7 and
  PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are
  unsupported by the PyPy project. The next feature release of
  typing-extensions will drop support for PyPy-3.7 and may also drop
  support for PyPy-3.8.

(From OE-Core rev: 265f9be324dcda249c718cc4834a911da97030c1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 09:48:39 +01:00
Richard Purdie
c94fd2737e gcc-testsuite: Fix ppc cpu specification
After this change in qemu:

c7e89de132

there is no 'max' cpu model on ppc. Drop it to clean up ppc gcc testsuite failures.

In order for this to work we do need to pull in the alternative cpu option from
QEMU_EXTRAOPTIONS on powerpc.

(From OE-Core rev: c447f2b21b20fb2b1829d540af2cc0bf8242700c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-18 09:17:25 +01:00
Etienne Cordonnier
d335aea8e8 qemu: fix typo
(From OE-Core rev: 0866acdc566cc1e2f16f6f8a041f6bd67b0abf2a)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-14 17:31:06 +01:00
Tim Orling
f1bb4f7eb5 python3-importlib-metadata: upgrade 6.7.0 -> 6.8.0
* 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. Fixes jaraco/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>
2023-07-14 17:31:06 +01:00
Trevor Gamblin
f18cee609b python3-setuptools: upgrade 67.6.1 -> 68.0.0
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>
2023-07-14 17:31:05 +01:00
Trevor Gamblin
3937a63cbb python3: parallelize ptests, add test_cppext dependencies
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>
2023-07-14 17:31:05 +01:00
Trevor Gamblin
832c59d8b8 qemu: upgrade 8.0.0 -> 8.0.3
ppc.patch is removed because it is included in 8.0.3:
864ce70c1c

General changelog for 8.x: https://wiki.qemu.org/ChangeLog/8.0

(From OE-Core rev: bb5c368e48e2222312b1fc4ba4ad609b2530d6bc)

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>
2023-07-14 17:31:05 +01:00
Ross Burton
b0f1ab9810 gcc: don't pass --enable-standard-branch-protection
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>
2023-07-14 17:31:05 +01:00
Changqing Li
90cc6af0ba dnf: only write the log lock to root for native dnf
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>
2023-07-10 11:36:34 +01:00
Ross Burton
5591c1eebf python3-jsonpointer: upgrade to 2.4
Drop the merged patch.

(From OE-Core rev: d4581006a2a05c289280bece02b9a44e409299b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
28de7ad731 python3-pygments: upgrade 2.14.0 -> 2.15.1
* Upstream has dropped setup.py
* Inherit python_setuptools_build_meta instead of setuptools3
* Add self as maintainer, as this is a dependency for python3-sphinx

Adds some new lexers, updates a few others. A handful of bug fixes.

https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6
https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18

(From OE-Core rev: 22e2569ae4843071b2b48d026ca4742351baf6d1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Trevor Gamblin
034dc159c3 python3: add cgitb, zipapp ptest dependencies
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>
2023-07-10 11:36:34 +01:00
Ross Burton
f622013d3f python3: fix missing comma in get_module_deps3.py
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>
2023-07-10 11:36:34 +01:00
Mingli Yu
71eef513bb qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC
Fixes:
  Add below line to conf/local.conf
  IMAGE_INSTALL:append = " qemu-system-aarch64"
  $ bitbake core-image-base
  ERROR: Required build target 'core-image-base' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-base', 'qemu-system-aarch64']

(From OE-Core rev: b89201b7c163b075880a35733700c6d4205b4461)

(From OE-Core rev: 3514a3bc6c86c56ee3b23edccbfa566d7a3e4ac5)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Ross Burton
e3b7c56585 pkgconf: update SRC_URI
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>
2023-07-10 11:36:34 +01:00
Anuj Mittal
817937f57e rpm: backport fix to prevent crashes with latest sqlite
SQLite 3.42.0 causes crashes when installing RPM packages at rootfs
creation time. Backport an upstream fix to resolve the issue.

(From OE-Core rev: f6e4227efb29ed9b1680a1c516e4487804f6e64c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
bd530bd3dc python3-hypothesis: upgrade 6.79.2 -> 6.80.0
Changes:
* This release drops support for Python 3.7, which reached end of life
  on 2023-06-27.
* Fixes occasional recursion-limit-exceeded errors when validating deeply
  nested strategies. Closes: issue #3671
* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3

(From OE-Core rev: 550b8406a479c70206a81c4f24019cb8dadc49db)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
7ab374fc51 python3-typing-extensions: upgrade 4.6.3 -> 4.7.0
New features and bug fixes.

NOTE: This is expected to be the last feature release supporting Python 3.7,
      which reaches its end of life on June 27, 2023. Version 4.8.0 will
      support only Python 3.8.0 and up.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023

(From OE-Core rev: a9a8aa9a33403fb8465b510e5b39417dc2ac72a1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
5d54a38551 python3-urllib3: upgrade 2.0.2 -> 2.0.3
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>
2023-07-10 11:36:34 +01:00
Tim Orling
3ef63cc384 python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
* 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>
2023-07-10 11:36:34 +01:00