2510 Commits

Author SHA1 Message Date
Daniel F. Dickinson
4cb00fd5fb python3: error on host python path too long
Error if shebang to host python interpreter would exceed 127 characters
(124 characters plus shebang and newline). This is used to alert user
when python-installer would fail to correctly set a Python program's
shebang line.

Closes: https://github.com/openwrt/packages/issues/28310

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-01-26 09:16:08 +02:00
Rosen Penev
e8e657d381 python-greenlet: update to 3.3.1
Removed MIPS16 hacks. They were fixed upstream and didn't work anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2026-01-25 07:10:21 +02:00
W. Michael Petullo
e05f524244 python-semanage: update to 3.9
Upstream list of changes is available at
https://github.com/SELinuxProject/selinux/releases/tag/3.9.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2026-01-22 21:47:39 +02:00
W. Michael Petullo
5de77732b6 python-selinux: update to 3.9
Upstream list of changes is available at
https://github.com/SELinuxProject/selinux/releases/tag/3.9.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2026-01-22 20:52:28 +02:00
Daniel F. Dickinson
3de4d24830 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>
2026-01-22 13:57:48 +07:00
Daniel F. Dickinson
ead09d5fd9 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>
2026-01-22 13:57:48 +07:00
Wei-Ting Yang
295c75a2b9 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>
2026-01-10 12:58:47 +01:00
Josef Schlehofer
d8437af213 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>
2026-01-09 17:09:08 +01:00
Wei-Ting Yang
b1bd9b18ee python-certifi: update to 2026.1.4
Use the latest CA bundle from Mozilla.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-01-05 09:44:07 +01:00
George Sapkin
de64f871b0 treewide: fix spelling and grammar in Makefiles
Fix spelling and grammar in package definitions, configs, comments and
other strings.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-31 09:12:36 +02:00
Josef Schlehofer
6b370bd511 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>
2025-12-30 14:50:42 +01:00
Josef Schlehofer
6e8b8fef61 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>
2025-12-30 08:18:53 +01:00
Josef Schlehofer
b0670ac101 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>
2025-12-29 23:18:13 +01:00
Josef Schlehofer
4f5de42c72 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>
2025-12-29 23:16:33 +01:00
Ivan Belokobylskiy
05c7ab7466 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-28 14:11:20 +01:00
Wesley Gimenes
df05c12089 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>
2025-12-21 03:45:23 +01:00
Yanase Yuki
7eea92b91c 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>
2025-12-15 12:16:26 +01:00
Wei-Ting Yang
495e4e9287 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>
2025-12-12 07:20:31 +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
   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