Add pending patch fixing support for new LibreSSL version.
New LibreSSL version adds support for SHA3 algo but doesn't add support
for SHAKE ones. There is currently a logic error in the Python
test_hashlib that always expect both SHA3 and SHAKE algo to be present.
This logic error cause the Host Python3 to fail testing.
This patch fix the logic error and restore correct compilation of the
host package.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This change updates eventlet to 0.40.3
It no longer needs 'six'
Needs python-setuptools/host & python-hatchling/host &
python-hatch-vcs/host as PKG_BUILD_DEPENDS.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Release notes can be found here:
https://yaml.dev/doc/ruamel-yaml/
Wheel is compiled as ruamel_yaml (underscore), but on pypi it is ruamel.yaml (dot),
it failed on buildbot, so add slight tweak.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Patches can be dropped.
They don't seem to be needed anymore.
The 'visualize' parts seem to be optional.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Bump to version 2.0.0 because the CI seems to also include this.
Drop patch for un-pinning setuptools.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Since python3 no longer provides setuptools host-side, we need
to provide it as an explicit dependency.
Removing 'wheel' since it's not a dep of pyproject-hooks.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This seems to happen when re-triggering a build.
The destination path is already there, so this exception gets raised.
Another approach is to do 'make package/<python-package>/clean' and
re-trigger the build.
But that becomes annoying.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Newer versions of Python no longer ship setuptools.
We need to use the one from the packages feed instead.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Explicitly disable readline and tkinter modules for host-build.
Host-build will not build if these fail.
- readline isn't a hard requirement for host-python; some minor lack of
functionality would be felt, but nothing terrible
- tkinter is also disabled on the target; but for the host-python we
don't need it either
Dropped patch: 010-no-ncursesw.patch
- Since we're disabling readline in the host build
Drop setuptools from python3 - the only reason we kept it there, was
because it was required by pip; pip is still there and seems to install and
work fine without setuptools. There's also a separate setuptools package in
openwrt anyway:
https://github.com/openwrt/packages/tree/master/lang/python/python-setuptools
Also, Python no longer installs it:
https://github.com/python/cpython/issues/95299
Drop python3-cgi - 08d5923896
Drop distutils - 0faa0ba240
Drop lib2to3 - ae00b810d1
Drop patch: 0001-Adjust-library-header-paths-for-cross-compilation.patch
- A lot of stuff has changed regarding cross-compilation; at this point
it's unclear what we need moving forward.
Drop patch: 006-do-not-add-multiarch-local-paths.patch
- setup.py went away, so no idea if this is needed anymore
Re-applied: 003-do-not-run-compileall.patch
Drop: 008-distutils-use-python-sysroot.patch
- Buildroot seems to have also dropped this; this patch is from them
Added: 09-don-t-run-profile-task-during-cross-build.patch
- For cross_compilation, running the profile-task will not work, it also
mentions this in a comment, but nobody dared to patch it yet (at least
in this release (3.13.9)
Re-applied: 026-openssl-feature-flags.patch
- This could have been dropped completely, but upstream decided to keep
scrypt on by default; for host-build this fails, because OpenWrt keeps
libressl
Drop patch: 100-gh-95855-Refactor-platform-triplet-detection-code-GH-107221.patch
- This was a backport; it probably should have been removed sooner
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
wip
Newer Python 3 versions don't ship setuptools anymore.
Packages will need to use this one instead.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Fixes:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
Release notes:
https://github.com/di/calver/releases/tag/2025.10.20
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>