Commit Graph

2858 Commits (8e912e91d503f5f63abe552ffa3ceeb446d7d784)

Author SHA1 Message Date
Wei-Ting Yang 870abb80ed python-certifi: update to 2026.7.22
Use the latest CA bundle from Mozilla.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-07-27 09:35:43 +03:00
Wei-Ting Yang 9412243052 python-idna: bump to 3.18
Release notes:
https://github.com/kjd/idna/releases/tag/v3.18

Remove the test for UTS 46 transitional processing, which is now
deprecated and emits a warning. See [1].

[1] 94bcdc38fd

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-07-27 09:35:43 +03:00
Wei-Ting Yang bf1bd0a50a python-charset-normalizer: bump to 3.4.9
Release notes:
https://github.com/jawah/charset_normalizer/releases/tag/3.4.8
https://github.com/jawah/charset_normalizer/releases/tag/3.4.9

Also update package GitHub URL.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-07-27 09:35:43 +03:00
Alexandru Ardelean 87a7be0326 vobject: add missing pytz and six dependencies
vobject 0.9.9 lists both pytz and six as unconditional runtime requirements
in install_requires, but neither was in DEPENDS. Running the change_tz
console script failed with "ModuleNotFoundError: No module named 'pytz'".

six happened to resolve transitively through python3-dateutil even though
vobject/base.py imports it directly, so list it explicitly rather than rely
on another package's dependency.

Extend test.sh to check that both modules import and that vobject.change_tz
loads.

Fixes: https://github.com/openwrt/packages/issues/29992
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-22 09:31:42 +03:00
Alexandru Ardelean f51b9af6f0 python-websocket-client: drop package
There are currently no more users for this.
Drop it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-16 08:46:54 +02:00
Alexandru Ardelean 7db4f7bb69 python-paramiko: drop package
There are no longer packages that need this.
This offers advanced SSH functions in Python.
But for OpenWrt's context it may work with just using ssh commands
with the subprocess package.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-16 08:46:54 +02:00
Alexandru Ardelean b47d9caf8e python-docker: drop package
This has migrated in favor of the Go version of docker tools.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-16 08:46:54 +02:00
Alexandru Ardelean 30b34ef130 python-dockerpty: drop package
It's ~12 yrs old.
Probably not even used anymore.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-16 08:46:54 +02:00
Wei-Ting Yang bdab2f1f59 python-asgiref: improve version check in test.sh
Verify that asgiref.__version__ strictly equals the expected version
argument ($2), instead of just checking that it is non-empty.

Also remove single quotes from EOF to enable variable expansion.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-07-15 10:22:17 +03:00
Philip A. Prindeville 5544edf33a python-pexpect: add package
Useful for provisioning devices like modems that present themselves
via a serial device.

Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>
2026-07-12 19:03:48 -06:00
Philip A. Prindeville 592a4ac758 python-ptyprocess: add package
Requirement for python-pexpect.

Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>
2026-07-12 19:03:48 -06:00
Wei-Ting Yang 4af6cb6efd django: bump to version 6.0.7
Fix CVE-2026-48588, CVE-2026-53877, and CVE-2026-53878.

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

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-07-09 17:50:31 +03:00
Philip A. Prindeville c08761bfcc treewide: homogenize references to libfts for MUSL
The way we use -lfts isn't particularly consistent.  There's no reason
it shouldn't be.  glibc users shouldn't have to deal with someone else's
lack of rigor.

Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>
2026-07-05 22:45:59 -06:00
Josef Schlehofer e755a9aef2 tree-wide: remove redundant test.sh files
Generic version checks were introduced in actions-shared-workflows,
making these individual test.sh files obsolete.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-07-04 23:42:46 +03:00
Alexandru Ardelean 491f1df066 python-decorator: drop package
No longer needed by any package in the feed; jsonpath-ng was the
last consumer and no longer imports it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-17 06:53:07 +03:00
Alexandru Ardelean 06c1e146e2 python-ply: drop package
No longer needed by any package in the feed; jsonpath-ng (the last
consumer) vendors ply internally as jsonpath_ng._ply.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-17 06:53:07 +03:00
Alexandru Ardelean 933152c011 python-jsonpath-ng: drop ply, six and decorator dependencies
jsonpath-ng 1.8.0 vendors ply as jsonpath_ng._ply and no longer imports
six or decorator, so none are required at runtime.

It builds through the setuptools.build_meta legacy backend but never
declared setuptools as a build dependency; it was only present in the host
build env transitively via those packages' builds. Add python-setuptools/host
explicitly so the build no longer relies on that side effect.

The jsonpath_ng CLI takes a required expression argument and has no version
flag, so the generic version check cannot detect the package version from it.
Add a test-version.sh override and assert __version__ in test.sh instead,
mirroring python-jmespath.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-17 06:53:07 +03:00
Alexandru Ardelean b9395cbfeb python-editables: drop package
No longer needed by any package in the feed; hatchling 1.27+ removed
it from install_requires.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-16 09:31:53 +03:00
Alexandru Ardelean b1160f9524 python-hatchling: drop editables dependency
Upstream removed editables from install_requires in hatchling 1.27;
1.30.1 no longer needs it at runtime or build-time.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-16 09:31:53 +03:00
Alexandru Ardelean 48785f6dfe python-contextlib2: drop package
No longer needed by any package in the feed; only python-schema
depended on it and it was a Python <3.3 conditional shim.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-16 09:31:53 +03:00
Alexandru Ardelean a87a048279 python-schema: drop contextlib2 dependency
Upstream only requires contextlib2 on Python <3.3, so it is never
pulled in on a Python 3.14 runtime.

schema builds through the setuptools.build_meta legacy backend but never
declared setuptools as a build dependency; it was only present in the host
build env transitively via contextlib2's build. Add python-setuptools/host
explicitly so the build no longer relies on that side effect.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-16 09:31:53 +03:00
Alexandru Ardelean e503480606 python3: fix host PGO build failure on deep build paths
Python 3.14 made "forkserver" the default multiprocessing start method on
Linux, which binds an AF_UNIX socket under $TMPDIR during the PGO profile-run.
OpenWrt points TMPDIR at the deeply nested build tree, so the socket path can
exceed the 108-byte AF_UNIX limit and abort the host build with "AF_UNIX path
too long" in test_re (cpython#149527). Pin TMPDIR=/tmp for the host build.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-15 11:39:24 +03:00
Alexandru Ardelean 77566058f4 jdcall: drop package
No longer needed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-14 18:21:03 +03:00
Alexandru Ardelean d6ddf8ee67 openpyxl: remove jdcal dependency
It's no longer needed since ~2021
 https://foss.heptapod.net/openpyxl/openpyxl/-/merge_requests/393

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-14 18:21:03 +03:00
Alexandru Ardelean 82b94afb30 python-frozenlist: drop package
No longer needed by any package in the feed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-14 08:21:45 +03:00
Alexandru Ardelean e0ed322c0c python-flit-scm: drop package
No longer needed by any package in the feed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-14 08:21:45 +03:00
Alexandru Ardelean 4f5b1824c9 python-chardet: drop package
python-requests now uses charset-normalizer and nothing else in the
feed depends on it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-12 12:26:50 +02:00
Alexandru Ardelean dcc90f1920 python-requests: use charset-normalizer instead of chardet
Switch runtime and host build deps from chardet to charset-normalizer,
the mandatory charset-detection backend since requests 2.26. Extend
test.sh to cover the new backend and bump PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-12 12:26:50 +02:00
Alexandru Ardelean 9c97b73b1a python-charset-normalizer: add host build
Add a HostBuild variant so it can be used as a /host build dependency,
mirroring python-certifi/idna/urllib3.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-12 12:26:50 +02:00
Alexandru Ardelean 81b237d43a python-toml: drop package
No idea if this is used.
It's a pure python package.
No other packages depend on this.
Can be installed via pip on device.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-11 19:56:36 +03:00
Alexandru Ardelean 3993db02bd python-pyparsing: drop package
No idea if this is used.
It's a pure python package.
No other packages depend on this.
Can be installed via pip on device.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-11 19:56:36 +03:00
Alexandru Ardelean a06fb85350 python-apipkg: drop package
No idea if this is used.
It's a pure python package.
No other packages depend on this.
Can be installed via pip on device.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-11 19:56:36 +03:00
Alexandru Ardelean 8338b02877 python-incremental: add test-version.sh generic version-check override
The incremental CLI requires an "update" subcommand and prints a usage
error instead of a version for the flags the generic check probes, so it
fails generic tests (e.g. when python3 is bumped). Override it; test.sh
still covers functionality.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 17:18:01 +03:00
Alexandru Ardelean f5490954f5 python-automat: drop broken automat-visualize entry point
The package excludes automat/_visualize.py (it needs the optional graphviz
dependency), but the automat-visualize console script was still installed and
imports that module, so it failed at runtime and broke the CI generic test.
Skip the /usr/bin install so the package ships as a pure library.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 17:18:01 +03:00
Alexandru Ardelean e266bed8d8 python-greenlet: bump to 3.5.1
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 17:18:01 +03:00
Alexandru Ardelean 2e6e0b6b4c python-twisted: bump to 26.4.0
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 17:18:01 +03:00
Alexandru Ardelean 44b58e0922 python-s3transfer: bump to 0.18.0
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 17:18:01 +03:00
Alexandru Ardelean 29c7547b2e python-psycopg2: bump to 2.9.12
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:28:03 +03:00
Alexandru Ardelean a3cf55ac55 python-lxml: bump to 6.1.1
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:28:03 +03:00
Alexandru Ardelean 1f97548589 python-cython: bump to 3.2.5
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:28:03 +03:00
Alexandru Ardelean 5a31bfb4e4 python-awscli: fix stale assertion in test.sh
awscli 1.45.19 no longer exposes awscli.topics.TOPIC_TAGS, so the test
raised an AssertionError (silently, as the heredoc exit code was ignored).
Drop the brittle check and make the smoke test fail hard if the CLI driver
cannot be created.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean cb99eecb43 python-rsa: add test-version.sh generic version-check override
The pyrsa-* command line tools use argparse and do not print the package
version with any of the flags probed by the CI generic version check, so it
reports "No executables in the package provided version" and fails. Add a
test-version.sh override; functionality remains covered by test.sh.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean e7aff35e97 python-jmespath: install jp as a non-byte-compiled command
Upstream ships its jp command-line tool as a plain "jp.py" script. Under
that name OpenWrt byte-compiles it into a non-executable /usr/bin/jp.pyc
(and the -src package keeps a "#!/usr/bin/env python" jp.py, which has no
interpreter on OpenWrt), so it fails the CI generic executable check.

Install it as /usr/bin/jp instead: the missing .py extension stops it from
being byte-compiled and Python3/FixShebang rewrites the shebang to
/usr/bin/python3. Add a test-version.sh override since jp takes a required
expression argument and has no version flag for the generic check to probe.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean ba593bc0f3 python-awscli: bump to 1.45.19
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean 40f29e0330 python-boto3: bump to 1.43.19
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean fbb9bea56a python-botocore: bump to 1.43.19
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:30 +03:00
Alexandru Ardelean 4fdbc1a50f numpy: bump to 2.4.6
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:27:12 +03:00
Wei-Ting Yang 1adc058454 treewide: add or correct license information
Add or correct license information across multiple packages.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-06-08 16:29:56 +03:00
Josef Schlehofer ea541f48b5 python3: fix host python extension compilation on macOS
On macOS (Darwin) hosts, building host Python C extensions (such as Cython) using the '-shared' flag and linking against '-lpython3.x' causes the host Python interpreter to load a duplicate copy of the Python runtime. This leads to type checking mismatches and segmentation faults (SIGSEGV) when importing the compiled extension.

For example, running:
    ./staging_dir/hostpkg/bin/python3 -c "import Cython.Utils"
crashes with:
    Segmentation fault: 11

To build shared modules correctly on macOS, they must be compiled as bundles using the '-bundle -undefined dynamic_lookup' flags instead of '-shared', and they should not link against the Python library (no '-lpython3.x' in LDFLAGS).

Fix this by dynamically adjusting LDSHARED and LDFLAGS in python3-host.mk when the host OS is Darwin.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-06-08 14:34:58 +03:00
Alexandru Ardelean e938860f2f python-orjson: update to 3.11.9
3.11.8 failed to build against the SDK's stable rust 1.96.0: build.rs enabled
orjson's "cold_path" cargo feature for rustc >= 1.95.0, activating an unstable
feature gate that errors with E0554. 3.11.9 drops it; plain version bump.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-07 20:04:16 +03:00