Commit Graph

2478 Commits

Author SHA1 Message Date
Josef Schlehofer
1eaeb4cfb6 python-maturin: update to version 1.9.6
Release notes:
https://github.com/PyO3/maturin/releases/tag/v1.9.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02:00
Josef Schlehofer
c4bcff285b python-zope-interface: update to 8.0.1
Release notes:
https://github.com/zopefoundation/zope.interface/blob/8.0.1/CHANGES.rst

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02:00
Josef Schlehofer
a1c1bfc24b python-msgpack: update to version 1.1.2
Release notes:
https://github.com/msgpack/msgpack-python/releases/tag/v1.1.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02:00
Christian Marangi
84c1ae1285 python3: add pending patch fixing support for new LibreSSL version
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>
2025-11-24 16:12:34 +01:00
Andy Chiang
b39eb4ca49 python-sqlalchemy: fix typo
fix typo

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2025-11-23 22:55:48 +02:00
Alexandru Ardelean
c888beafb4 python-sqlalchemy: bump to version 2.0.44
And add python-setuptools/host, python-wheel/host as dependencies.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-22 15:02:27 +02:00
Josef Schlehofer
9218d6ee4f python-zope-event: update to version 6.1
Release notes:
https://github.com/zopefoundation/zope.event/blob/6.1/CHANGES.rst

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-22 15:02:27 +02:00
Alexandru Ardelean
312b66a4b5 python-pynacl: fix typo in PKG_BUILD_DEPENDS
Fixes
   0c11fe96b0

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-17 10:23:33 +02:00
Alexandru Ardelean
0c908eed83 python-hatch-vcs: upgrade to version 0.5.0
Upgrade to version 0.5.0
Add python-setuptools/host as dep.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-16 11:56:16 +02:00
Alexandru Ardelean
085c2eb58c python-greenlet: upgrade to version 3.2.4
This upgrades greenlet to 3.2.4

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-16 11:56:16 +02:00
Alexandru Ardelean
33d013e51b python-markdown: upgrade to version 3.10
This change updates markdown to version 3.10

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-16 11:56:16 +02:00
Alexandru Ardelean
e3024cc5b4 python-eventlet: bump to version 0.40.3
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>
2025-11-16 11:56:16 +02:00
Javier Marcet
f872c8970e python-docker: fix pyproject.toml issues
* Getting build dependencies for wheel...

ERROR Missing dependencies:
   hatch-vcs

File "./staging_dir/hostpkg/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 51, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found):

- keys:
    'file': {type: string}
  required: ['file']
- keys:
    'text': {type: string}
  required: ['text']

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-11-14 17:33:22 +08:00
Javier Marcet
ac191fb6f4 python-docker: Update to 7.1.0
Release notes: https://github.com/docker/docker-py/releases/tag/7.1.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-11-14 17:33:22 +08:00
Josef Schlehofer
974e8404c6 python-ruamel-yaml: update to version 0.18.16
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>
2025-11-14 11:22:23 +02:00
Josef Schlehofer
63aa7856bf python-yaml: update to version 6.0.3
Release notes:
https://github.com/yaml/pyyaml/releases/tag/6.0.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-14 11:22:23 +02:00
Josef Schlehofer
ff9c11a9d7 python-flask-socketio: update to version 5.5.1
Release notes:
https://github.com/miguelgrinberg/Flask-SocketIO/releases/tag/v5.5.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:09:19 +01:00
Josef Schlehofer
03303c362d python-flask-session: update to version 0.8.0
Release notes:
https://flask-session.readthedocs.io/en/latest/changes.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:09:18 +01:00
Josef Schlehofer
f02c368344 python-flask-seasurf: update to 2.0.0
Changes can be found here:
https://github.com/maxcountryman/flask-seasurf/tree/2.0.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:09:17 +01:00
Josef Schlehofer
0655f4ed3b python-flask-login: update to version 0.6.3
Release notes:
https://github.com/maxcountryman/flask-login/releases/tag/0.6.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:09:14 +01:00
Josef Schlehofer
fc34a02ccf Flask: update to version 3.1.2
Release notes:
https://github.com/pallets/flask/releases/tag/3.1.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:09:09 +01:00
Josef Schlehofer
ae904f9001 python-werkzeug: update to version 3.1.3
Release notes:
https://github.com/pallets/werkzeug/releases/tag/3.1.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-13 22:13:11 +02:00
Josef Schlehofer
45ef59b3e0 python-jinja2: update to version 3.1.6
Release notes:
https://github.com/pallets/jinja/releases/tag/3.1.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 0b81947974)
2025-11-13 22:11:58 +02:00
Alexandru Ardelean
1a6bb0a1a2 python-markupsafe: add python-setuptools/host as build dep for targer package
Required now since python3/host no longer provides setuptools bundled.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 19:32:33 +02:00
Alexandru Ardelean
26ffbb95f1 python-babel: upgrade to version 2.17.0
Need to also provide python-setuptools/host as build dep for
host and target build.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 19:32:33 +02:00
Alexandru Ardelean
1f70e73e5b python-pynacl: upgrade to version 1.6.1
Drop 'six' requirement (no longer needed).
python-setuptools/host needed for build.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 19:32:33 +02:00
Alexandru Ardelean
909b2ee5a0 python-hatchling: add python-setuptools/host as dep
Previously this was provided by python3/host

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 19:32:33 +02:00
Alexandru Ardelean
ab19a033fb python-calver: add python-setuptools/host as dep to HostBuild
Required now, since python-setuptools/host is separate from python3

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 14:42:11 +02:00
Alexandru Ardelean
1d1dbae89b python-setuptools-scm: bump to version 9.2.2
And add python-setuptools/host as dependency.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-13 14:42:11 +02:00
Alexandru Ardelean
974dc9753c python-automat: bump to version 25.4.16
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>
2025-11-13 14:42:11 +02:00
Vladimir Ermakov
dbc8106ecc python-toml: fix build dependency on python-setuptools
Fix #27855

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-11-13 13:49:06 +02:00
Alexandru Ardelean
2590594111 python-cffi: bump to version 2.0.0
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>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
fabcdb58c6 python3: remove lib2to3 dep from 'python3-package-dev'
lib2to3 no longer exists.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
0ae94ee364 python-setuptools: fix host deps
setuptools does not require that many deps.
This also fixes some circular dependencies.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
bf0fc7ba7a python-markupsafe: add python-setuptools/host to HostBuild dep
Required, since python3 no longer installs this for the host-build.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
2b1fb50b8d python-pyproject-hooks: bump to version 1.2.0
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>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
256f9d30f8 python-semantic-version: add python-setuptools/host dep to HostBuild
This is needed now, since python3/host no longer installs setuptools
host-side.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
5ab2317cc9 python-ply: add python-setuptools/host dep to HostBuild & pkg build
This is needed now, since python3/host no longer installs setuptools
host-side.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
1c88e9fc8a pymysql: bump to version 1.1.2
Also fixes error with wheel file name.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
f10ff694d1 pyproject-metadata: bump to 0.9.1 & add python-setuptools/host dep for HostBuild
Required now that python3 doesn't provide setuptools during the hostpkg
installation.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Alexandru Ardelean
0c37af5289 python-cython: add python-setuptools/host as dep
Required now, since python3 doesn't have any setuptools bundled.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-09 16:46:33 +02:00
Alexandru Ardelean
e60b7674d2 python-requests: bump to version 2.32.5
Bumps to version 2.32.5

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-09 16:46:33 +02:00
Alexandru Ardelean
f62be41f47 lxml: bump to version 6.0.2
Was currently blocked by Cython being old.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-09 16:46:33 +02:00
Alexandru Ardelean
4474c5fbaa numpy: bump to version 2.3.4
This change bumps the version to 2.3.4

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-09 16:46:33 +02:00
Alexandru Ardelean
3e61a5e05c python3: add libatomic as dependency
For some architectures (like mips24) this solves some build errors.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-08 14:01:18 +02:00
Alexandru Ardelean
7ada8de6b7 django: bump to version 5.2.8
Because the old one needs an older version of setuptools, than the
one we currently have.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-08 11:21:38 +02:00
Alexandru Ardelean
9a5f1dc8a1 python-installer: patch behavior for when script file exists
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>
2025-11-08 11:21:38 +02:00
Alexandru Ardelean
545e926fd1 python-asgiref: add use python-setuptools/host for pkg build
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>
2025-11-08 11:21:38 +02:00
Alexandru Ardelean
97a92f2e7a python3: bump to version 3.13.9
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
2025-11-08 11:21:38 +02:00
Alexandru Ardelean
e3a1f5b0b9 python-setuptools: add host-build
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>
2025-11-08 11:21:38 +02:00