Commit Graph

2813 Commits

Author SHA1 Message Date
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
Tim Orling
1e02ac3552 python3-coherent-licensed: add at 0.5.2
License management tooling for Coherent System and skeleton projects

https://pypi.org/project/coherent.licensed/
https://github.com/coherent-oss/coherent.licensed

*Dependency for latest python3-zipp
*Add self as maintainer

(From OE-Core rev: 7bcbf0350d7a4495043e5918ae62f03b0fb1eb01)

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
Peter Marko
5ca542cadf python3: Upgrade 3.13.5 -> 3.13.6
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-6-final

Handles CVE-2025-8194 and 4 other vulnerabilities without CVE numbers.

Refresh patches via devtool.

(From OE-Core rev: 55b31ad3cf221dc07ef0ef1bc50c02f7c2e628ef)

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-11 18:04:25 +01:00
Tim Orling
45c3732ab4 python3-certifi: upgrade 2025.7.9 -> 2025.8.3
2025.08.03:
https://github.com/certifi/python-certifi/pull/362
4c1bfa53ef

2025.07.14:
https://github.com/certifi/python-certifi/pull/359
1c50d2bb6a

Comparing changes:
https://github.com/certifi/python-certifi/compare/2025.07.09...2025.08.03

(From OE-Core rev: 6067498b14ca5d90640169384e51aa9cf5c1b8e2)

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-11 18:04:25 +01:00
Tim Orling
bcb744a1e2 python3-cryptography{-vectors}: upgrade to 45.0.6
* Refresh 0001-pyproject.toml-remove-benchmark-disable-option.patch

45.0.6 - 2025-08-05
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.2.

45.0.5 - 2025-07-02
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.1.

https://cryptography.io/en/latest/changelog/#v45-0-6
https://cryptography.io/en/latest/changelog/#v45-0-5

Comparing changes:
https://github.com/pyca/cryptography/compare/45.0.4...45.0.6

(From OE-Core rev: d2a6a7ef8b7149c9fc2cf497f33612720c1962b7)

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-11 18:04:25 +01:00
Tim Orling
c4231a8ffd python3-maturin: upgrade 1.9.1 -> 1.9.3
[1.9.3]
* Fix adding project.license-files to source distributions.
* Fix relative Readme rewrite of the root crate in source distributions.

[1.9.2]
* Fix PEP 639 implementation, use License-Expression over License.

https://www.maturin.rs/changelog.html#193
https://www.maturin.rs/changelog.html#192

Comparing changes:
bitbake -c update_crates python3-maturin

(From OE-Core rev: 2c38b0a24c38743a07d88f8cd2c04d502dd69248)

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-11 18:04:25 +01:00
Khem Raj
caf58debdd python3-numpy: Always use libgcc for unwinder on aarch64
With libgcc (working):

Result: inf
Warnings: ['overflow encountered in cast']

With compiler-rt (failing):

Result: inf (probably still correct)
Warnings: [] (no warnings generated)

The issue is likely that compiler-rt on AArch64 doesn't trigger
the floating-point exceptions that NumPy expects for overflow
detection in type casting operations.

(From OE-Core rev: a85f07858b7cf8353541cbe72e2b1a95982d06f3)

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-11 18:04:25 +01:00
Ross Burton
e8fc876ada python3-jsonschema: clean up dependencies
pyrsistent was replaced with rpds in 4.18.0.

zipp doesn't appear to have ever been a dependency, remove. Maybe it was
a transient dependency.

(From OE-Core rev: bc0565683fdc78df8ec58beb4872646c48274e5f)

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-08-07 12:11:16 +01:00
Ross Burton
c816ec83a2 python3-setuptools-scm: clean up dependencies
typing-extensions is only needed with Python <3.10 we have 3.13, remove.

pyparsing and pip are not dependencies, not sure why they're here so
remove.

(From OE-Core rev: 101f2f9f9bf4ea0211963792633dd3c68660132c)

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-08-07 12:11:16 +01:00
Wang Mingyu
a49fb701de python3-license-expression: upgrade 30.4.3 -> 30.4.4
(From OE-Core rev: 8a5bc8e1fcbb136433c2690908a92c2d3cb72840)

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-08-07 12:11:15 +01:00
Ross Burton
9814623387 python3-unittest-automake-output: upgrade to 0.3
The patch is merged in this upgrade, so remove.

(From OE-Core rev: 61e6a3b59fa4679a0259a92cc82554f59d3d7fd0)

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-08-07 12:11:15 +01:00
Ross Burton
8369e8c4c2 python3-build: simplifly native bootstrap
The pep517 class no longer called the "build" module directly, so we
can't play games with PYTHONPATH here.

However, the flit_core class has a bootstrap method so this recipe can
use that instead.

(From OE-Core rev: ae85c85b28fd01591ace2f48159cdc7fbc05a26a)

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-08-07 12:11:15 +01:00
Ross Burton
d464939140 python3-docutils: upgrade to 0.22
License-Update: the code that was ZPL-licensed has been removed[1].

Explicitly set a non-GPLv3 LICENSE on the output package as we don't
actually ship the GPLv3 file.

This fixes the incorrect hashbangs, so we can remove the manual seds.

(From OE-Core rev: b2a105d753310eda94ccf22ec89c276fd2b30dd9)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] https://sourceforge.net/p/docutils/code/9977/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
c18cd0263f python3-docutils: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: 95ab9d4f924bf5cd7ac0e8ac5086dafc90cdd938)

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-08-04 18:04:03 +01:00
Ross Burton
d3f9ec4092 python3-webcolors: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: 8f8e4c3e49254853e90080494f2a77b7bdb14921)

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-08-04 18:04:03 +01:00
Ross Burton
0473ffa836 python3-pyproject-metadata: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: a29434f87aac2e3e5cacffeac62cd130d9e410cc)

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-08-04 18:04:03 +01:00
Ross Burton
827bcd4b08 python3-pdm-build-locked: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: bfd94bb972e5a1a4054891694c1b4e674eeb2bb8)

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-08-04 18:04:03 +01:00
Ross Burton
6e1194dbc0 python3-pdm-backend: don't inherit python_setuptools_build_meta
This package uses itself to build as it is the build backend, so just
inherit python_pep517.

(From OE-Core rev: 183f6c87f955c5ec0223231fd4736f551c619f80)

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-08-04 18:04:03 +01:00
Ross Burton
dcbfa83f5c python3-pdm: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: 70510190463df42db0424d44ebf96d42f4ba4add)

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-08-04 18:04:03 +01:00
Ross Burton
c30b49a0fe python3-editables: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: d26a783ca320b99a7aa8278e00cf629897859f7f)

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-08-04 18:04:03 +01:00
Ross Burton
38f1709ac4 python3-cryptography-vectors: use correct build backend
This package uses flit, not setuptools.

Also there's no need for it to depend on python3-cryptography.

(From OE-Core rev: 926935eb872408da733103c1d632a901acfd6e69)

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-08-04 18:04:03 +01:00
Ross Burton
e765f015d4 python3-cryptography: add missing openssl DEPENDS
This package links to openssl, so add it to the dependencies explicitly.

(From OE-Core rev: 01e48ee4ade862c75cc73202b65842de940348ef)

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-08-04 18:04:03 +01:00
Liu Yiding
5579f90f5f python3-typing-extensions: upgrade 4.14.0 -> 4.14.1
Changelog:
==========
- Fix usage of typing_extensions.TypedDict nested inside other types
(e.g., typing.Type[typing_extensions.TypedDict]). This is not allowed by the
type system but worked on older versions, so we maintain support.

(From OE-Core rev: a92c8559ea91dc5b4a37e104715d32135341c7cb)

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-07-28 14:51:51 +01:00
Liu Yiding
8207c0107c python3-rpds-py: upgrade 0.25.1 -> 0.26.0
ptest ok:
============================================================================
 Testsuite summary
 # TOTAL: 116
 # PASS: 116
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0
 # ERROR: 0
 DURATION: 14
 END: /usr/lib/python3-rpds-py/ptest
 2025-07-22T09:57
 STOP: ptest-runner
 TOTAL: 1 FAIL: 0

Changelog:
===========
- Build CPython 3.14 wheels
- Require maturin>=1.9.0 to ensure support for PEP 639

(From OE-Core rev: bccaf039ce6b736ddb2bf5c3b20026f39a27f00f)

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-07-28 14:51:51 +01:00
Liu Yiding
e9a05a99de python3-maturin: upgrade 1.9.0 -> 1.9.1
Changelog:
==========
- Fix absolute license file path from Cargo.toml

(From OE-Core rev: 4f817e8eb8ae5ddbc182e13a6fea7bb9437ed144)

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-07-28 14:51:50 +01:00
Wang Mingyu
68e1468707 python3-pdm-backend: upgrade 2.4.4 -> 2.4.5
(From OE-Core rev: 76a1cdb0400806b19e4a912bff5f144abd786898)

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-07-17 10:41:18 +01:00
Wang Mingyu
12c1b99eb1 python3-hypothesis: upgrade 6.135.16 -> 6.135.29
(From OE-Core rev: fa2cdb90fc6e28532b0b368a0aa4c00748e19061)

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-07-17 10:41:18 +01:00
Wang Mingyu
1f4949949f python3-certifi: upgrade 2025.6.15 -> 2025.7.9
(From OE-Core rev: 99ce38d5ed6f27da5467d3053e80aefcd0184b37)

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-07-17 10:41:18 +01:00
Peter Marko
1eea8922a7 python3: update CVE product
There are two "new" CVEs reported for python3, their CPEs are:
* CVE-2020-1171: cpe:2.3🅰️microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
* CVE-2020-1192: cpe:2.3🅰️microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
These are for "Visual Studio Code Python extension".

Solve this by addding CVE vendor to python CVE product to avoid
confusion with Microsoft as vendor.

Examining CVE DB for historical python entries shows:
sqlite> select vendor, product, count(*) from products where product = 'python' or product = 'cpython'
   ...> or product like 'python%3' group by vendor, product;
microsoft|python|2
python|python|1054
python_software_foundation|python|2

Note that this already shows that cpython product is not used, so
CVE-2023-33595 mentioned in 62598e1138f21a16d8b1cdd1cfe902aeed854c5c
was updated.
But let's keep it for future in case new CVE starts with that again.

(From OE-Core rev: 446df2e29495e615dd6d95b158dd37363830cd3e)

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-07-14 17:49:48 +01:00
Khem Raj
b92f52ef27 python3-pdm: Upgrade to 2.25.4
* Add credentials when passing source urls to uv resolver. (#3553)
* Redact credentials in source urls in the log output, and inject credentials into the source url for uv sync command as well. (#3555)
* Fix a bug that extra dependencies of transitive dependencies are not properly installed when USE_UV=true (#3558)
* Improve the terminal output when setting up a script environment. (#3560)
* Skip non-existent library paths in post-install steps when trying to fix the pth files. (#3561)

(From OE-Core rev: 5f203da704bb76d0521e274bea9499db15f62d8d)

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-07-10 10:47:31 +01:00
Wang Mingyu
eef530b574 python3-lxml: upgrade 5.4.0 -> 6.0.0
(From OE-Core rev: c96f8b1a8f5134def0f765bc1320771c6140cccd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
940f1fdca2 python3-license-expression: upgrade 30.4.1 -> 30.4.3
Changelog:
=============
- Fix missing release wheels
- Fix typo in README.rst for SPDX license list version
- Fix LicenseWithExceptionSymbol missing Expression class variables
- Depcreated licenses are loaded by default.

(From OE-Core rev: 10e7563b49bafb6c496de40435d12a676c9a2632)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
8297100647 python3-hypothesis: upgrade 6.135.9 -> 6.135.16
(From OE-Core rev: 2fc7c4917c33c84573e842f847d1df725e09d9cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
e6bfb24794 python3-pygments: upgrade 2.19.1 -> 2.19.2
Changelog:
  Lua: Fix regression introduced in 2.19.0

(From OE-Core rev: 822abe77e502ce71bb135e49696c6bdaea0c73da)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
0ca584c65c python3-pdm: upgrade 2.25.1 -> 2.25.3
Changelog:
=============
- Fix a bug that local file package metadata was missing when reading the lockfile.
- Extract dependency-groups and extras markers from marker value when parsing pylock.toml.

(From OE-Core rev: 81bdaa7dca8715d94f230b3698f519743765210e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
a582230cf9 python3-numpy: upgrade 2.3.0 -> 2.3.1
(From OE-Core rev: 3d708d283303aec17785e56d03e7e8884fb9c061)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
21cdff400c python3-markdown: upgrade 3.8 -> 3.8.2
Changelog:
============
- Fix codecs deprecation in Python 3.14.
- Fix issue with unclosed comment parsing in Python 3.14.
- Fix issue with unclosed declarations in Python 3.14.
- Fix issue with unclosed HTML tag < foo and Python 3.14.
- Ensure incomplete markup declaration in raw HTML doesn't crash parser (#1534).
- Fixed dropped content in md_in_html (#1526).
- Fixed HTML handling corner case that prevented some content from not being rendered

(From OE-Core rev: 665b9720b0f5630090f0345abf6b49a3eda77608)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Tim Orling
99d0842f16 python3-wheel: upgrade 0.45.1 -> 0.46.1; add ptest
* Add python3-packaging to RDEPENDS
* Enable ptest:
  - Add to ptest-packagelists.inc PTESTS_FAST
  - inherit ptest-python-pytest
  - Add python3-setuptools to ptest RDEPENDS
  - One test is skipped, but it requires the "full" python3-flit,
    not just python3-flit-core.

Comparing changes since 0.45.1:
https://github.com/pypa/wheel/compare/0.45.1...0.46.1

Release notes [1]:

0.46.1 (2025-04-08)
* Temporarily restored the wheel.macosx_libfile module (#659)

0.46.0 (2025-04-03)
* Dropped support for Python 3.8
* Removed the bdist_wheel setuptools command implementation and entry
  point. The wheel.bdist_wheel module is now just an alias to
  setuptools.command.bdist_wheel, emitting a deprecation warning on import.
* Removed vendored packaging in favor of a run-time dependency on it
* Made the wheel.metadata module private (with a deprecation warning if
  it’s imported
* Made the wheel.cli package private (no deprecation warning)
* Fixed an exception when calling the convert command with an empty
  description field

[1] https://wheel.readthedocs.io/en/stable/news.html

(From OE-Core rev: 610ca66283b6a440a1cde4c26945392ed15ac3e0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Antonin Godard
d63c1d406f python3-sphinx-copybutton: add recipe
The sphinx-copybutton extension can be used to add a copy button to code
blocks in the documentation.

(From OE-Core rev: ebf14a6dc1a5fd041f4df4fd8c6f28da9d15c8f6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Antonin Godard
8a2e01564b python3-sphinx-argparse: add recipe
This Sphinx extension can be used to autogenerate documentation for any
python module returning an argument parser from argparse. It can used in
places of the documentation where the --help output is currently
hardcoded, and generate formatted documentation instead.

(From OE-Core rev: 84d1a347195a3cd702468b01a71e787c3e007488)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Yogita Urade
adf4e0facb python3-urllib3: upgrade 2.4.0 -> 2.5.0
Includes fix for CVE-2025-50181 and CVE-2025-50182

Changelog:
https://urllib3.readthedocs.io/en/stable/changelog.html#id1
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#250-2025-06-18

(From OE-Core rev: 4bd2fbd3f0e44f42b0abc6e32348aa915d98b87b)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Trevor Gamblin
33d128592f python3-smartypants: upgrade 2.0.0 -> 2.0.2
Changelog (https://github.com/justinmayer/smartypants.py/blob/main/CHANGES.rst#releases-20-and-greater):

Release 2.0.2 (2025-06-17)

- Fix double closing quotes after an HTML block
- Fix regular expressions and tests for Python 3.12+
- Move documentation to ReadTheDocs

Release 2.0.1 (2017-12-20)

- use re.match instead of re.search to improve performance on large strings

The patch '0001-Change-hash-bang-to-python3.patch' needed a refresh to
apply on the latest version.

License-Update: Update and granularize copyright years

(From OE-Core rev: ebb83ce10fecd1a4378a238191f1e012f0c849b7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00