Commit Graph

2535 Commits

Author SHA1 Message Date
Wei-Ting Yang c30b579dfc treewide: fix licenses
Fix licenses.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit f7e3317515)
2026-05-28 11:44:16 +02:00
Josef Schlehofer cece7c8833 flup: remove the package
Flup was heavily used in downstream distribution (Turris OS)
for their Web UI - reForis. Since there are no other
dependent packages in this repository, Flup is no longer needed.

The package appears to be abandoned and is no longer maintained
The latest version dates back to 2009.

It was previously required for Seafile.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 5120ed91b8)
2026-05-14 10:12:41 +02:00
Erik Larsson 2d4bed6255 python3-ubus: update to 0.1.3
Bump to version 0.1.3 and drop patch, which is in upstream.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
(cherry picked from commit fee669b6d4)
2026-04-28 23:16:43 +02:00
Rosen Penev 05df56e4a3 python-psycopg2: update to 2.9.11
Newer Python compatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 3f727dfd0c)
2026-04-26 16:23:15 +03:00
Alexandru Ardelean e929849faa python-constantly: drop versioneer build dependency
The release tarball already contains a pre-generated _version.py with
the version hardcoded, so versioneer is not needed at build time.
Patch pyproject.toml to only require setuptools and remove
PKG_BUILD_DEPENDS:=python-versioneer/host.

Remove python-versioneer package as it is no longer needed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 8c3bc3fcf9)
2026-04-25 21:44:57 +03:00
Rosen Penev aa93460490 python-pyodbc: update to 5.3.0
Fixes compilation with newer Python/

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit f04aa8389d)
2026-04-25 07:48:22 +03:00
Alexandru Ardelean 6a9044400d python3: add no-mips16 to PKG_BUILD_FLAGS
Should fix Python3 build for mipsel_24kc_24kf.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:49:14 +03:00
Alexandru Ardelean a127b9d2ee python3-greenlet: update to 3.4.0
Update package to 3.4.0.

Changes:
- Added binary wheels for RISC-V 64
- Fixed multiple rare crash paths during interpreter shutdown; now uses
  the atexit module (subtle API change: getcurrent unavailable once
  atexit fires)
- Fixed multiple race conditions in free-threaded (no-GIL) builds when
  greenlets are accessed from multiple threads, some causing assertion
  failures or interpreter crashes
- Several minor correctness fixes from automated code audit

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 15e2da047b)
2026-04-14 08:02:50 +03:00
Alexandru Ardelean 435b41ff10 python-greenlet: bump to 3.3.2
Changelog since 3.3.1:
- v3.3.2: Fix crash on Python 3.10 during interpreter shutdown with
  active greenlets

Add test.sh.

Full changelog:
https://github.com/python-greenlet/greenlet/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 79fe85b9e3)
2026-04-14 08:02:50 +03:00
Rosen Penev e263702a5e python-gevent: use LF for Makefile
Done with all other Makefiles.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 126562da30)
2026-04-14 08:02:50 +03:00
Rosen Penev 440baa8d06 python-gevent: update to 25.9.1
Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1d3b5f7791)
2026-04-14 08:02:50 +03:00
Alexandru Ardelean 3daf54dd6d python-ubus: backport patch for newer Python
Build is failing for a while now with error:
```
14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-14.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc_musl/usr/include/python3.14 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc_musl/usr/include/python3.14 -c ./ubus_python.c -o build/temp.linux-mipsel-cpython-314/ubus_python.o
./ubus_python.c: In function 'ubus_python_add':
./ubus_python.c:1081:17: error: implicit declaration of function 'PyEval_CallMethod'; did you mean 'PyObject_CallMethod'? [-Wimplicit-function-declaration]
 1081 |                 PyEval_CallMethod(python_alloc_list, "pop", "");
      |                 ^~~~~~~~~~~~~~~~~
      |                 PyObject_CallMethod
error: command '/builder/shared-workdir/build/sdk/staging_dir/toolc
```

This has been fixed on version 0.1.3, but that hasn't been
published to pypi yet.

Also add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 29e685e1f8)
2026-04-14 08:01:36 +03:00
Alexandru Ardelean abe2fa9fae python-cryptography: bump to 46.0.6
Starting with 46.x, cryptography switched its build backend from
setuptools-rust to maturin. Update PKG_BUILD_DEPENDS accordingly:
replace python-setuptools-rust/host with python-maturin/host and
python-setuptools/host (setuptools is still required by cffi).

Drop 001-Update-ouroboros.patch: the ouroboros crate is no longer a
dependency in 46.x, so the patch (which bumped it from 0.15 to 0.18
to fix RUSTSEC-2023-0042) no longer applies.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 2d20f8f0dc)
2026-04-10 16:43:55 +03:00
Alexandru Ardelean 462e27f35a python-flask-httpauth: fix build
This needs an adjustment to the PYTHON3_PKG_WHEEL_NAME variable.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-10 16:27:08 +03:00
Alexandru Ardelean 7cd71426e3 python-pip: fix build; add setuptools/host as dep
This looks like it can occasionally fail with:
```
--outdir "/workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/pip-23.3.1/"/openwrt-build --wheel "/workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/pip-23.3.1/"

Getting build dependencies for wheel...
ERROR Backend 'setuptools.build_meta' is not available.
Traceback (most recent call last):
File "/workdir/openwrt/staging_dir/hostpkg/lib/python3.14/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
raise BackendUnavailable(
...<4 lines>...
)
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
```

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

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-09 07:59:04 +03:00
Alexandru Ardelean cc572e64a9 python-setuptools: re-introduce patch from python3
When Python3 was updated via commit 97a92f2e7 , distutils was
disappeared from Python3 and moved to setuptools.
So that patch should have moved here as well.

This should fix all packages which still use the 'build_ext'
module from setuptools.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-06 08:28:37 +03:00
Wei-Ting Yang 0003a245f2 django: bump to version 6.0.3
Fix CVE-2026-25674.

Full release notes:
https://docs.djangoproject.com/en/6.0/releases/6.0.3/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit d1923a44fd)
2026-04-01 18:52:24 +03:00
Wei-Ting Yang cac44fcf8f django: clean up Makefile
- Add AUTHORS into PKG_LICENSE_FILES.
- Drop no longer required python3-pytz dependency.
- Remove obsolete CONFLICTS field.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 551fe9b9b6)
2026-04-01 18:52:24 +03:00
Alexandru Ardelean 784efc7e24 django-restframework: bump to 3.17.0
v3.17.0 changes:
- Drop Python 3.9 support (minimum now 3.10)
- Drop deprecated coreapi support
- Add Python 3.14 support
- Add ability to specify output format for DurationField
- Add missing decorators: @versioning_class(), @content_negotiation_class(),
  @metadata_class() for function-based views
- Support violation messages in UniqueConstraint

Full release notes:
https://github.com/encode/django-rest-framework/releases/tag/3.17.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit facb68ee69)
2026-04-01 18:52:24 +03:00
Jean Thomas a7b9be3efa python-poetry-core: bump to 2.3.1
Bump to latest available version.

Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
2026-03-30 20:35:18 +03:00
Alexandru Ardelean 790012bccb python-gmpy2: bump to 2.3.0
Changelog since 2.2.2:
- Add mpz.array() method for NumPy interaction
- Implement mpq.limit_denominator() functionality
- Add is_integer() method for mpz/mpq types
- Add mixed-mode arithmetic support for mpc types
- Enhanced formatting using context's rounding mode defaults
- Full free-threaded Python build support
- Fix memory leaks in MPFR/MPC cache and context exit
- Drop CPython 3.8 support (requires 3.9+)

Add test.sh.

gmpy2 2.3.0 switched to pyproject.toml with setuptools-scm for version
management. Add python-setuptools-scm/host to PKG_BUILD_DEPENDS.

Full changelog:
https://github.com/aleaxit/gmpy/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 643e0bd695)
2026-03-30 08:39:46 +03:00
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