Commit Graph

10316 Commits

Author SHA1 Message Date
Wang Mingyu
4f29d72dcf python3-idna: upgrade 3.8 -> 3.10
Changelog:
===========
- Deprecate setup.cfg in favour of pyproject.toml
- Use ruff for code formatting

(From OE-Core rev: 4f2720cc4db6fecba47dcba26a426ffc9b4279bf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
45241d1441 python3-dtschema: upgrade 2024.5 -> 2024.9
Changelog:
=============
- Use type information for decoding DTB properties to their defined
  type. With this many of the fixups in the schema processing are
  dropped.
- Restore prior behavior of matching schemas to fallback compatible
  strings.
- Fix support for filtering with multiple patterns on dt-validate.
- Clean-ups for I2C schemas.
- Add an "assigned-clock-rates-u64" property to support frequencies
  above 4GHz
- Add a 'test,' vendor prefix to exclude from undocumented compatible
  checks. This removes the documentation requirement for test cases.

(From OE-Core rev: e6a31383143873726e8e47023d79fe72ce0e88d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
c6990c75dc python3-cffi: upgrade 1.17.0 -> 1.17.1
Changelog:
===========
- Fix failing distutils.msvc9compiler imports under Windows
- ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects
- ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code()

(From OE-Core rev: f3bbcfcb8f1db84a2d5e51172d776970222c5e88)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
8f5aa5c9eb python3-build: upgrade 1.2.1 -> 1.2.2
Changelog:
===========
- Add editable to builder.get_requries_for_build's static types
- Include artifact attestations in our release
- Fix typing compatibility with typed pyproject-hooks
- Mark more tests with network
- Add more intersphinx links to docs
- Make uv optional for tests

(From OE-Core rev: c28457432fb723c036598e3c7f72c31d2c500fce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
bf4e85d3a5 orc: upgrade 0.4.39 -> 0.4.40
Changelog:
===========
- Security: Minor follow-up fixes for CVE-2024-40897
- powerpc: fix div255w which still used the inexact substitution
- x86: work around old GCC versions (pre 9.0) having broken xgetbv
  implementations
- x86: consider MSYS2/Cygwin as Windows for ABI purposes only
- x86: handle unnatural and misaligned array pointers
- orccodemem: Assorted memory mapping fixes
- Fix include header use from C++
- Some compatibility fixes for Musl
- ppc: Disable VSX and ISA 2.07 for Apple targets
- ppc: Allow detection of ppc64 in Mac OS
- x86: Fix non-C11 typedefs
- meson: Fix detecting XSAVE on older AppleClang
- x86: try fixing AVX detection again by adding check for XSAVE
- Check return values of malloc() and realloc()

(From OE-Core rev: ed7e4eb12491968c5f962b7e89d557c2c6d86a33)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
cb82bbbbc0 meson: upgrade 1.5.1 -> 1.5.2
0001-Make-CPU-family-warnings-fatal.patch
refreshed for 1.5.2

Changelog:
============
- nasm: Use different test sources for x86 and x86_64
- mdist: correctly detect dirty hg repos with non-English locale, redux
- backend/ninja: Generate sysroot in rust-project.json
- mdist: detect pathological git repo cases and show a slightly better error
- compilers: Pass mode to determine_args, not its string value
- CI: mark arch as skipping frameworks/libgcrypt
- When configuring fails in Github Actions, print folded logs
- Prevent raw exception during project()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_type()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_members()
- mformat: better handling of continuation lines
- mformat: detect invalid config
- tests: handle uncommon architecture format for nm
- mformat: regenerate long lines even if they're already multiline
- Add support for LLVM 19 in Debian.
- mformat: provide nice error message instead of backtrace for invalid value
- mformat: A triple string with a ' in it cannot be simplified
- tests/format: Make the compare script more useful
- linkers: skip -export_dynamic flag before MacOS 10.7
- format: fix indentation of comments
- mformat: correctly handle editorconfig files without the root setting
- cargo: Ignore Cargo.lock if toml implementation is missing
- compilers: do not strip '-isystem' from C build arguments
- Fix compiling ObjC/ObjC++ on Windows/MinGW
- mformat: fix formatting of empty build file
- tests: nasm: make it easier to debug generator() style build
- mdist: correctly detect dirty hg repos with non-English locale

(From OE-Core rev: 292b015bae6fdd11f086dc30f385f45ef2f0eb8d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
629b55244e llvm: upgrade 18.1.8 -> 19.1.0
Changelog:
 https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html

0002-llvm-Fix-CVE-2024-0151.patch
removed since it's included in 19.1.0

(From OE-Core rev: e66a76deb812ee44c83e02b54bcba88a401f3625)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00
Wang Mingyu
4faaa5d15a git: upgrade 2.46.0 -> 2.46.1
Changelog:
==============
 * "git checkout --ours" (no other arguments) complained that the
   option is incompatible with branch switching, which is technically
   correct, but found confusing by some users.  It now says that the
   user needs to give pathspec to specify what paths to checkout.
 * It has been documented that we avoid "VAR=VAL shell_func" and why.
 * "git add -p" by users with diff.suppressBlankEmpty set to true
   failed to parse the patch that represents an unmodified empty line
   with an empty line (not a line with a single space on it), which
   has been corrected.
 * "git rebase --help" referred to "offset" (the difference between
   the location a change was taken from and the change gets replaced)
   incorrectly and called it "fuzz", which has been corrected.
 * "git notes add -m '' --allow-empty" and friends that take prepared
   data to create notes should not invoke an editor, but it started
   doing so since Git 2.42, which has been corrected.
 * An expensive operation to prepare tracing was done in re-encoding
   code path even when the tracing was not requested, which has been
   corrected.
 * Perforce tests have been updated.
 * The credential helper to talk to OSX keychain sometimes sent
   garbage bytes after the username, which has been corrected.
 * A recent update broke "git ls-remote" used outside a repository,
   which has been corrected.
 * "git config --value=foo --fixed-value section.key newvalue" barfed
   when the existing value in the configuration file used the
   valueless true syntax, which has been corrected.
 * "git reflog expire" failed to honor annotated tags when computing
   reachable commits.
 * A flakey test and incorrect calls to strtoX() functions have been
   fixed.

 * Follow-up on 2.45.1 regression fix.
 * "git rev-list ... | git diff-tree -p --remerge-diff --stdin" should
   behave more or less like "git log -p --remerge-diff" but instead it
   crashed, forgetting to prepare a temporary object store needed.
 * The patch parser in "git patch-id" has been tightened to avoid
   getting confused by lines that look like a patch header in the log
   message.
 * "git bundle unbundle" outside a repository triggered a BUG()
   unnecessarily, which has been corrected.
 * The code forgot to discard unnecessary in-core commit buffer data
   for commits that "git log --skip=<number>" traversed but omitted
   from the output, which has been corrected.
 * "git verify-pack" and "git index-pack" started dying outside a
   repository, which has been corrected.
 * A corner case bug in "git stash" was fixed.

(From OE-Core rev: ee7e9866ad942a9682e54878f1e7fb06c68c8cf4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Trevor Gamblin
0650c1194e python3-hypothesis: upgrade 6.111.2 -> 6.112.1
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.112.1 - 2024-09-13
This patch removes a now-incorrect internal assertion about numpy’s
typing after recent numpy changes (currently only in numpy’s nightly
release).

6.112.0 - 2024-09-05
This release adds support for variable-width bytes in our IR layer
(issue #3921), which should mean improved performance anywhere you use
binary(). If you maintain an alternative backend as part of our (for now
explicitly unstable) Alternative backends for Hypothesis, this release
changes the draw_* interface and may be a breaking change for you.

ptest output:

|root@qemux86-64:~# ptest-runner python3-hypothesis
|START: ptest-runner
|2024-09-24T13:22
|BEGIN: /usr/lib/python3-hypothesis/ptest
|PASS: examples/test_binary_search.py:test_insert_is_sorted
|PASS: examples/test_binary_search.py:test_is_minimal
|PASS: examples/test_binary_search.py:test_inserts_into_same_place_twice
|PASS: examples/test_rle.py:test_decodes_to_starting_sequence
|PASS: examples/test_rle.py:test_duplicating_an_element_does_not_increase_length
|============================================================================
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 1
|END: /usr/lib/python3-hypothesis/ptest
|2024-09-24T13:22
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: ffb54d761759f02ac4f5eaf374c04e6cdffdb43a)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Trevor Gamblin
e4b30c0de5 python3-pytest: upgrade 8.3.2 -> 8.3.3
Changelog (https://docs.pytest.org/en/stable/changelog.html):

Bug fixes
    #12446: Avoid calling @property (and other instance descriptors) during fixture discovery – by @asottile
    #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.
    #12667: Fixed a regression where type change in ExceptionInfo.errisinstance caused mypy to fail.
    #12744: Fixed typing compatibility with Python 3.9 or less – replaced typing.Self with typing_extensions.Self – by @Avasam
    #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
    #6682: Fixed bug where the verbosity levels where not being respected when printing the “msg” part of failed assertion (as in assert condition, msg).
    #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.
    – by @GTowers1

Improved documentation
    #12663: Clarify that the pytest_deselected hook should be called from pytest_collection_modifyitems hook implementations when items are deselected.
    #12678: Remove erroneous quotes from tmp_path_retention_policy example in docs.

Miscellaneous internal changes
    #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.

(From OE-Core rev: 51fb98c6da61ad4faf5b00316e7075f3bbee9bc7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Trevor Gamblin
66c067260a python3-trove-classifiers: upgrade 2024.7.2 -> 2024.9.12
Changelog (https://github.com/pypa/trove-classifiers/releases):

- Add Odoo 18 trove classifier (#187)

ptest output:

|root@qemux86-64:~# ptest-runner python3-trove-classifiers
|START: ptest-runner
|2024-09-24T12:45
|BEGIN: /usr/lib/python3-trove-classifiers/ptest
|PASS: tests/test_classifiers.py:test_success[classifiers0-deprecated_classifiers0]
|PASS: tests/test_classifiers.py:test_success[classifiers1-deprecated_classifiers1]
|PASS: tests/test_classifiers.py:test_failure[classifiers0-deprecated_classifiers0-Top-level classifier 'Foo' is invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers1-deprecated_classifiers1-Classifier 'Foo :: Bar' is missing]
|PASS: tests/test_classifiers.py:test_failure[classifiers2-deprecated_classifiers2-Classifier 'Bing :: Bang' does not exist]
|PASS: tests/test_classifiers.py:test_failure[classifiers3-deprecated_classifiers3-Classifier 'Foo :: Bar' in both valid and deprecated classifiers]
|PASS: tests/test_classifiers.py:test_failure[classifiers4-deprecated_classifiers4-Classifiers starting with 'Private' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers5-deprecated_classifiers5-Classifiers starting with 'Private' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers6-deprecated_classifiers6-Classifiers starting with 'Private' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers7-deprecated_classifiers7-Classifiers starting with 'Private' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers8-deprecated_classifiers8-Classifiers starting or ending with whitespace are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers9-deprecated_classifiers9-Classifiers starting or ending with whitespace are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers10-deprecated_classifiers10-Classifiers containing ':' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers11-deprecated_classifiers11-Classifiers containing ':' are invalid]
|PASS: tests/test_classifiers.py:test_failure[classifiers12-deprecated_classifiers12-Classifiers containing ':' are invalid]
|============================================================================
|Testsuite summary
|# TOTAL: 15
|# PASS: 15
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 0
|END: /usr/lib/python3-trove-classifiers/ptest
|2024-09-24T12:45
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: f111507f9105e581f39ba1ad3f68865bfa820ac2)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Yogita Urade
4e24d7f64b ruby: upgrade 3.3.4 -> 3.3.5
Includes fix for CVE-2024-41123 & CVE-2024-41946

Changelog
=========
d3ab7be8ca merge revision(s) 657f4b99f61: [Backport #20667]
c69d59e9b2 Sync tool/lib/core_assertions.rb from master
cf9a6c2b63 merge revision(s) a3562c2a0abf1c2bdd1d50377b4f929580782594: [Backport #20701]
d83b5633b1 merge revision(s) 992596fb7af18a7f472589a607d0eb3fbb03b49a: [Backport #20344]
b210c86a02 merge revision(s) 97449338d6cb42d9dd7c9ca61550616e7e6b6ef6: [Backport #20649]
6a4e79533b merge revision(s) 1870505f478cc75993b296b7144a45137ace6937: [Backport #20651]
e0e23e7d5e merge revision(s) 29500e30346: [Backport #20667]
7b954e7bc6 Allow failures in Travis ppc64le and s390x
937964f346 Merge URI-0.13.1 for Ruby 3.3 (#11466)
ac8d50e52e [Backport 3.3] [Bug #20691] Fix use-after-free in WeakKeyMap#clear (#11443)
8657de70aa [Backport 3.3] [Bug #20688] Fix use-after-free for WeakMap and WeakKeyMap (#11439)
9ae91eb2aa Backport warning feature for bundled gems from master (#11420)
66312ad913 Re-initialize vm->ractor.sched.lock after fork (#11372)
4d11a0960d Added bootstrap job for release workflow
65cca99b30 parse.y: const_decl_path don't replace destination node by a literal (#11314)
f85c7deacc Update RubyGems 3.5.16 and Bundler 2.5.16 for Ruby 3.3 (#11252)
0922afa95b [Bug #20654] Fix floor and ceil when ndigits is large (#11277)
ce565cd4b8 [Bug #20653] Fix memory leak in String#start_with? when regexp times out (#11255)
6d744837ab [Bug #20088] Fix ARCH_FLAG for cross compiling
7571ad42f4 [Bug #20650] Fix memory leak in Regexp capture group when timeout (#11244)
4667f8ec10 bundled_gems.rb: Add a fast path (#11221)
425e468d25 [Backport #20633] Fix the condition for `atomic_signal_fence` (#11166)
3427a1679a retry on cancelling of `getaddrinfo` (#11131)

(From OE-Core rev: 0291e93cc1457aa4e214c2bf730447178eb07c04)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Yi Zhao
2f0d7eb2b9 tcl: upgrade 8.6.14 -> 8.6.15
Release Notes:
https://sourceforge.net/p/tcl/mailman/message/58817026/

(From OE-Core rev: 4b9be8f4e71f1c58e07cb918826770d0d208a0fb)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Yi Zhao
b076530cbb json-c: upgrade 0.17 -> 0.18
ChangeLog:
https://github.com/json-c/json-c/blob/json-c-0.18-20240915/ChangeLog

(From OE-Core rev: f5cd6133d229a7acfb9b9983833370744bd2ba7b)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00
Chen Qi
4a6d870307 json-c: avoid ptest failure caused by valgrind
json-c's ptest will automatically detect valgrind and use it to run
tests. This will fail in case valgrind does not work, e.g., intel-x86-64
(corei7-64) + lib32 image. The error is about illegal instruction.
Error message is like below:

  Illegal instruction     (core dumped) valgrind --tool=memcheck ...
  ERROR: "test1Formatted spaced pretty" exited with non-zero exit status: 132

So we explicitly disable valgrind by exporting USE_VALGRIND=0.

(From OE-Core rev: b0429a278e39b7a2846144bcc3fcc24ca298cab7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 15:59:03 +01:00
Richard Purdie
33191e29f0 binutils: Fix binutils mingw packaging
Use SOLIBSDEV in FILES to fix nativesdk-binutils packaging on mingw
builds.

(From OE-Core rev: cba58ab2f380252f231fc78944499ade65e32223)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 15:59:03 +01:00
Daniel McGregor
924fe94ff5 python3-pip: keep pip program name
Python 2.x support is long gone, and many tools expect to use pip
by that name. Keep the pip name around again.

(From OE-Core rev: 0259bc27842ddff8ffb83b6003cf4ec0273cafe1)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 15:59:03 +01:00
Harish Sadineni
a827c8133b binutils: Add missing perl modules to RDEPENDS for nativsdk variant
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
  - Can't locate bignum.pm in @INC (you may need to install the feature module).
  - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)

By adding the following perl modules to RDEPENDS fixes the above errors:
  nativesdk-perl-module-bignum
  nativesdk-perl-module-bigint
  nativesdk-perl-module-math-bigint

(From OE-Core rev: 05f1099acbbb10b6ce33ea117d313749f7dc4a47)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 15:59:03 +01:00
Khem Raj
52ed55e48f qemu: Fix build on musl/riscv64
musl does not provide strerrorname_np() so do not use it.

(From OE-Core rev: d7678118af5aa4bfbf6fb72b34f90a1e37b917c3)

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>
2024-09-20 14:01:02 +01:00
Khem Raj
3d64ad906b systemd-bootchart: Add riscv 32bit support
(From OE-Core rev: b20551a8bbd71dd73aca7df3973556de020819cd)

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>
2024-09-20 14:01:02 +01:00
Divya Chellam
0249d9c893 python3: Upgrade 3.12.5 -> 3.12.6
Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232
and other bug fixes.

Removed below patches, as the fix is included in 3.12.6 upgrade:
1. CVE-2024-7592.patch

Release Notes:
https://www.python.org/downloads/release/python-3126/

(From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Richard Purdie
a14e58799e libedit: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Stop
the code from looking at host paths outside HOSTTOOLS and hence cause the
doc type to be deterministic and reproducible.

(From OE-Core rev: 918e2b266eba6779f19f65349f85caa880ba45e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 11:56:37 +01:00
Richard Purdie
ec9fb6eaa5 ruby: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Set it
explicitly to be deterministic and reproducible.

(From OE-Core rev: f5053abb8957acf358b518ee3c76146dc5f4eb6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 11:56:37 +01:00
Richard Purdie
23763df006 Revert "python3-setuptools: upgrade 72.1.0 -> 72.2.0"
This reverts commit 8fccef7a731f44e5d27653e06becb54cf770e5e5.

The patch causes problems for systems using ccache. Revert until this is fixed.

"Inherit ccache, build anything which uses python3-setuptools (e.g. python3-icu)."

(From OE-Core rev: a7dafda0303e52965010fc428d950e10ff1bb940)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Niko Mauno
63055fc4d0 python3-maturin: Fix cross compilation issue for armv7l, mips64, ppc
When bitbaking python3-rpds-py it built extension module as:

  site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so

Which caused error on target:

  root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module>
      from .rpds import *
  ModuleNotFoundError: No module named 'rpds.rpds'

Where as it should have been:

  site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so

Associated upstream bug report:
https://github.com/PyO3/maturin/issues/2203

Associated upstream pull request:
https://github.com/PyO3/maturin/pull/2204

Note - mitigation has not been tested with musl:
https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320

(From OE-Core rev: 32a8a7379008cc6e367b7664c5b10b29f0bb8136)

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Khem Raj
4a3990485f gcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze
(From OE-Core rev: f0eac82b9a1e4549b7d918df768c369ed7ab5183)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Richard Purdie
d75b116aab elfutils: Drop obsolete ptest conditional in do_install
The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

(From OE-Core rev: 48af648d9855fec70a1b4baba0970876a0b3163d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
d307c65b86 python3-zipp: upgrade 3.20.0 -> 3.20.1
Bugfix:
- Replaced SanitizedNames with a more surgical fix for infinite loops, restoring
  support for names with special characters in the archive.

(From OE-Core rev: 1c71b6b401bad423448d9edb4db4371e7bf605b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
1f4def61db python3-websockets: upgrade 12.0 -> 13.0.1
Changelog:
 https://github.com/python-websockets/websockets/blob/main/docs/project/changelog.rst

(From OE-Core rev: a5a9eb1f27790d6f9997378955ef6f09eedab406)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
0c9b4819b6 python3-pbr: upgrade 6.0.0 -> 6.1.0
0001-change-shebang-to-python3.patch
refreshed for 6.1.0

(From OE-Core rev: 14e7455069137ec8ef2866fa3160e92f86fc71d8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
79b4e699c3 python3-maturin: upgrade 1.7.0 -> 1.7.1
Changelog
=========
- Update clap_complete_command to v0.6.1
- Fix platform tags when cross-compiling universal2
- Fix Typo in Migration Guide
- Fix rust 1.80 clippy errors
- Don't check .gitignore files in parent directories
- Replace --skip-auditwheel with --auditwheel option
- Remove install_requires and setup_requires from setup.py
- Use modern stripping option
- Move project metadata from setup.py to pyproject.toml
- Update manylinux/musllinux policies to the latest main
- use just licenses as the license directory in a wheel
- Forward cargo package --list warnings
- Add current package context to source dist error
- Place source dist readmes next to Cargo.toml

(From OE-Core rev: 48e00b925648dc394bf3ba08324b333b44a5ec0b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
5a7fb59b09 python3-idna: upgrade 3.7 -> 3.8
Changelog:
==========
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions

(From OE-Core rev: 23075f8fd3144338cac1e3ad0b6b81d2376d2d4b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
1a39a1cd3d python3-certifi: upgrade 2024.7.4 -> 2024.8.30
(From OE-Core rev: 864b7b4affae0bf6a57cbdd2f2e4a07c1468705b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
1be4af3df2 libtool: 2.5.1 -> 2.5.2
(From OE-Core rev: 279e6f4eaa6e47cbd2640c7afe699cda2a796514)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Niko Mauno
4d53374ad2 dejagnu: Fix LICENSE
The contents of the COPYING file included in the current source code
package match those of GPL-3.0-only license, which seems to have been
the case since 2008 commit
http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h=9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9;hp=50fbdd118dba066e201c73a8b0155381cd65a32d
("* COPYING: Update to GPL version 3.")

(From OE-Core rev: 26b71cfb7815a096c5962629801cc3bc85147284)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-03 10:21:38 +01:00
Khem Raj
0c0e19a024 python: Backport fixes for CVE-2024-7592
(From OE-Core rev: 340867efbbf517393c12466d0490f96ef7c45642)

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>
2024-09-01 12:28:10 +01:00
Khem Raj
9ec017b0fd fmt: Get rid of std::copy
(From OE-Core rev: 9549d4aeb3dc1abb81fd6d01a340a2f99b69fdba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Trevor Gamblin
5a036fd745 python3-pyparsing: upgrade 3.1.2 -> 3.1.4
Changelog (https://github.com/pyparsing/pyparsing/releases):

3.1.4

- Fixed a regression introduced in pyparsing 3.1.3, addition of a type
  annotation that referenced re.Pattern. Since this type was introduced
  in Python 3.7, using this type definition broke Python 3.6 installs of
  pyparsing 3.1.3. PR submitted by Felix Fontein, nice work!

3.1.3

- Added new Tag ParserElement, for inserting metadata into the parsed
  results. This allows a parser to add metadata or annotations to the
  parsed tokens. The Tag element also accepts an optional value
  parameter, defaulting to True. See the new tag_metadata.py example in
  the examples directory.

    Example:

      # add tag indicating mood
      end_punc = "." | ("!" + Tag("enthusiastic")))
      greeting = "Hello" + Word(alphas) + end_punc

      result = greeting.parse_string("Hello World.")
      print(result.dump())

      result = greeting.parse_string("Hello World!")
      print(result.dump())

    prints:

      ['Hello', 'World', '.']

      ['Hello', 'World', '!']
      - enthusiastic: True

- Added example mongodb_query_expression.py, to convert human-readable
  infix query expressions (such as a==100 and b>=200) and transform them
  into the equivalent query argument for the pymongo package ({'$and':
  [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and
  inequality operators - see the docstring for the transform_query
  function for more examples.
- Fixed issue where PEP8 compatibility names for ParserElement static
  methods were not themselves defined as staticmethods. When called
  using a ParserElement instance, this resulted in a TypeError
  exception. Reported by eylenburg (#548).  To address a compatibility
  issue in RDFLib, added a property setter for the ParserElement.name
  property, to call ParserElement.set_name.  Modified
  ParserElement.set_name() to accept a None value, to clear the defined
  name and corresponding error message for a ParserElement.  Updated
  railroad diagram generation for ZeroOrMore and OneOrMore expressions
  with stop_on expressions, while investigating #558, reported by user
  Gu_f.  Added <META> tag to HTML generated for railroad diagrams to
  force UTF-8 encoding with older browsers, to better display Unicode
  parser characters.
- Fixed some cosmetics/bugs in railroad diagrams: fixed groups being
  shown even when show_groups=False show results names as quoted strings
  when show_results_names=True only use integer loop counter if
  repetition > 2
- Some type annotations added for parse action related methods, thanks
  August Karlstedt (#551).
- Added exception type to trace_parse_action exception output, while
  investigating SO question posted by medihack.
- Added set_name calls to internal expressions generated in
  infix_notation, for improved railroad diagramming.
- delta_time, lua_parser, decaf_parser, and roman_numerals examples
  cleaned up to use latest PEP8 names and add minor enhancements.
- Fixed bug (and corresponding test code) in delta_time example that did
  not handle weekday references in time expressions (like "Monday at
  4pm") when the weekday was the same as the current weekday.
- Minor performance speedup in trim_arity, to benefit any parsers using
  parse actions.
- Added early testing support for Python 3.13 with JIT enabled.

(From OE-Core rev: 320d54ab73071fd58667e672a3d5415fc8bd5e29)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Trevor Gamblin
1084027090 python3-hypothesis: upgrade 6.111.1 -> 6.111.2
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html)

6.111.2 - 2024-08-24
- This patch contains some internal code cleanup. There is no user-visible change.

(From OE-Core rev: 0c8b7df87ab5dca0618ddf5acdcd3e8eedc1163f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Yash Shinde
caa36ffb08 rust: Upgrade 1.78.0->1.79.0
Update the patch files with rust v1.79.0.

Drop the following backported patch which is merged
with rust v1.79 upgrade.

- cross-targets-backport.patch

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html

(From OE-Core rev: 0e20d8e0a292f720c9ed419547d8f6d738c5d4d8)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Yash Shinde
94a6eeda53 rust: Oe-selftest changes for rust v1.79
* Sort the exclude list in alphabetical order.

* Add some of the upsupported/failing tests to the exclude list
  and ignore the failing unit tests.

* Remove duplicated tests from the exclude list.

* Testing summary
    Target                PASS                    SKIPPED

    ARM                   17241                    599
    ARM64                 17279                    561
    MIPS64                17228                    612
    PPC                   17194                    629
    X86                   17257                    583
    X86-64                17416                    424

(From OE-Core rev: 61ec0f0f78d9db4c3fc02365713d5fd77b78a7ea)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Khem Raj
088d9fe6b7 gdb: Fix build with latest clang
This patch is already proposed upstream and perhaps landing
soon in gdb master.

(From OE-Core rev: 6721de5a049b245f274081b9b474e81761ea40fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
796ef498fa insane: Drop oe.qa.add_message usage
Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has
code allowing it to be optimised with contains usage.

The patch also drops unused return values which we stopped using a while ago
and drops the now unneeded function parameters, generally leading to cleaner
code.

The code should be functionally equivalent.

(From OE-Core rev: 9b2eea9fd4eab4f5e12e955738db22091b91f698)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Alexander Kanavin
e32f1ab748 mmc-utils: upgrade to latest revision
Add sphinx as a build dependency and set C= to avoid needing the 'sparse' utility.

(From OE-Core rev: 20f3fcdf26bb167d7a91b9cbf037bbeb69beb189)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
3060a76799 libdnf: upgrade 0.73.2 -> 0.73.3
(From OE-Core rev: c90628632e0e73de1883463a85e1629a5c6136a9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
5f6cfcf24e cargo-c-native: update 0.9.30 -> 0.10.3
(From OE-Core rev: 566b2fc345794773f3b4355077c5c981cdc697ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
cafda2bbf4 python3-scons: update 4.7.0 -> 4.8.0
Manpages are no longer installed, and so the patch isn't needed.

(From OE-Core rev: 267b3c0c155addf77370a6355b6fdbb004d66240)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
ac87a68897 python3-pyyaml: update 6.0.1 -> 6.0.2
With this release, cython 3.x is finally officially supported.

(From OE-Core rev: 4ea0c1eb42624ea142dd3d319d2bf750eb1af764)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
48c5cf7500 python3-pyopenssl: update 24.1.0 -> 24.2.1
(From OE-Core rev: d92205cddc27c154ad3b11ab265f8ad3633f0fa6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
78c9688fba python3-pip: 24.0 -> 24.2
License-update: formatting, newly added trustore is under MIT.

(From OE-Core rev: 8b4717f6ef03e33f37ebf90bea10ac04ee501064)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00