Commit Graph

2854 Commits

Author SHA1 Message Date
Ross Burton
782cb75ae9 python3-urllib3: remove rust dependency
python3-cryptography (and thus, rust-native) is only needed by the
urllib3.contrib.pyopenssl module, which is not recommended for use up
the urllib3 upstream maintainers:

  Module for using pyOpenSSL as a TLS backend. This module was relevant
  before the standard library ssl module supported SNI, but now that
  we've dropped support for Python 2.7 all relevant Python versions
  support SNI so **this module is no longer recommended**.

Add a PACKAGECONFIG to control whether this module is shipped, and
disable it by default.

This removes rust-native from the default build of urllib3, which is in
the dependencies of other common modules such as requests and sphinx.

(From OE-Core rev: 055d0928ad9451d3a9c8c74c6215a59023b1116e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Trevor Gamblin
36d387b541 python3-referencing: upgrade 0.36.2 -> 0.37.0
Changelog
(https://github.com/python-jsonschema/referencing/blob/main/docs/changes.rst):

- Declare support for Python 3.14.
- Drop support for Python 3.9 which is near EOL.

Reproducibility OK.

Builds OK. No ptests.

(From OE-Core rev: f97a45012d32a34e9353bb04a62a1041fb6cfaac)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Trevor Gamblin
2a43c92720 python3-hypothesis: upgrade 6.139.2 -> 6.142.2
Changelog: https://hypothesis.readthedocs.io/en/latest/changelog.html

Reproducibility OK.

ptests OK:

|============================================================================
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 0
|END: /usr/lib/python3-hypothesis/ptest
|2025-10-21T17:36
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: ee5399b45c3c0de52b8bcbbb6cd831d48fe2bbdc)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Trevor Gamblin
d950cfad31 python3-numpy: upgrade 2.3.3 -> 2.3.4
Reproducibility looks OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48977
|# PASS: 46513
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 119
|END: /usr/lib/python3-numpy/ptest
|2025-10-19T16:03
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.4):

The NumPy 2.3.4 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. This
release is based on Python 3.14.0 final.

Changes

- The npymath and npyrandom libraries now have a .lib rather than a .a
  file extension on win-arm64, for compatibility for building with MSVC
  and setuptools. Please note that using these static libraries is
  discouraged and for existing projects using it, it's best to use it
  with a matching compiler toolchain, which is clang-cl on Windows on
  Arm.

(From OE-Core rev: 4e8d533ccecf1310218ad5d36a7ec20ee5e0ccd4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
5428cad7d8 python3: upgrade 3.13.7 -> 3.13.9
Drop upstreamed patch and refresh remaining patches.

Release information:
* https://www.python.org/downloads/release/python-3138/
* 3.13.8 is the eighth maintenance release of 3.13, containing around
  200 bugfixes, build improvements and documentation changes since
  3.13.7.

* https://www.python.org/downloads/release/python-3139/
* This Python 3.13.9, a maintenance release for Python 3.13.
* 3.13.9 is an expedited release containing a fix for one specific
  regression in Python 3.13.8

(From OE-Core rev: 78d83ced968a46579cff8bfa0b4f462689c46c00)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Leon Anavi
454a237bb9 python3-idna: Upgrade 3.10 -> 3.11
Upgrade to release 3.11:

- Update to Unicode 16.0.0, including significant changes to UTS46
  processing. As a result of Unicode ending support for it,
  transitional processing no longer has an effect and returns the
  same result.
- Add support for Python 3.14, lowest supported version is
  Python 3.8.
- Various updates to packaging, including PEP 740 support.

License-Update: Update years

(From OE-Core rev: 8dcbbad9ad5f66cc39f1fc88517267c2e7ccb951)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Khem Raj
bb8aa3740f python3-lxml: upgrade 6.0.1 -> 6.0.2
(From OE-Core rev: 92cc860ee2b0339e1a0220448e8685de262905a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Trevor Gamblin
8d89093708 python3-dbusmock: upgrade 0.33.0 -> 0.37.0
Upstream notably removed the setup.cfg/setup.py files in this period and
updated pyproject.toml. It still uses setuptools as the build backend,
and should be compatible with recent versions.

Changelog (https://github.com/martinpitt/python-dbusmock/releases):

0.37.0:

- templates: Drop iio-sensors-proxy (See #241)
- DBusTestCase: Drop obsolete {start,stop}_dbus() methods
- Fix dbus-daemon startup race condition (Debian#1109272)

0.36.0:

- mockobject: Fix _wrap_in_dbus_variant for Struct and Dict types (thanks Sebastian Wick)
- Drop setup.{cfg,py} and RHEL 9 support, move to pybuild (rhbz#2377609)
- Drop iio-sensor-proxy tests, the template is broken (see #241)

0.35.0:

- modemmanager: Add operator code (thanks Guido Günther)
- modemmanager: Allow to set CellBroadcast channel list (thanks Guido Günther)

0.34.3:

- tests: Relax libnotify expected format for libnotify 0.8.4

0.34.2:

- spec: Adjust %autosetup to PEP-625 tarball top-level directory

0.34.1:

- spec: Adjust Source URL to PEP-625 tarball name

0.34.0:

- modemmanager: Add cell broadcast messages (thanks Guido Günther)
- Move release builds to pybuild for PEP-625 compatibility

(From OE-Core rev: 523001d3131eb5839162d44d296b65cbf0f6fd56)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
147695923f python3-pyparsing: upgrade 3.2.3 -> 3.2.4
Release notes (https://github.com/pyparsing/pyparsing/releases):

- Barring any catastrophic bugs in this release, this will be the last
  release in the 3.2.x line. The next release, 3.3.0, will begin
  emitting DeprecationWarnings when the pre-PEP8 methods are used (see
  header notes above for more information, including available
  automation for converting any existing code using pyparsing with the
  old names).
- Fixed bug when using a copy of a Word expression (either by using the
  explicit copy() method, or attaching a results name), and setting a
  new expression name, a raised ParseException still used the original
  expression name. Also affected Regex expressions with as_match or
  as_group_list = True. Reported by Waqas Ilyas, in Issue #612 - good
  catch!
- Fixed type annotation for replace_with, to accept Any type. Fixes
  Issue #602, reported by esquonk.
- Added locking around potential race condition in
  ParserElement.reset_cache, as well as other cache-related methods.
  Fixes Issue #604, reported by CarlosDescalziIM.
- Substantial update to docstrings and doc generation in preparation for
  3.3.0, great effort by FeRD, thanks!
- Notable addition by FeRD to convert docstring examples to work with
  doctest! This was long overdue, thanks so much!

(From OE-Core rev: f8e8ddcddf108f66203af28d5db08171b60499d3)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
b5440f4b69 python3-hypothesis: upgrade 6.138.15 -> 6.139.2
Changelog: (https://hypothesis.readthedocs.io/en/latest/changelog.html#changelog):

6.139.2:

- Internal refactoring for new lint rules.

6.139.1:

- Fixed another typo in error message around function-scoped fixtures.

6.139.0:

- Add get_current_profile_name(), which returns the name of the current settings profile.

6.138.17:

- Fixed typo in error message around function-scoped fixtures.

6.138.16:

- Improved error message for DeadlineExceeded.

Reproducibility OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 1
|END: /usr/lib/python3-hypothesis/ptest
|2025-09-19T15:53
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: 4f7daa9268353ee7f00d5d3e90996f069ea798c4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
48b08569a3 python3-trove-classifiers: upgrade 2025.9.8.13 -> 2025.9.11.17
Release notes (https://github.com/pypa/trove-classifiers/releases):

2025.9.11.17:

- Add support for Odoo 19.0 in classifiers (#225)

2025.9.9.12:

- Add classifier: Framework InvenTree (#223)

* Add classifier: Framework InvenTree

* fix style issue

(From OE-Core rev: 6db42ac0427548e1a5ed5a47a4d1931bb36cce2f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
51e75e216c python3-numpy: upgrade 2.3.2 -> 2.3.3
Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.3):

The NumPy 2.3.3 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. Note
that the 3.14.0 final is currently expected in Oct, 2025. This release is based
on 3.14.0rc2.

Reproducibility seems OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48954
|# PASS: 46490
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 169
|END: /usr/lib/python3-numpy/ptest
|2025-09-19T15:20
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: d92db41f718a79ffd3ed173a46c5567fa002e7a7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Hongxu Jia
52db4985e5 python3-cython: make generated source file be reproducible
While python3 module use cython to build library, the generated source file
is not stable at each build and made the generated library not be reproducible

This commit replaces un-predictable string with hardcode string in generated
source file to assure the generated library should be reproducible

(From OE-Core rev: 61d98d12eca1c7bdf3b7387a820c83d3b8fad965)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Haixiao Yan
f5adf527f2 buildtools-tarball: fix unbound variable issues under 'set -u'
When Bash runs with 'set -u' (nounset), accessing an unset variable
directly (e.g. [ -z "$SSL_CERT_FILE" ]) causes a fatal "unbound variable"
error. As a result, the fallback logic to set SSL_CERT_FILE/SSL_CERT_DIR
is never triggered and the script aborts.

The current code assumes these variables may be unset or empty, but does
not guard against 'set -u'. This breaks builds in stricter shell
environments or when users explicitly enable 'set -u'.

Fix this by using parameter expansion with a default value, e.g.
"${SSL_CERT_FILE:-}", so that unset variables are treated as empty
strings. This preserves the intended logic (respect host env first, then
CAFILE/CAPATH, then buildtools defaults) and makes the script robust
under 'set -u'.

(From OE-Core rev: 4d880c2eccd534133a2a4e6579d955605c0956ec)

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
0a114683a5 python3-pip: update 25.1.1 -> 25.2
License-update: drop typing extensions license as it has been removed from vendor directory.

(From OE-Core rev: 0e6bc0faf91bb06c581a1161f46b8806d18736e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
ab4f8bab2b python3-pbr: update 6.1.0 -> 7.0.1
Drop 0001-change-shebang-to-python3.patch
(the change is made only to tests which aren't installed,
and probably isn't necessary to begin with as upstream
would've fixed it already).

Merge .inc into .bb.

Switch away from setuptools3 as pyproject.toml now exists.

(From OE-Core rev: c64d44e48519816f319fb48ea067df6861ba6f71)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
5d7a1af68f python3-booleanpy: update 4.0 -> 5.0
pypi's inability to make up its mind regarding separators goes on
(and on and on).

(From OE-Core rev: 9ddb5e8e23ec4747f26713e1937878abd8d7fc60)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Wang Mingyu
dbc5fc46f9 python3-xmltodict: upgrade 0.14.2 -> 0.15.1
(From OE-Core rev: b8f9db8424ead13a628c02c82f4f7b56acd38356)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
85c9b40b96 python3-trove-classifiers: upgrade 2025.5.9.12 -> 2025.9.8.13
(From OE-Core rev: c90e5721f62451990423968338a75abb137dc1b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
156d105311 python3-ruamel-yaml: upgrade 0.18.14 -> 0.18.15
(From OE-Core rev: 1891d2352789393698b77ab7635e7a4825588c7c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
9bcade4c61 python3-pytest: upgrade 8.4.1 -> 8.4.2
(From OE-Core rev: 8787dad5fefdf946a7c05c8cd69a8f504e73320f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
669b7b6a4d python3-markdown: upgrade 3.8.2 -> 3.9
(From OE-Core rev: 1dad2cca384e50cbd6b6bca10d48210c70292f6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
93d60bcd50 python3-jsonschema: upgrade 4.25.0 -> 4.25.1
(From OE-Core rev: 35d381bb7e64afb47941550b20629dafe82bae63)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
e4a302b93f python3-jsonschema-specifications: upgrade 2025.4.1 -> 2025.9.1
(From OE-Core rev: 3ac88bcbeab0713370497c2c8ad95616f95c02c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
110c39b5de python3-hypothesis: upgrade 6.135.29 -> 6.138.15
(From OE-Core rev: 4bdcde64a74f2919c5b48c71bd6b7021a4ce871d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
8e7a6b5a43 python3-build: upgrade 1.2.2 -> 1.3.0
(From OE-Core rev: b6bd9f0d31519e05a6bfb4b964219cb0d7c1e439)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Khem Raj
b499241d85 python: Skip NODEV portion of test_makedev when linked to musl
backport the upstreamed patch which is available in 3.14+

(From OE-Core rev: 46e0b41cc78d77900286c198da81159e63c2cb63)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Khem Raj
f31114ee2e python3-pdm: Update 2.25.4 -> 2.25.9
- Add site-packages path to pdm info and print interpreter URL in
  pdm python install -v.
- Support explicit free-threaded Python selection via version suffix t.
- Multiple lockfile/pylock improvements and hash handling fixes.
- Windows path resolution fixes for uv; CLI help formatting preserved.
- Dependencies: require packaging>22.0; bump truststore to 0.10.4.
- Misc: fix AI coding fast apply error

(From OE-Core rev: 5d693522c3aedef8fcbe8ba7ca3b112262427a51)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Khem Raj
eee031d6ce python3-lxml: upgrading to 6.0.1
Bugs fixed

LP#2116333: lxml.sax._getNsTag() could fail with an exception on malformed input.

GH#467: Some test adaptations were made for libxml2 2.15. Patch by Nick Wellnhofer.

LP2119510, GH#473: A Python compatibility test was fixed for Python 3.14+. Patch by Lumír Balhar.

GH#471: Wheels for “riscv64” on recent Python versions were added. Patch by ffgan.

GH#469: The wheel build no longer requires the wheel package unconditionally. Patch by Miro Hrončok.

Binary wheels use the library version libxml2 2.14.5.

Windows binary wheels continue to use a security patched library version libxml2 2.11.9.

(From OE-Core rev: 4194aa5de0523070f98a82b5019ba8f94107a14f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
6dde49f9b9 python3-rpds-py: upgrade 0.27.0 -> 0.27.1
v0.27.1:
* Include attestations in published artifacts by @EpicWink in #160

Comparing Changes:
https://github.com/crate-py/rpds/compare/v0.27.0...v0.27.1

References:
https://github.com/crate-py/rpds/pull/160

(From OE-Core rev: aea7cc86baca60316931b11c547b66994111469b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
d939a48318 python3-requests: upgrade 2.32.4 -> 2.32.5
2.32.5 (2025-08-18)

* Bugfixes
  - The SSLContext caching feature originally introduced in 2.32.0 has
    created a new class of issues in Requests that have had negative
	impact across a number of use cases. The Requests team has decided
	to revert this feature as long term maintenance of it is proving to
	be unsustainable in its current iteration.

* Deprecations
  - Added support for Python 3.14.
  - Dropped support for Python 3.8 following its end of support.

https://requests.readthedocs.io/en/latest/community/updates/#release-history

Comparing Changes:
https://github.com/psf/requests/compare/v2.32.4...v2.32.5

(From OE-Core rev: c4c2313df6c63c26ee3e5d683a8c903050212754)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
5013e15d63 python3-typing-extensions: upgrade 4.14.1 -> 4.15.0
Release 4.15.0 (August 25, 2025)
* No user-facing changes since 4.15.0rc1.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-4150-august-25-2025

Release 4.15.0rc1 (August 18, 2025)
* Add the @typing_extensions.disjoint_base decorator, as specified in
  PEP 800. Patch by Jelle Zijlstra.
* Add typing_extensions.type_repr, a backport of annotationlib.type_repr,
  introduced in Python 3.14 (CPython PR #124551, originally by Jelle
  Zijlstra). Patch by Semyon Moroz.
* Fix behavior of type params in typing_extensions.evaluate_forward_ref.
  Backport of CPython PR #137227 by Jelle Zijlstra.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-4150rc1-august-18-2025

Comparing Changes:
https://github.com/python/typing_extensions/compare/4.14.1...4.15.0

(From OE-Core rev: d7c4f8f95de6b6f74eec055886d266e5379f40d3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
8fafd4fb03 python3-cryptography{-vectors}: upgrade to 45.0.7
45.0.7 - 2025-09-01

* Added a function to support an upcoming pyOpenSSL release.

https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4507---2025-09-01

Comparing Changes:
https://github.com/pyca/cryptography/compare/45.0.6...45.0.7

(From OE-Core rev: 00787e40527786d510a06d9a4dde5d8fb7ab7d90)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
102dc28052 python3-maturin: upgrade 1.9.3 -> 1.9.4
1.9.4:
* Add a use-base-python option to pyproject.toml with the same behaviour
  as MATURIN_PEP517_USE_BASE_PYTHON.
* Add builtin sysconfigs for GraalPy
* Fix calculation of platform tag for FreeBSD

https://github.com/PyO3/maturin/blob/main/Changelog.md#194

Comparing Changes:
https://github.com/PyO3/maturin/compare/v1.9.3...v1.9.4

(From OE-Core rev: 445a6a281f5101acc34b5779a6b67d7ada80c6e2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
ffed74363d python3-setuptools-rust: upgrade 1.11.1 -> 1.12.0
1.12.0 (2025-08-29)

* Set PYO3_BUILD_EXTENSION_MODULE environment variable when building
PyO3 extensions. #540

https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md#1120-2025-08-29

Reference:
https://github.com/PyO3/setuptools-rust/pull/540

Comparing Changes:
https://github.com/PyO3/setuptools-rust/compare/v1.11.1...v1.12.0

(From OE-Core rev: 05db2e8f5515198195de8acab37363bc53f9278f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Trevor Gamblin
218348be56 python3-numpy: upgrade 2.3.1 -> 2.3.2
Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.2):

|The NumPy 2.3.2 release is a patch release with a number of bug fixes
|and maintenance updates. The highlights are:
|
|    Wheels for Python 3.14.0rc1
|    PyPy updated to the latest stable release
|    OpenBLAS updated to 0.3.30
|
|This release supports Python versions 3.11-3.14

Reproducibility OK:

|2025-08-28 05:50:44,703 - oe-selftest - INFO - ----------------------------------------------------------------------
|2025-08-28 05:50:44,703 - oe-selftest - INFO - Ran 1 test in 1440.103s
|2025-08-28 05:50:44,703 - oe-selftest - INFO - OK
|2025-08-28 05:50:49,531 - oe-selftest - INFO - RESULTS:
|2025-08-28 05:50:49,531 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1400.47s)
|2025-08-28 05:50:49,724 - oe-selftest - INFO - SUMMARY:
|2025-08-28 05:50:49,724 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1440.103s
|2025-08-28 05:50:49,724 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

ptests OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48921
|# PASS: 46457
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 193
|END: /usr/lib/python3-numpy/ptest
|2025-08-28T09:14
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#

(From OE-Core rev: 457ed4e564cc4535694aea8faa55a992419be07c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Peter Marko
ec1ae11f78 recipes: cleanup CVE_STATUS which are resolved now
The don't show up in CVE metrics anymore since they were either fixed
upstream or recipe version was upgraded meanwhile.

* bind CVE-2019-6470: cpe got corrected in nvd db
* libxml2 CVE-2023-45322: version is now higher than NVD cpe
* zlib CVE-2023-45853: version is now higher than NVD cpe
* gcc CVE-2021-37322: version is now higher than NVD cpe
* python3
  * CVE-2007-4559: version is now higher than NVD cpe
  * CVE-2019-18348: version is now higher than NVD cpe
  * CVE-2020-15523: version is now higher than NVD cpe
  * CVE-2022-26488: version is now higher than NVD cpe
  * CVE-2015-20107: version is now higher than NVD cpe
  * CVE-2023-36632: version is now higher than NVD cpe
* rust
  * CVE-2024-24576: NVD has no cpe, but we have newer version as fix
  * CVE-2024-43402: version is now higher than NVD cpe
* cups CVE-2021-25317: version is now higher than NVD cpe
* ghostscript CVE-2023-38559: version is now higher than NVD cpe
* libtirpc CVE-2021-46828: version is now higher than NVD cpe
* unzip CVE-2008-0888: version is now higher than NVD cpe
* ffmpeg CVE-2023-39018: cpe got corrected in nvd db
* libxslt CVE-2022-29824: version is now higher than NVD cpe
* libyaml
  * CVE-2024-35325: CVE is now rejected in NVD DB
  * CVE-2024-35326: CVE is now rejected in NVD DB
  * CVE-2024-35328: CVE is now rejected in NVD DB

Also add comment for iputils regarding reports for FKIE/NVD2.

Also remove some trailing spaces in python recipe.

(From OE-Core rev: 73ee9789183aa95072af2b51ac9e08203f4e33f9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
ef86bd8979 python3-jsonschema: upgrade 4.24.0 -> 4.25.0
Changelog:
=========
- Add support for the iri and iri-reference formats to the format-nongpl

(From OE-Core rev: 875e622eaa318eecd8214c2481d431e6a88e8419)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
228346b043 python3-hatch-vcs: upgrade 0.4.0 -> 0.5.0
Changelog:
==========
- Drop support for Python 3.8
- Officially support Python 3.13
- Avoid a deprecation warning emitted by a dependency when using the tag-pattern option

(From OE-Core rev: bbc00f129553e3c9ccaca0a62afdbc22eb573590)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
27d9b0412c python3-dtschema: upgrade 2025.6.1 -> 2025.8
Changelog:
==========
- Add /chosen bootsource property
- Add /chosen KHO (for Linux kernel kexec) properties
- Extend wakeup-source property to define modes
- Add system level idle states
- Add '-db' property unit suffix

(From OE-Core rev: 77bc2f5c1dad9ed4d8a269c9cb3dc8f1c63a1d86)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
434aec2b9a python3-cython: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
- Some method calls with 0 or 1 argument failed to use ``PyObject_VectorCallMethod()``.
- Walrus assignments of literal Python integers could generate invalid C code.
  (Github issue :issue:`6989`)
- ``cython.pythread_type_lock`` (also used as fallback for ``cython.pymutex``)
  could stall on heavily contended locks.
  (Github issue :issue:`6999`)
- C string arrays (not pointers) always coerced to the Python default string type,
  even on explicit casts to other string types.
  (Github issue :issue:`7020`)
- Unterminated ``\N{}`` character escapes in strings could unrail the parser.
  (Github issue :issue:`7056`)
- An internal C function was not marked as ``static`` and leaked a linker symbol.
  (Github issue :issue:`6957`)
- Some Unicode letters were not recognised as lexically valid name parts.
  (Github issue :issue:`7059`)
- Compatibility with PyPy3.8 was lost by accident.
- The Linux binary wheels of 3.1.2 used SSSE3 CPU instructions which are not available on some CPUs.
  (Github issue :issue:`7038`)

(From OE-Core rev: 14c2006bce8861eaf2b65d5c71097e67d1af19cf)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
7e512323e9 python3-click: upgrade 8.2.1 -> 8.2.2
Changelog:
==========
- Fix reconciliation of default, flag_value and type parameters for
  flag options, as well as parsing and normalization of environment variables.
- Fix typing issue in BadParameter and MissingParameter exceptions for the
  parameter param_hint that did not allow for a sequence of string where the
  underlying functino _join_param_hints allows for it.
- Use the value of Enum choices to render their default value in help
  screen.
- Fix completion for the Z shell (zsh) for completion items containing
  colons.
- Don't include envvar in error hint when not configured.
- Fix a rare race in click.testing.StreamMixer's finalization that manifested
  as a ValueError on close in a multi-threaded test session.

(From OE-Core rev: 8a5a2fabac46df8ce22c6d645af6b278283c9c00)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Khem Raj
6471b9a898 python3: Address failing ptests on musl
Take a partial patch to disable portion of test_makedev, its also applied
in alpine. NODEV does not exist on musl

Add test_null_dlsym to ignore list on musl, it needs GNU ifunc support
and musl does not implement GNU ifuncs

fixes
Failed ptests:
{'python3': ['test_null_dlsym', 'test_makedev', 'python3']}

(From OE-Core rev: c197de49d6b406be5fc79b6e17c397c834efc1b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
0a8268ebd0 python3-rpds-py: Upgrade to 0.27.0
Allow packaging of wheels for riscv64 architecture

(From OE-Core rev: 56a32c0b0294d55e75ea54046fb1508f9ff17e4b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
efbba14b4d python3: Pass PLATFORM_TRIPLET explicitly when cross compiling
Do not rely on how python detects the platform triplet

We have been lucky to get it cross-compiling since our build hosts
are also using glibc, so the headers and gcc install locations match
and the values it detects are mostly what we will need for glibc
based targets, but when we use musl e.g. the problems show up where
python3 is not able to automitically discover python modules so any
python package having compiled .so modules fail to load.

Example is ptest failures with TCLIBC = "musl"
and running core-image-ptest-python3-rpds-py

This is revamp of patch [1], currently its working for glibc
based cross-compiling because we build on linux systems which are also
glibc based, but python on musl shows the problem.
When python was upgraded to 3.12 [2], this patch was wrongly dropped
and sadly regression went unnoticed, without this patch
Python's automatic module discovery does not work when it is cross-compiled
this is because it tries host tools and compiler installation during configure
to detect it. .so modules e.g. modulename.cpython-*.so are not seen as a result.

This is seen when running python3-rpds-py ptests where it should load
rpds.cpython-313-x86_64-linux-musl.so rpds.so but it does not and the module test
fail.

root@qemux86-64:/usr/lib/python3-rpds-py/ptest# python3 -c "
 import sysconfig
 import importlib.machinery
 print('Extension suffixes:', importlib.machinery.EXTENSION_SUFFIXES)
 print('Soabi:', sysconfig.get_config_var('SOABI'))
 print('Ext suffix:', sysconfig.get_config_var('EXT_SUFFIX'))
 print('Module suffix:', sysconfig.get_config_var('SO'))
 "
Extension suffixes: ['.cpython-313.so', '.abi3.so', '.so']
Soabi: cpython-313
Ext suffix: .cpython-313.so
Module suffix: None

And after fix it is.

root@qemux86-64:~# python3 -c "
 import sysconfig
 import importlib.machinery
 print('Extension suffixes:', importlib.machinery.EXTENSION_SUFFIXES)
 print('Soabi:', sysconfig.get_config_var('SOABI'))
 print('Ext suffix:', sysconfig.get_config_var('EXT_SUFFIX'))
 print('Module suffix:', sysconfig.get_config_var('SO'))
 "
Extension suffixes: ['.cpython-313-x86_64-linux-musl.so', '.abi3.so', '.so']
Soabi: cpython-313-x86_64-linux-musl
Ext suffix: .cpython-313-x86_64-linux-musl.so
Module suffix: None

[1] https://git.openembedded.org/openembedded-core/commit/?id=407744b00d702e3133304e1b43064a5634ca02cf
[2] https://git.openembedded.org/openembedded-core/commit/?id=716d82352545d3667a658b69d65d6127678dd150

(From OE-Core rev: 7bb157e48f5e5272db7506c7eb3118209dc3b35f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Alexander Kanavin
0c1cfdedd5 python3-coherent-licensed: fix upstream version check
(From OE-Core rev: f9235cef554a5fc9db474edea5fe13a78fc6b12f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Peter Marko
cfb073841d python3: upgrade 3.13.6 -> 3.13.7
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-7-final

Refresh patches via devtool.

(From OE-Core rev: dea1e3d080631d71150e4078a7cadcb1ef6f097a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Gyorgy Sarvari
605373567b python3-click: upgrade 8.1.8 -> 8.2.1
Some new tests use pytest's terminal reporter internally, which requires full
"cat" and "less", busybox isn't enough - RDEPENDS is adapted accordingly.

ptest passed:
====================================
Testsuite summary
 TOTAL: 761
 PASS: 739
 SKIP: 21
 XFAIL: 1
 FAIL: 0
 XPASS: 0
 ERROR: 0
DURATION: 2
END: /usr/lib/python3-click/ptest
2025-08-13T15:51
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog: https://click.palletsprojects.com/en/stable/changes/

(From OE-Core rev: 37edc3bbe87831ff08aec5d7c71f3edf92496ab0)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Khem Raj
e9e5247f44 python3-numpy: Skip running test_validate_transcendentals ptest
This test fails [1] with x86-64-v3, surfaces when we switch default
tune for qemux86-64 to be x86-64-v3 or newer

Test seems to compare exact floating point numbers but it might not be
precise enough and comparison may fail.

[1] https://github.com/numpy/numpy/issues/27460

(From OE-Core rev: aaf986bfa93b91a64cbf1c4e23b7fe961bdbb1f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Tim Orling
f8d9e4711a python3-zipp: upgrade 3.21.0 -> 3.23.0
* Add python3-coherent-licensed-native to DEPENDS

License-Update: add copyright year; update to match SPDX license text

v3.23.0
* Features
  - Add a compatibility shim for Python 3.13 and earlier. (#145)

v3.22.0
* Features
  - Backported simplified tests from python/cpython#123424. (#142)
* Bugfixes
  - Fixed .name, .stem, and other basename-based properties on Windows when
    working with a zipfile on disk. (#133)

https://github.com/jaraco/zipp/blob/main/NEWS.rst#v3230
https://github.com/jaraco/zipp/blob/main/NEWS.rst#v3220

Comparing changes:
https://github.com/jaraco/zipp/compare/v3.21.0...v3.23.0

(From OE-Core rev: f4f9a226ed779740d32998caf16f3310ab7dfaa4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00