Commit Graph

2514 Commits

Author SHA1 Message Date
Alexandru Ardelean 01bbb91faa python-incremental: bump to 24.11.0
Changelog since 24.7.2:
- Switch build system from wheel to hatchling
- Switch runtime dependency from setuptools/pkg-resources to packaging
- Add CLI script (pipx run incremental)
- Add Python 3.13 and 3.14 support; drop Python 3.8 support
- Drop Click dependency from CLI

Update HOST_BUILD_DEPENDS to use python-hatchling/host instead of
python-wheel/host, and replace +python3-pkg-resources dependency with
+python3-packaging in DEPENDS.

Add test.sh.

Full changelog:
https://github.com/twisted/incremental/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 6fc55f8b74)
2026-03-29 18:54:38 +03:00
Alexandru Ardelean ea62ec3366 pillow: bump to 12.1.1
Pillow 12.x introduces pybind11-based C extension bindings and a
custom build backend (wrapping setuptools.build_meta). This requires:
- Replacing python-setuptools-scm with python-setuptools as build dep
- Adding python-pybind11 as a new build dependency (host)
- Updating build config settings from --build-option flags to the new
  key=value format (e.g. zlib=enable, imagequant=disable)
- Removing the separate webpmux flag (merged into webp feature)

Full release notes:
https://pillow.readthedocs.io/en/stable/releasenotes/index.html

Remove 001-remove-setuptools-version-limit.patch
That's an old relic since when setuptools was packaged inside Python3

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit df78cf6b01)
2026-03-29 18:34:36 +03:00
Alexandru Ardelean 0c1d6b9d7c python-pybind11: add new package (version 2.13.6)
pybind11 is a header-only library that exposes C++ types in Python,
used as a build-time dependency by packages like Pillow 12.x.

Uses setuptools as its build backend.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 432fa809dd)
2026-03-29 18:34:36 +03:00
Jean Thomas 1b8dcc6ea2 python-frozenlist: bump to version 1.8
And disable custom build-backend in order to use setuptools.

Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
(cherry picked from commit ef77e07976)
2026-03-29 17:58:29 +03:00
Jean Thomas a4a35d2599 python-expandvars: add new package
Necessary to build python-frozenlist

Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
(cherry picked from commit 3213df23b1)
2026-03-29 17:58:29 +03:00
Josef Schlehofer fc7091ebae treewide: remove Home Assistant dependencies
I previously attempted to package Home Assistant for OpenWrt.
 However, given the announcement that Home Assistant will
primarily be supported via containers (e.g., Docker) or HA OS [1],
these specific Python package dependencies [2] are no longer needed.

I no longer maintain these packages, I don't use them, and there
 are no other internal dependencies on them. Removing them will
result in slightly faster build times since they no longer require compilation.

[1] https://www.home-assistant.io/blog/2025/05/22/deprecating-core-and-supervised-installation-methods-and-32-bit-systems/
[2] https://github.com/home-assistant/core/blob/dev/pyproject.toml

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6b370bd511)
2026-03-29 16:53:10 +03:00
Alexandru Ardelean 63b6438260 python-pyopenssl: fix build with wheel naming
This got broken at some point with some of the package updates.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-29 15:11:44 +03:00
Ivan Belokobylskiy 43d631e2b5 python-evdev: bump version to 1.9.3
Fix several memory leaks in input.c

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
2026-03-13 21:30:47 +02:00
Ivan Belokobylskiy 5269b64870 python-evdev: add mandatory uinput.h header to builder
Starting from 1.9.2 python-evdev requires
include/uapi/linux/uinput.h headers for proper building.
Otherwise, it compiles but cannot be imported causing
KeyError: 'UI_FF'

Add uinput.h to LINUX_EVDEV_HEADERS

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
2026-03-13 21:30:47 +02:00
Wei-Ting Yang 35797006b7 django: bump to version 6.0.2
Release notes:
https://docs.djangoproject.com/en/dev/releases/6.0/
https://docs.djangoproject.com/en/dev/releases/6.0.1/
https://docs.djangoproject.com/en/dev/releases/6.0.2/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit b54cc9b69e)
2026-02-18 13:33:34 +02:00
Yanase Yuki a6442c5694 python3-speedtest-cli: remove package
It seems this software is no longer maintained.
The last upstream commit is 4 years ago, and
this software only supports obsolete setup.py.

Users should use supported similar softwares, such
as speedtest-go in packages repo.

Signed-off-by: Yanase Yuki <dev@zpc.st>
(cherry picked from commit 7eea92b91c)
2026-01-28 20:59:53 +02:00
Daniel F. Dickinson 64ced5989c python-passlib: remove unmaintained package
passlib is unmaintained since 2020 and a maintained fork called libpass,
which is a drop-in replacement (even using the passlib module name), is
now available. https://github.com/Kozea/Radicale/issues/1952 has more
information.

Therefore we remove the python-passlib package from this repo.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 3de4d24830)
2026-01-23 15:19:11 +07:00
Daniel F. Dickinson ee333daeff python-libpass: add replacement for passlib
passlib has not be updated since 2020 and is therefore a dead project.
Radicale (used in this repo as radicale3) has updated to use libpass (a
maintained fork of passlib): https://github.com/Kozea/Radicale/pull/1953
therefore add python3-libpass to provide libpass, a drop-in replacement
for passlib, and a dependency for Radicale v3.6.0.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit ead09d5fd9)
2026-01-23 15:19:11 +07:00
Wei-Ting Yang ebf2977633 python-urllib3: update to 2.6.3
- Fixed HTTPResponse.read_chunked() to properly handle leftover data
  in the decoder's buffer when reading compressed chunked responses.
- Fixed a security issue where decompression-bomb safeguards of the
  streaming API were bypassed when HTTP redirects were followed.
  (CVE-2026-21441)
- Started treating Retry-After times greater than 6 hours as 6 hours
  by default.
- Fixed urllib3.connection.VerifiedHTTPSConnection on Emscripten.

Release notes:
https://github.com/urllib3/urllib3/releases/tag/2.6.2
https://github.com/urllib3/urllib3/releases/tag/2.6.3

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 295c75a2b9)
2026-01-22 20:53:00 +02:00
Wei-Ting Yang 28bca99ba4 python-urllib3: update to 2.6.1
Fix CVE-2025-66418 and CVE-2025-66471.

Full release notes:
https://github.com/urllib3/urllib3/releases/tag/2.6.0
https://github.com/urllib3/urllib3/releases/tag/2.6.1

Drop 001-setuptools-scm-upper-limit.patch as upstream now supports
setuptools-scm v9.x.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 495e4e9287)
2026-01-22 20:53:00 +02:00
Josef Schlehofer c3453a462e python-pika: add new package for radicale3
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that
tries to stay fairly independent of the underlying network support
library.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit d8437af213)
2026-01-10 12:46:43 +01:00
Wei-Ting Yang d555ca7c08 python-certifi: update to 2026.1.4
Use the latest CA bundle from Mozilla.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit b1bd9b18ee)
2026-01-09 10:52:13 +01:00
Josef Schlehofer 7b9ef8dfa1 python-pyfuse3: update to version 3.4.1
Release notes:
https://github.com/libfuse/pyfuse3/releases/tag/3.4.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6e8b8fef61)
2026-01-09 10:30:02 +01:00
Josef Schlehofer c3b54c1b17 python-bcrypt: update to version 5.0.0
Release notes:
https://github.com/pyca/bcrypt/releases/tag/5.0.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b0670ac101)
2025-12-29 23:39:49 +01:00
Josef Schlehofer 3cf3edf45a python3-bottle: update to version 0.13.4
Release notes:
https://github.com/bottlepy/bottle/releases/tag/0.13.4

Add setuptools to PKG_BUILD_DEPENDS to fix:
```
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
```

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 4f5de42c72)
2025-12-29 23:39:44 +01:00
Ivan Belokobylskiy 9d33f54be4 python-aio-mqtt-mod: update to 0.4.0
Add support of building against python 3.12+
Replace imp module with importlib

Full changelog:
https://github.com/devbis/aio-mqtt/compare/0.3.4...0.4.0

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
2025-12-29 09:01:51 +02:00
Wesley Gimenes 8a1fff39c9 2to3: remove package
This package is only used by `fail2ban`. After updating `fail2ban` to
`1.1.0` (2a202b2091), the `2to3` package
is no longer needed. If required, anyone can reintroduce the package.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
(cherry picked from commit df05c12089)
2025-12-23 21:07:52 +01:00
Til Kaiser 0b6d2a2859 treewide: remove python3-distutils dependency
As the python3-distutils was dropped while bumping the version
to 3.13.9 via 97a92f2e7a, remove the
python3-distutils from all packages that are currently using it.

OpenWrt already uses recent enough releases of these packages
that have adapted to work without distutils, so the dependency
can be safely removed.

Signed-off-by: Til Kaiser <mail@tk154.de>
2025-12-10 10:49:08 +01:00
Wei-Ting Yang 364a98daaf django: bump to version 5.2.9
Fixed CVE-2025-13372 and CVE-2025-64460.

Full release notes:
- https://docs.djangoproject.com/en/dev/releases/5.2.9/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-12-05 22:56:57 +01:00
Josef Schlehofer 09951a9cfd python-unidecode: drop unmaintained package
It looks like based on opened PRs [1],
there is no official support for Python 3.12+.

Unfortunately, this project is still using setup.py,
which is deprecated and no longer supported.
These days project metadata are stored in pyproject.toml
according to PEP 621.

Also, this project does not follow PEP625 as their
wheel name is in uppercase and it should be in lowercase.

[1] https://github.com/avian2/unidecode/pulls
[2] https://peps.python.org/pep-0621/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-12-04 21:14:06 +01:00
Josef Schlehofer 598dc276f7 python-parsley: drop package
This looks like it is not maintained anymore.
The last commit in the repository [1] is from 2017,
and the last tarball uploaded on PyPI is from 2015.

That tarball does not follow PEP625, because the
wheel and tarball begins with uppercase, it should be
in lowercase and as well it is still using setup.py.

Python these days is using pyproject.toml.

[1] https://github.com/washort/parsley

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-12-03 20:14:16 +01:00
Josef Schlehofer 95fe4bf332 python-pysocks: remove outdated and not maintained package
The latest commit in https://github.com/Anorov/PySocks
is from 2019, it looks outdated and not maintained.

It does not follow PEP 625.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-12-03 20:12:52 +01:00
Wei-Ting Yang 6629fc95e0 python-setuptools: fix PKG_CPE_ID
Should be PKG_CPE_ID, not CPE_ID.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-11-29 17:13:53 +01:00
Austin Lane 1f78d9d7a7 python-pypubsub: switch to PyPi sdist
- PyPi sdist was recently added for this package. Switch to using it.

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-11-26 15:58:24 +02:00
Austin Lane 2201690cd1 python-chardet: fix build (depend on setuptools)
- Properly depend on python-setuptools to fix build failures.

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-11-26 15:57:44 +02:00
Austin Lane 485dee2b0b python-certifi: fix build (depend on setuptools)
- Setuptools has been required since certifi 2025.06.15
  https://github.com/certifi/python-certifi/pull/350

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-11-26 14:52:38 +02:00
Alexandru Ardelean d2d56d216e python-curl: bump to version 7.45.7
Change bumps version to 7.45.7
Adding python-setuptools/host as PKG_BUILD_DEPENDS.

Package is no longer needed.

Fixes:
 https://github.com/openwrt/packages/issues/27915

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-26 14:51:45 +02:00
Ioan Bobar 00204af37d python-idna: bump to version 3.11
bump to version 3.11

Signed-off-by: Ioan Bobar <ioan.bobar@gmail.com>
2025-11-26 14:51:45 +02:00
Austin Lane 12d23c8e95 python-urllib3: fix builds with setuptools-scm 9.x
- Fix builds for python-urllib3 with setuptools-scm
- Patch sourced from upstream (un-released/main branch)

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-11-26 11:22:22 +01:00
Josef Schlehofer 879cddcd0f python-pycparser: update to version 2.23
Refresh patch

Release notes:
https://github.com/eliben/pycparser/releases/tag/release_v2.22
https://github.com/eliben/pycparser/releases/tag/release_v2.23

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02:00
Josef Schlehofer 022f744017 python-setuptools-rust: update to version 1.12.0
Release notes:
https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-11-25 13:38:44 +02:00
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
   https://github.com/openwrt/packages/pull/27863/commits/0c11fe96b000583b50565b1788cde6fb56131b62

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