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>
- 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>
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>
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>
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>
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>
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>
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>
Change recipes that depend on python3-cython-native to inherit cython
instead.
(From OE-Core rev: 8217b61c3838d4a43b63b78c5121d657f52b4b2b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cython generates C source code that contains mentions to the original
.py files, which results in build paths being embedded inside the
binaries.
Implement prefix remapping to change these build paths to point at the
target debug directory, so that we don't leak build paths and have
reproducible builds.
This patch is currently not submitted upstream, but will be shortly and
I expect it to evolve before being merged.
(From OE-Core rev: cdbe8ef6b744f8e485c4bc77897ad545457ea51e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add more explanatory comments, including when we can drop the patch.
(From OE-Core rev: 15091ef668b544ceb881f8179c0c25c97afd3f5f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort the recipe into a more traditional order, and remove a duplicated
DEPENDS on libyaml.
(From OE-Core rev: 11739d4419b790c798ba9f2d2ef0086a8c39271d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find_library API depends on platform to provide ldconfig, ld, gcc, objdump
etc, so either we add these dependencies or avoid them by computing the
libarchive library name during build, which we can be done.
This ensures that ffi module works with musl as well as glibc equally
as musl does not provide ldconfig like glibc does
(From OE-Core rev: db350fa7c3c33956fb652eef8aefebaf18ead841)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the fix, it helps some ptests on meta-python packages
e.g. pydantic
(From OE-Core rev: 3bf9241787574bad15e685d8f956f33719bac749)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-update: copyright years
Update 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
to only include tests that do not fail under qemu (following upstream
change that also no longer obscures failures).
Drop
0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
(backport)
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
(fixed upstream)
0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
(code completely rewritten upstream)
cgi_py.patch
(cgi and cgitb modules removed upstream)
Add fix-armv5.patch
(address armv5 crashes)
Modules removed in 3.13 (look for 'important removals'):
https://docs.python.org/3/whatsnew/3.13.html
Manifest updated accordingly.
Add an explicit dependency on libatomic (needed on mips
and ppc), as upstream has explicitly switched it off
in cross builds. It's a no-op on other targets.
Fcntl relocated to python3-core by the manifest script.
(From OE-Core rev: 0b49c9aa31279ecda565cc66b63d1d61723b37b8)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update PYPI_PACKAGE to lowercase since that's what the upstream tarball
now uses.
ptest results:
|============================================================================
|Testsuite summary
|# TOTAL: 500
|# PASS: 447
|# SKIP: 53
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 2
|END: /usr/lib/python3-mako/ptest
|2024-10-22T17:30
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
Changelog (https://docs.makotemplates.org/en/latest/changelog.html):
- Fixed long standing bug where the sequence <& would be
misinterpreted by the lexer. It’s not clear why the ampersand
character was part of the characters being consumed here and it may
have been an inadvertent bit of code from one of Mako’s predecessor
languages.
References: #412
(From OE-Core rev: 3871ceb5927d4540e0a109d47d5a08a12a0d48a5)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.115.3 - 2024-10-16
- This patch fixes a regression from version 6.115.2 where generating
values from integers() with certain values for min_value and max_value
would error.
6.115.2 - 2024-10-14
- This release improves integer shrinking by folding the endpoint
upweighting for integers() into the weights parameter of our IR (issue
#3921). If you maintain an alternative backend as part of our (for now
explicitly unstable) Alternative backends for Hypothesis, this release
changes the type of the weights parameter to draw_integer and may be a
breaking change for you.
6.115.1 - 2024-10-14
- This patch improves the performance of from_type() with
pydantic.types.condate (issue #4000).
6.115.0 - 2024-10-12
- This improves the formatting of dataclasses and attrs classes when
printing falsifying examples.
6.114.1 - 2024-10-10
- This patch upgrades remaining type annotations to Python 3.9 syntax.
6.114.0 - 2024-10-09
- This release drops support for Python 3.8, which reached end of life
on 2024-10-07.
6.113.0 - 2024-10-09
- This release adds hypothesis.errors.BackendCannotProceed, an unstable
API for use by Alternative backends for Hypothesis.
6.112.5 - 2024-10-08
- This release fixes a regression where hypothesis.stateful.Bundle did
not work properly with flatmap functionality (issue #4128).
(From OE-Core rev: 0ab451304025f7fdad06345c73233daa47e4f8b9)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the following runtime issue:
|root@qemux86-64:~# python3
|Python 3.12.6 (main, Sep 6 2024, 19:03:47) [GCC 14.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import hypothesis
|Traceback (most recent call last):
| File "<stdin>", line 1, in <module>
| File "/usr/lib/python3.12/site-packages/hypothesis/__init__.py", line 29, in <module>
| from hypothesis.core import example, find, given, reproduce_failure, seed
| File "/usr/lib/python3.12/site-packages/hypothesis/core.py", line 44, in <module>
| from hypothesis import strategies as st
| File "/usr/lib/python3.12/site-packages/hypothesis/strategies/__init__.py", line 48, in <module>
| from hypothesis.strategies._internal.datetime import (
| File "/usr/lib/python3.12/site-packages/hypothesis/strategies/_internal/datetime.py", line 13, in <module>
| import zoneinfo
|ModuleNotFoundError: No module named 'zoneinfo'
(From OE-Core rev: 2a535f7ca6329fee98491251c282741d9d21febc)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog (https://github.com/pypa/trove-classifiers/releases):
2024.10.21.16
- chore: update calver to include hour (#191)
2024.10.14
- Add Django trove classifiers for 5 and upcoming 5.2 release. (#193).
We missed adding the generic `Framework :: Django :: 5`, and I'll add
5.2 since it will be released in a few months.
2024.10.13
- chore: update github actions (#192)
- chore: update release github actions
2024.10.12
- Update CMU to include SPDX in parentheses (#190)
2024.10.11
- Add classifier for MIT-CMU licence (#189)
(From OE-Core rev: 34d00a03c37c1691285b8e618eef833a5ed9ffe5)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to match the upstream repo name change and the renamed license file.
(From OE-Core rev: 43a2af6e4124a0f3949bfd9409b102987b2b2767)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setup.cfg shows run-time dependency on python3-attrs>=19.2.0
3671b40691/setup.cfg (L30)
This was caught during testing ptests for python3-cryptography 43.0.1 upgrade.
(From OE-Core rev: 63b84cba8e6a3e65457ae47fda9cdda7e175db91)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pip3 package is missing the runtime dependency on tomllib. Add
python3-tomllib to the recipe's RDEPENDS. While at it: order the
dependencies alphabetically.
(From OE-Core rev: f0a932dfae5439d7cee2999455edaeb1b263befc)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- Trigger search modal on "Search docs" input focus
- Show hidden version in selector if it's the current active version
- Show version/language selectors below the title
- Docs: do not sign Git tag
- Docs: update the installation note
- Theme option flyout to enable/disable theme's flyout
- Populate html_context with READTHEDOCS_* environment variables
- Tests: sphinxdev tox environment installs Sphinx from master
- Docs: update releasing
- Adjust the expected test_basic output to match Sphinx 7.3+
- Addons: integrate with new beta addons flyout
- Remove html5shiv
- Remove Sphinx<5 compatibility leftovers
- Remove pytest warnings
(From OE-Core rev: 90c69e275ec1bd19cd67fac2ebb19faa436767c8)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>