Commit Graph

2737 Commits

Author SHA1 Message Date
Alexandru Ardelean 381e4f41ba python-selinux: update to 3.10
Changes in 3.10:
- fix parsing of the enforcing kernel cmdline parameter
- build python module without isolation (Makefile fix)
- treewide: add .clang-format configuration file
- various libsepol bug fixes (NULL deref, use-after-free, MLS range
  validation, functionfs_seclabel policycap, bpf_token_perms polcap)

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Erik Larsson fee669b6d4 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>
2026-04-28 23:12:28 +02:00
Alexandru Ardelean 3a11691a19 python-zope-event: fix build with setuptools >= 81
The pyproject.toml for zope.event 6.1 specifies a strict build
dependency of setuptools>=78.1.1,<81. We currently package
setuptools>=81, causing pip to report a missing dependency and
fail the build.

Add patch 001-relax-setuptools-version.patch to drop the <81 upper
bound, allowing the package to build with any recent setuptools.

Add test.sh to verify the installed version and exercise the core
event API (subscribers list, notify(), event dispatch).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-27 08:25:02 +03:00
Alexandru Ardelean acfafdaa03 python-semanage: fix cross-compilation, add test.sh
Add HOST_PYTHON3_PIP_VARS and --no-build-isolation to MAKE_VARS.
Without --no-build-isolation, pip creates an isolated build environment
which fails during cross-compilation because _sysconfigdata is missing.
Aligns with python-selinux which already has this fix.

The libsemanage pywrap uses the host Python's EXT_SUFFIX to name the
C extension, so we will use the PYCEXT env-var to correct that.

Add basic test.sh to verify the semanage Python bindings load correctly
in environments without SELinux kernel support.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-25 07:48:58 +03:00
Alexandru Ardelean e2e727e686 python-selinux: fix cross-compilation, add test.sh
Add --no-build-isolation to PYTHON_SETUP_ARGS. Without it, pip creates
an isolated build environment which fails during cross-compilation
because _sysconfigdata is missing for the target arch.

Add test.sh with basic import and API sanity checks.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-25 07:48:58 +03:00
Alexandru Ardelean ccd69a148f python3-django-cors-headers: update to 4.9.0; add test.sh
Major changes since 3.10.0:

4.0:
- add CORS_ALLOW_PRIVATE_NETWORK setting for Local Network Access spec support
- add async middleware support, reducing overhead on async views
- remove deprecated CORS_REPLACE_HTTPS_REFERER and CorsPostCsrfMiddleware
- remove three header names from default allowed list (accept-encoding, dnt, origin)

4.3:
- fix access-control-allow-credentials header not being omitted on
  non-allowed responses

4.6:
- drop support for Django 3.2 through 4.1

4.9:
- add Django 6.0 support
- tighten validation of sequence-type settings (e.g. CORS_ALLOW_METHODS)

Add PYPI_SOURCE_NAME:=django_cors_headers as the 4.x sdist uses
underscores in the filename.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-21 12:35:08 +03:00
Alexandru Ardelean 970bbeb3b5 vobject: update to 0.9.9; add test.sh
Changelog since 0.9.6.1:
- add product version number to the PRODID tag in iCalendar output
- add support for GEO tags in vCards
- various bugfixes and compatibility improvements

Also need to update setup.cfg at build time to insert the version
to allow the package to build.
Otherwise we get
```
2026-04-21T08:17:17.9341927Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 296, in __setitem__
2026-04-21T08:17:17.9342520Z     parsed = self.parsers.get(option_name, lambda x: x)(value)
2026-04-21T08:17:17.9343117Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 602, in _parse_version
2026-04-21T08:17:17.9343777Z     return expand.version(self._parse_attr(value, self.package_dir, self.root_dir))
2026-04-21T08:17:17.9344201Z                           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-21T08:17:17.9344938Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 421, in _parse_attr
2026-04-21T08:17:17.9345544Z     return expand.read_attr(attr_desc, package_dir, root_dir)
2026-04-21T08:17:17.9345876Z            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-21T08:17:17.9346409Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/expand.py", line 191, in read_attr
2026-04-21T08:17:17.9346947Z     return getattr(module, attr_name)
2026-04-21T08:17:17.9347261Z AttributeError: module 'vobject' has no attribute 'VERSION'
2026-04-21T08:17:17.9598878Z
```

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-21 12:35:08 +03:00
Alexandru Ardelean 8acd8b8d13 numpy: update to 2.4.4
Patch release with stability and correctness fixes over 2.4.3:
- fix memory leak in certain array creation paths
- fix thread-safety issues in ufunc dispatch
- fix hash collisions in np.isin() on certain inputs
- fix OpenBLAS threading hang on ARM targets
- miscellaneous annotation and documentation improvements

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-21 12:35:08 +03:00
Alexandru Ardelean c391447d12 python-flask-babel: update to 4.0.0; add test.sh
Changes since 3.1.0:
- drop Python 3.7 support; add PyPy 3.9 compatibility
- replace deprecated locked_cached_property with cached_property

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-21 11:41:26 +03:00
Wei-Ting Yang 2a998b61db python-chardet: update license to 0BSD
Upstream changed the project license to 0BSD.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-04-21 11:00:30 +03:00
Alexandru Ardelean 0f833b1b9c python3-drf-nested-routers: update to 0.95.0; add test.sh
Add PYPI_SOURCE_NAME:=drf_nested_routers as the 0.95.0 sdist
uses underscores in the filename.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-18 08:07:33 +03:00
Alexandru Ardelean aa318c2850 python-pyroute2: update to 0.9.6
- bump 0.9.5 -> 0.9.6

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-18 08:07:33 +03:00
Alexandru Ardelean f707890afb python-awscli: update to 1.44.79
- bump 1.44.78 -> 1.44.79

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-18 08:07:33 +03:00
Alexandru Ardelean e18923ab66 itsdangerous: update to 2.2.0; add test.sh
- bump 2.1.2 -> 2.2.0
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-18 08:07:33 +03:00
Alexandru Ardelean 34717c6bce python-installer: use --prefix for install-path
Fixes https://github.com/openwrt/packages/issues/29177
Tested locally.

Fix provided by @xuanranran

Signed-off-by: Lovin Yarn <juanshengyuan@gmail.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 19:44:51 +03:00
Alexandru Ardelean bff9781478 python-pypubsub: update to 4.0.7
- bump 4.0.3 -> 4.0.7
- add python-setuptools-scm/host to PKG_BUILD_DEPENDS
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 19:06:09 +03:00
Alexandru Ardelean a8ddfaf5b3 python-dbus-fast: update to 4.0.4
- bump 2.21.1 -> 4.0.4
- remove over-specified runtime dependencies; 4.0.x has no runtime
  Python dependencies beyond python3-light
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 19:06:09 +03:00
Alexandru Ardelean 30535ff1a9 python-lru-dict: update to 1.4.1; add test.sh
Add PYPI_SOURCE_NAME:=lru_dict as the sdist tarball filename
uses underscores while PYPI_NAME uses hyphens.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 13:46:59 +03:00
Alexandru Ardelean baf4673b6a python-editables: update to 0.6
- bump 0.5 -> 0.6

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 13:46:59 +03:00
Alexandru Ardelean fa912f32d9 python-chardet: update to 7.4.3
- bump 7.4.1 -> 7.4.3

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 13:46:59 +03:00
Alexandru Ardelean c4eee29713 python-botocore: update to 1.42.89
- bump 1.42.88 -> 1.42.89

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 13:46:59 +03:00
Alexandru Ardelean aab93a917f python-boto3: update to 1.42.89
- bump 1.42.88 -> 1.42.89

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-17 13:46:59 +03:00
Alexandru Ardelean 8c3bc3fcf9 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>
2026-04-16 22:34:46 +03:00
Alexandru Ardelean 72aa700b23 python3: bump to version 3.14.4
Also add no-mips16 to PKG_BUILD_FLAGS.
Should fix mipsel_24kc_24kf builds.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:56 +03:00
Alexandru Ardelean 8d3c004213 treewide: set me where PKG_MAINTAINER empty
Seems a lot of packages are just getting abandoned by people.
Will pick these up and see them through.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:36 +03:00
Alexandru Ardelean ee6aae4e55 treewide: change maintainer from Daniel Danzberger to me
Change PKG_MAINTAINER from Daniel Danzberger <daniel@dd-wrt.com>
to Alexandru Ardelean <ardeleanalex@gmail.com> for:
- python-boto3
- python-botocore
- python-awscli
- python-colorama
- python-docutils
- python-jmespath
- python-psycopg2
- python-rsa
- python-s3transfer

These packages seem pretty neglected and the community has been
updating them periodically. Will pick these up to keep them
maintained.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:36 +03:00
Alexandru Ardelean d350be4874 python-ruamel-yaml: update to 0.19.1
- Bump version 0.18.16 -> 0.19.1
- Add PYPI_SOURCE_NAME:=ruamel_yaml
- Add PKG_BUILD_BUILDIR, because folder is ruamel.yaml
- Add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:29:57 +03:00
Alexandru Ardelean ffb84de5b7 python-fnv-hash-fast: update to 2.0.2
- bump 0.5.0 -> 2.0.2
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:01:19 +03:00
Alexandru Ardelean 3ee98ce42f python-pycares: update to 5.0.1
- bump 4.10.0 -> 5.0.1
- update cffi build dependency comment (cffi>=2.0.0b1 required for Python 3.14)
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:01:19 +03:00
Alexandru Ardelean 6bda1b13e6 python-bleak: update to 3.0.1
- bump 0.21.1 -> 3.0.1
- add +python3-uuid to DEPENDS (new dependency in 3.x)
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:01:19 +03:00
Alexandru Ardelean 6defd87092 python-cached-property: update to 2.0.1
- bump 1.5.2 -> 2.0.1
- add PYPI_SOURCE_NAME:=cached_property (PyPI renamed tarball from
  cached-property to cached_property)
- add PKG_BUILD_DEPENDS:=python-setuptools/host
- add +python3-asyncio +python3-logging to DEPENDS (new in 2.x)
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:01:19 +03:00
Alexandru Ardelean 0b4980efe0 python-pyusb: add version 1.3.1
PyUSB provides easy USB access in Python via libusb backend:
- Pure Python implementation working with libusb-1.0/0.1.x
- Requires Python >= 3.9
- High-level Pythonic interface to USB devices
- Supports bulk/interrupt/control/isochronous transfers
- Homepage: https://pyusb.github.io/pyusb

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:00:53 +03:00
Alexandru Ardelean bd02a7b2ee python-pyproject-metadata: update to 0.11.0
Update package to 0.11.0.

Changes since 0.9.1:

0.10.0:
- Added support for PEP 794 (METADATA 2.5) import-names and
  import-namespaces fields
- Dropped Python 3.7 support
- Fixed minimum required version of packaging dependency

0.11.0:
- Refactored internals to separate conversion and validation, yielding
  better error messages
- Added downstream project testing in CI
- Removed lingering PEP 621 terminology in favor of pyproject.toml
  terminology

Apply dos2unix

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 07:08:59 +03:00
Alexandru Ardelean 8c2e4ac456 python-pyfuse3: update to 3.4.2; add test.sh
Bump version 3.4.1 -> 3.4.2.

Changes since 3.4.1:
- Remove the deprecated pyfuse3_asyncio module (long-renamed to
  pyfuse3.asyncio)
- Fix a test failure in test_examples.py
- Modernize the build process and add more type annotations

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 07:08:59 +03:00
Alexandru Ardelean 7ca00dfa99 python-installer: update to 1.0.0
Update package to 1.0.0. This is the first stable release.

Changes since 0.7.0:
- Dropped support for Python 3.7, 3.8, 3.9; added Python 3.13/3.14
- Added --overwrite-existing and --validate-record CLI options
- Support installing multiple wheels in a single invocation
- Security: fixed a path traversal bug
- Do not install __pycache__ directories from wheels
- Switch to stream-based validation instead of in-memory (lower memory)
- Sort entries before writing RECORD; fixed Windows relative path bug
- Complete type annotations with strict mypy enforcement
- API change: SchemeDictionaryDestination.overwrite_existing now defaults
  to True (was False); update patch 001 accordingly

Remove patch 001-don-t-raise-error-if-file-exists.patch and
set '--overwrite-existing' in build scripts.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 07:08:59 +03:00
Alexandru Ardelean 1158559cef python-outcome: update to 1.3.0
Update package to 1.3.0.

Changes since 1.2.0:

1.3.0:
- Added full type hints; Value and Outcome are now generic classes
- Added Maybe type alias as a union of Value[T] and Error
- Added typed __all__ exports and marked __version__ as a public constant
- Functions that do not return are now captured as Error
- Added pyright --verifytypes to CI; strict mypy mode enabled

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 07:08:59 +03:00
Alexandru Ardelean ea30c1b1ca python-trio: update to 0.33.0; add test.sh
Bump version 0.22.2 -> 0.33.0.
Add python3-ctypes, python3-logging, python3-openssl to DEPENDS
(required by the new version).
Add test.sh to verify nursery-based concurrent task execution.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 07:08:59 +03:00
Alexandru Ardelean f530e19eb4 python-pyroute2: update to 0.9.5; add test.sh
Bump version 0.7.9 -> 0.9.5.
Add test.sh to verify IPRoute, NDB, and nlmsg imports.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 10:33:53 +03:00
Alexandru Ardelean 1c1c7ee5b9 python-maxminddb: update to 3.1.1; add test.sh
Bump version 2.4.0 -> 3.1.1.
Add python3-urllib to DEPENDS (required by new version).
Add test.sh to verify open_database and InvalidDatabaseError imports.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 10:33:53 +03:00
Alexandru Ardelean 7a428552dd python-ble2mqtt: update to 0.2.5; add test.sh
Bump version 0.2.2 -> 0.2.5.
Add test.sh to verify Device base class import.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 10:33:53 +03:00
Alexandru Ardelean 2279299c2c python-awscli: update to 1.44.78
Bump version 1.44.76 -> 1.44.78.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 10:33:53 +03:00
Alexandru Ardelean c3fc621e25 python-service-identity: update to 24.2.0; add test.sh
Bump version 23.1.0 -> 24.2.0.
Add test.sh to verify module imports and key symbols.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean a8e4f384fe python-awesomeversion: update to 25.8.0; add test.sh
Bump version 23.5.0 -> 25.8.0.
Switch build dependency from python-poetry-core to python-hatchling.
Add test.sh to verify version parsing, comparison, and strategy detection.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean c37fd13ffe python-zope-interface: update to 8.3
Bump version 8.2 -> 8.3.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean 09897982c0 python-vcs-versioning: update to 1.1.1
Bump version 1.0.1 -> 1.1.1.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean a78df1ef40 python-lxml: update to 6.0.4
Bump version 6.0.2 -> 6.0.4 (bugfix release).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean a17344c99e python-platformio: update to 6.1.19
Bump version 6.1.18 -> 6.1.19.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean 32848551ae python-maturin: update to 1.13.1
Bump version 1.12.6 -> 1.13.1.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean 922c6de5c7 python-build: update to 1.4.3
Bump version 1.4.2 -> 1.4.3.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:02:25 +03:00
Alexandru Ardelean c89332ea25 python-zeroconf: update to 0.148.0; add test.sh
Bump version 0.131.0 -> 0.148.0.
Add test.sh to verify ServiceInfo construction and attribute access.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-14 08:00:30 +03:00