Commit Graph

2666 Commits

Author SHA1 Message Date
Wang Mingyu
d6969fa35d python3-hypothesis: upgrade 6.119.4 -> 6.122.6
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 977b564a33fed2d47b02047ad2d6c1ce13c6d10a)

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>
2024-12-24 13:49:28 +00:00
Wang Mingyu
497065ad06 python3-hatchling: upgrade 1.26.3 -> 1.27.0
Changelog:
 Update the default version of core metadata to 2.4

(From OE-Core rev: 73b7dcc52ec50e6ae257e96e11d3cae93083a979)

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>
2024-12-24 13:49:27 +00:00
Wang Mingyu
004e9fa46f python3-dbusmock: upgrade 0.32.2 -> 0.33.0
Changelog:
===========
- templates: Add gsd-rfkill
- Allow adding objects derived from DBusMockObject
- Drop Python <= 3.7 support

(From OE-Core rev: ac53cb49a82440de65184678ba82d00afae803d4)

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>
2024-12-24 13:49:27 +00:00
Wang Mingyu
cc6dc3db94 python3-certifi: upgrade 2024.8.30 -> 2024.12.14
(From OE-Core rev: bc24b0e7b647a655a0e34d446aa867e8b6a445e4)

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>
2024-12-24 13:49:27 +00:00
Alexander Kanavin
409256a2df python3-cryptography-vectors: correct upstream version check
(From OE-Core rev: 8240a1fde29f6cc9a86833d5289e9607d6421741)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Richard Purdie
e16e725fb5 Revert "python3-numpy: upgrade 2.1.3 -> 2.2.0"
This reverts commit ff93068be3dd1993675dd016fd6b5e98ccb262bf.

Sadly this upgrade does pass reproducible build tests:
http://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20241217-q6urkm0e/packages/diff-html/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:53:15 +00:00
Trevor Gamblin
48b0c58b34 python3-numpy: upgrade 2.1.3 -> 2.2.0
Patch '0001-numpy-core-Define-RISCV-32-support.patch' is included in
v2.2.0, so remove it from the SRC_URI list:

|tgamblin@megalith ~/workspace/git/pythonsrc/numpy (main)$ git tag --contains 0e2b652a0eff85798584116c905a2d6ad8f25d5f
|v2.2.0

Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.0

Build log:

|BUILDALL-QEMU LOG FOR python3-numpy
|START TIME: 2024-12-13_16:55:19
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-amd64
|===============
|BUILD RESULTS:
|[glibc]
|FAIL: qemuloongarch64
|PASS: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|[musl]
|FAIL: qemuloongarch64
|FAIL: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|===============
|PASSED: 21
|FAILED: 3

(From OE-Core rev: ff93068be3dd1993675dd016fd6b5e98ccb262bf)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Derek Straka
7dcc37c329 python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Guðni Már Gilbert
87d7341465 python3-iniparse: remove recipe
There are no consumers of this recipe in openembedded-core or in meta-openembedded.

The last consumer was dnf:
https://git.openembedded.org/openembedded-core/commit/?id=05220b4907ab654e829d97ab68d48f76330937dd

(From OE-Core rev: 5915e70469fa53600dd8926ddafcb5459df1a32c)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-09 15:23:28 +00:00
Alexander Kanavin
75d5ff281a python3-maturin: update 1.7.1 -> 1.7.4
(From OE-Core rev: d3e61ba2a73894e72b6a85f96df92fc33e97b0bb)

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>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
91051f1a34 python3-markdown: update 3.6 -> 3.7
(From OE-Core rev: 68f5e7215073776ea01512fa4c41534b57840681)

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>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
fb8586d139 python3-dtc: update 1.7.0 -> 1.7.2
Remove patch, as it is a leftover from meta-virtualization times
where python3-dtc was ahead of dtc in oe-core and had to be tweaked.

(From OE-Core rev: 0706f0e3a60713bffad219c0658b15020010eb5e)

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>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
8710268bc9 python3-beartype: upgrade 0.18.5 -> 0.19.0
Change backend to hatchling.

(From OE-Core rev: 95f3b7315db80731eaf8a9700d1104fe4ea4f98e)

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>
2024-12-05 17:07:10 +00:00
Ross Burton
6180bac513 python3-hatchling: upgrade 1.25.0 -> 1.26.3
1.26.3:
- Support an old import path that is still used by some consumers like
  Hatch

1.26.2:
- Back-populate string license fields (License-Expression) for core
  metadata versions prior to 2.4
- Remove the License-Expression and License-Files core metadata from
  version 2.2 that was missed in the previous minor release

1.26.1:
- Add backward compatibility for the old license-files metadata field
- Support an old import path that is still used by some consumers like
  Hatch

1.26.0:
- The license-files metadata field has been updated to the latest spec
  and is now just an array of glob patterns
- Support version 2.4 of core metadata for the wheel and sdist targets
- Add HATCH_METADATA_CLASSIFIERS_NO_VERIFY environment variable to
  disable trove classifier verification
- Add .pixi to the list of directories that cannot be traversed
- Bump the minimum supported version of packaging to 24.2
- No longer write package metadata for license expressions and files for
  versions of core metadata prior to 2.4
- Properly enable Zip64 support for the wheel target
- Properly ignore parent .gitingore files when the project root matches
  one of the patterns

(From OE-Core rev: 2c09f03e62f96016c2a3713362f83a7591bd0f9b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Guðni Már Gilbert
b15fc7cdf9 python3-urllib3: upgrade 2.2.2 -> 2.2.3
* The package now requires python3-hatch-vcs-native at build-time
* Updated HOMEPAGE to point to the correct Github repository. The old link re-directs to the same link.

2.2.3 (2024-09-12)
==================
Features
--------
- Added support for Python 3.13.

Bugfixes
--------
- Fixed the default encoding of chunked request bodies to be UTF-8 instead of ISO-8859-1. All other methods of supplying a request body already use UTF-8 starting in urllib3 v2.0.
- Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting https://github.com/python/cpython/issues/103472
- Adjust tolerance for floating-point comparison on Windows to avoid flakiness in CI
- Fixed a crash where certain standard library hash functions were absent in restricted environments.
- Fixed mypy error when adding to ``HTTPConnection.default_socket_options``.

HTTP/2 (experimental)
---------------------
See details: https://github.com/urllib3/urllib3/releases/tag/2.2.3

Deprecations and Removals
-------------------------
- Note for downstream distributors: the ``_version.py`` file has been removed and is now created at build time by hatch-vcs.
- Drop support for end-of-life PyPy3.8 and PyPy3.9

(From OE-Core rev: 61331e291a2f96c7ac7efccd7d95de68432ea992)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Guðni Már Gilbert
9186568018 python3-poetry-core: drop python3-six from RDEPENDS
Looking at the history, python3-six was removed as a dependency
in the poetry.lock file in v1.5.2

Even before v1.5.2 and until now (v1.9.1) there is no code in
the package which imports the six module. So it can be safely
dropped from the recipe.

(From OE-Core rev: 1ed30cd9426e1f8a6caf31277f0349343a06f2d4)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Peter Marko
cdea0085a3 python: backport patches to support openssl 3.4.0
https://github.com/python/cpython/pull/127331
https://github.com/python/cpython/pull/127361

(From OE-Core rev: e5f3a1793e34fb4cd1e53ca60b67f9a9f084b7a6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Dan McGregor
3abce65a79 python3: package tkinter's shared objects
Seems every time python is updated this gets removed. That's likely
because the tk option can't be enabled in python3-native without
creating a dependency loop.

Instead of manually editing the manifest every time, explicitly
add it in the recipe as suggested by Alexander Kanavin.

(From OE-Core rev: d2e82fc12509950ea30fa20fcbe9fc148b6cff1c)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:11 +00:00
Dan McGregor
f2f1782258 python3: do not overwrite FILES contents
Instead of relying completely on the python packaging manifest,
allow some default values. This is useful for the edge cases that
can't be found automatically by the create_manifest step.

In particular, tkinter can't be built for python3-native, so its
consistently missed in manifest updates.

(From OE-Core rev: cc5ec75b50618ce42d5b19d0aad0b44611bf8fbe)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:11 +00:00
Ross Burton
5d302b7611 python3-flit-core: upgrade 3.9.0 -> 3.10.1
Summary of changes:
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable.
- The metadata in packages now has the names of optional dependency groups
  ("extras") normalised, complying with version 2.3 of the metadata standard.
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files.
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by
  ``flit_core.buildapi``. It's a good idea to always set a maximum
  version for the build requirement, to protect against changes in
  future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``.
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels.

Remove the -tests package, as the tests are no longer installed.

(From OE-Core rev: 102e3524361d7d07f0dee09b1b12346b1184268f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Trevor Gamblin
0b62506411 python3-numpy: inherit pkgconfig
This was supposed to be added in oe-core commit fd656aaf7fbe
("python3-numpy: upgrade 1.26.4 -> 2.1.3"), but it somehow got missed in
the final version of that patch. Add it now to fix possible do_compile
errors on some systems, due to host paths sneaking into the meson build
options, e.g.:

| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: x86_64
| Host machine cpu: x86_64
| Target machine cpu family: x86_64
| Target machine cpu: x86_64
| Program python3 found: YES (/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot-native/usr/bin/nativepython3)
| Did not find pkg-config by name 'pkg-config'
| Found pkg-config: NO
| Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
|
| ../numpy-2.1.3/meson.build:41:12: ERROR: Python dependency not found
|
| A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/build/meson-logs/meson-log.txt

and notably (meson-log.txt snippet):

|x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot -I/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13 -I/usr/include/python3.13

A bug has been filed about this and the related gcc issue: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15672

With pkgconfig on the inherit line, all include directives in
meson-log.txt end up looking something like:

|-I/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13

(From OE-Core rev: b8503a2c5000262a400375321de75161357111fb)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Guðni Már Gilbert
a0ce6ada45 python3-isodate: move to meta-python
python3-rdflib was the last consumer of this recipe in oe-core.

(From OE-Core rev: 72cc499429b0869385223ba21fe03849c6145b89)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Guðni Már Gilbert
b0f1780cf1 python3-rdflib: drop python3-isodate from RDEPENDS
On Python 3.11+, the built-in datetime module is used instead.
This change was made in v7.1.0 release.

See PR 2929: https://github.com/RDFLib/rdflib/blob/main/CHANGELOG.md#2024-10-17-release-710

(From OE-Core rev: 70cb0adf3612fb15b6b2723c0af6ba1467d210b5)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Wang Mingyu
b248920619 python3-wheel: upgrade 0.45.0 -> 0.45.1
Changelog:
==========
Fixed pure Python wheels converted from eggs and wininst files having the ABI tag in the file name

(From OE-Core rev: 06fcf1f8ae763eee996294e8636aedbdbf388491)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
46762a6801 python3-websockets: upgrade 14.0 -> 14.1
Changelog:
============
- Supported max_queue=None in the asyncio and threading implementations for
  consistency with the legacy implementation, even though this is never a good idea.
- Added close_code and close_reason attributes in the asyncio and threading
  implementations for consistency with the legacy implementation.
- Once the connection is closed, messages previously received and buffered can
  be read in the asyncio and threading implementations, just like in the legacy implementation.

(From OE-Core rev: b36742c5153873832fbf5fb1788d5c333286a583)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
765ce5d589 python3-hypothesis: upgrade 6.118.6 -> 6.119.4
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 9147a13733ada0c84424f5e5aeee089244d56c35)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
aacfc8bf7c python3-bcrypt: upgrade 4.2.0 -> 4.2.1
(From OE-Core rev: dd2c763e7271cdc1526c657e54f4ec97aad9d621)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Alexander Kanavin
06a153e4e3 python3-zipp: upgrade 3.20.2 -> 3.21.0
(From OE-Core rev: 5543d9be61a4529da96a889e3319cbbf9cfb12ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
fbc19d62f1 python3-xmltodict: upgrade 0.13.0 -> 0.14.2
(From OE-Core rev: d1ea614da5016501c514d1a92581659507b5370b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
2ca96061c2 python3-sphinx-rtd-theme: upgrade 3.0.0 -> 3.0.2
(From OE-Core rev: 6a9a99192205937d2e3845514aed3f924dc5ce12)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
15e3646887 python3-psutil: upgrade 6.0.0 -> 6.1.0
(From OE-Core rev: 6e5bcb05f3a1d5a34bcb2bc8da4a8d3e9b160ca0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
25c94a0b48 python3-poetry-core: upgrade 1.9.0 -> 1.9.1
(From OE-Core rev: 7b95e9618ca921116a115b952d3222e5de6faf97)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
d6ad05173c python3-jsonschema-specifications: upgrade 2023.12.1 -> 2024.10.1
(From OE-Core rev: a4c4d70a406c7cbfc86d6cf2844f23c9e8569c73)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
5834db777f python3-dtschema: upgrade 2024.9 -> 2024.11
(From OE-Core rev: f65a2a2fc8cf84086328d5609758b2b1bda6af4f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
e7c6cf30de python3-cryptography(-vectors): upgrade 43.0.1 -> 43.0.3, ensure lockstep upgrades
(From OE-Core rev: 7a39814530cc0d6bfdd90382ad918c24aa345a0a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Jörg Sommer
509316876f python3-ctypes: depend on ldconfig only if distro-feature set
In the source code is only usage of ldconfig (for Linux) in
Lib/ctypes/util.py:301. This is wrapped in try-execpt which causes
_findSoname_ldconfig return Nothing. This is handled properly in
find_library and other methods to find the library a tried.

So, the code can handle the case of a missing /sbin/ldconfig (BTW:
hard-coded path). When DISTRO_FEATURES does not contain ldconfig some other
services (Systemd) to setup and maintain the ldconfig.cache are not
installed. Hence, this ldconfig pulled in by the ctype dependency is of no
use.

Therefore, do not set the dependency on ldconfig, if the distro-feature is
not set.

(From OE-Core rev: 7394c006bffab2f41965d87c8083647621a67f50)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Trevor Gamblin
86cd39e304 python3-setuptools: upgrade 72.1.0 -> 75.6.0
Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

0001-conditionally-do-not-fetch-code-by-easy_install.patch had to be
adjusted to apply on top of 75.6.0.

(From OE-Core rev: 6d7e621ef133d625e8405c74a9dba712b8692064)

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>
2024-11-22 16:58:40 +00:00
Trevor Gamblin
ea8594d4a0 python3-numpy: upgrade 1.26.4 -> 2.1.3
- This release contains numerous API changes and bug fixes.
  Changelog: https://github.com/numpy/numpy/releases

- Notably, the build backend has switched to mesonpy since 1.26.4.

- Patch 0001-numpy-core-Define-RISCV-32-support.patch had to be updated
  to change the paths for the target files. It has now been merged
  upstream, but isn't included in any release yet. PR for reference:

  https://github.com/numpy/numpy/pull/17780

- Builds OK and seems to be compatible with current piglit and pandas
  (meta-python), which was not the case for the previous upgrade attempt
  to numpy 2.0.1.

- For numpy, add 'pkgconfig' to inherit to avoid errors like this at
  do_compile:

  | Found Pkg-config: NO
  | Run-time dependency python found: YES 3.12
  | Has header "Python.h" with dependency python: NO
  |
  | ../numpy-2.0.0/meson.build:44:2: ERROR: Problem encountered: Cannot compile `Python.h`. Perhaps you need to install python-dev|python-devel
  |
  | A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/2.0.0/build/meson-logs/meson-log.txt

- Mmodify the FILES:${PN}-staticdev line to fix a QA issue.

- This is now reproducible as of oe-core commit: 917df5ed022f

License-Update: Change copyright year to 2024

buildall-qemu log:

BUILDALL-QEMU LOG FOR python3-numpy
START TIME: 2024-11-20_14:02:08
HOSTNAME: megalith
HOST OS: Debian GNU/Linux 12 (bookworm)
HOST KERNEL: 6.1.0-27-amd64
===============
BUILD RESULTS:
[glibc]
FAIL: qemuloongarch64
PASS: qemuriscv32
PASS: qemuarmv5
PASS: qemuppc
PASS: qemumips64
PASS: qemuriscv64
PASS: qemuarm64
PASS: qemuarm
PASS: qemux86-64
PASS: qemuppc64
PASS: qemux86
PASS: qemumips
[musl]
FAIL: qemuloongarch64
FAIL: qemuriscv32
PASS: qemuarmv5
PASS: qemuppc
PASS: qemumips64
PASS: qemuriscv64
PASS: qemuarm64
PASS: qemuarm
PASS: qemux86-64
PASS: qemuppc64
PASS: qemux86
PASS: qemumips
===============
PASSED: 21
FAILED: 3

(From OE-Core rev: fd656aaf7fbed3115e3b4251ff76257ee8f19c82)

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>
2024-11-22 16:58:40 +00:00
Trevor Gamblin
edfab1a3ce python3-meson-python: upgrade 0.16.0 -> 0.17.1
Changelog (https://mesonbuild.com/meson-python/changelog.html):

0.17.1

    - Update tests to work with newly released pyproject-metadata 0.9.0.
      Fix tests to work when not executed in a git work tree.

Daniele Nicolodi — 23-10-2024.

0.17.0

    - Refuse to build wheels targeting the limited API and free-threaded
      CPython: the free-threaded CPython build does not support the
      limited API yet.
    - Always use UTF-8 encoding for writing Meson native and cross
      files. Always use UTF-8 encoding for reading read Meson
      introspection data and pyproject.toml.
    - Do not include uncommitted changes when creating source
      distributions. Previously, uncommitted changes to files under
      version control were included, but not untracked files. There was
      no strong use case for this behavior and it was too surprising to
      keep it.
    - Make source distribution reproducible: use the modification time
      of pyproject.toml for the generated files in the source
      distribution archives.
    - Disable the abi3 wheel tag for PyPy when building wheels targeting
      the limited API: PyPy supports the limited API but not the stable
      ABI.
    - Raise ImportError when the package rebuild fails when importing an
      editable install.
    - Fix the wheel platform tag for GraalPy.
    - Add .gitignore and .hgignore files to build directory if it is
      empty.
    - Allow install_subdir() of missing directories.

Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc
Estève, Michael Simacek, Ralf Gommers, Simon McVittie — 19-10-2024.

(From OE-Core rev: 27a818f8e7d7abafea48cf84baaaf510916f6c86)

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>
2024-11-22 16:58:40 +00:00
Ross Burton
6ec17dc5f4 python3-cryptography-vectors: don't remove RECORD
We remove this file in the python_pep517 class now, so we don't need to
do it here.

(From OE-Core rev: 717b9e08d6a19ee31a217ceeb255aaed6a395de4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-21 12:16:28 +00:00
Ross Burton
177db2d9f6 cython: swap prefix-mapping patch for an upstream commit
Upstream has solved the absolute path problem differently by taking
paths relative to the top of the module.  This appears to solve the
problem, at least I've not found any cases where it breaks.

Drop my patch, and backport the relevant commit from upstream.

(From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-21 12:16:28 +00:00
Wang Mingyu
c144bca2b4 python3-wheel: upgrade 0.44.0 -> 0.45.0
Changelog:
===========
- Refactored the convert command to not need setuptools to be installed
- Don't configure setuptools logging unless running bdist_wheel
- Added a redirection from wheel.bdist_wheel.bdist_wheel to
  setuptools.command.bdist_wheel.bdist_wheel to improve compatibility with
  setuptools' latest fixes.

(From OE-Core rev: deba45d6d23aae40573b51e16716918f7841ef51)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
7d12f58f73 python3-websockets: upgrade 13.1 -> 14.0
Changelog:
 https://websockets.readthedocs.io/en/stable/project/changelog.html

(From OE-Core rev: aaafdc7a252540376c5a352a0c0650fc4d3ae5fe)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
1f2f5d57ad python3-rpds-py: upgrade 0.20.0 -> 0.21.0
Changelog:
 bump pyO3 to 0.22.6

(From OE-Core rev: 278ec90488c057b37927be874a33c609c14c3494)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
80b8a638e8 python3-pyproject-metadata: upgrade 0.8.1 -> 0.9.0
Changelog:
https://pep621.readthedocs.io/en/stable/changelog.html

(From OE-Core rev: a0eb3bb4e7db70bb94c438ae2129421a1fcadb3c)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
f5eafb4ed1 python3-pip: upgrade 24.2 -> 24.3.1
no_shebang_mangling.patch
refreshed for 24.3.1

Changelog:
=========
- Deprecate wheel filenames that are not compliant with PEP 440.
- Detect recursively referencing requirements files and help users identify the source.
- Support for PEP 730 iOS wheels.
- Display a better error message when an already installed package has an invalid requirement
- Ignore PIP_TARGET and pip.conf global.target when preparing a build environment.
- Restore support for macOS 10.12 and older (via truststore).
- Allow installing pip in editable mode in a virtual environment on Windows.
- Upgrade certifi to 2024.8.30
- Upgrade distlib to 0.3.9
- Upgrade truststore to 0.10.0
- Upgrade urllib3 to 1.26.20
- Allow multiple nested inclusions of the same requirements file again.

(From OE-Core rev: 0ee321a8080226347116e9beeb66e1f00436cb22)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
3bf6d48f9a python3-packaging: upgrade 24.1 -> 24.2
Changelog:
==========
- The source is auto-formatted with ruff, not black
- Bump the github-actions group across 1 directory with 3 updates
- Apply ruff rules (RUF)
- Fix typo in Version __str__
- Bump the github-actions group with 3 updates
- Get rid of duplicate test cases
- Fix doc for canonicalize_version and a typo in a docstring
- docs: public/base_version comparison
- Apply ruff/bugbear rules (B)
- Apply ruff/pyupgrade rules (UP)
- Add a changelog entry for dropping Python 3.7 support
- Patch python_full_version unconditionally
- Refactor canonicalize_version
- Allow creating a SpecifierSet from a list of specifiers
- Fix uninformative error message
- Fix prerelease detection for > and <
- Bump the github-actions group across 1 directory with 4 updates
- Add support for PEP 730 iOS tags.
- Update the changelog to reflect 24.1 changes
- Mention updating changelog in release process
- Add a comment as to why Metadata.name isn't normalized
- Use !r formatter for error messages with filenames.
- PEP 639: Implement License-Expression and License-File
- Bump the github-actions group with 4 updates
- Upgrade to latest mypy
- Extraneous quotes

(From OE-Core rev: 7e134bd24e7b621a0fbf4ef8143334fb039445e3)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
5d032631fa python3-markupsafe: upgrade 3.0.1 -> 3.0.2
Changelog:
==========
- Fix compatibility when __str__ returns a str subclass.
- Build requires setuptools >= 70.1.

(From OE-Core rev: 786ce51f9411b23281919b6251a4d700d8c75c41)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
a9a5f9769a python3-license-expression: upgrade 30.3.1 -> 30.4.0
Changelog:
============
- Update licensedb to 3.24
- Update licenses with SPDX license list 3.25
- Update README and setup.cfg

(From OE-Core rev: 81575d889cacf94fc1067348595adb76f50d85be)

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>
2024-11-18 22:09:03 +00:00
Wang Mingyu
e18a8bde8d python3-hypothesis: upgrade 6.115.3 -> 6.118.6
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 1c2a671179b1230e50cc6759e3ab026c0aa38c32)

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>
2024-11-18 22:09:03 +00:00