6 Commits

Author SHA1 Message Date
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
e0a12562b7 python3: merge python3-email into python3-urllib
As we're seeing in various test.sh scrip runs, importing 'email' fails
with not finding 'urllib' and vice-versa.

Then via a7e96ec91 ("python3-email: add python3-urllib as dependency")
I created a circular dependency.
So, might as well merge the two packages into one (named python3-urllib)
and updates all dependencies to pull python3-urllib.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-04 18:27:26 +03:00
Jeffery To
376cbe460a treewide: remove myself as maintainer
slide-switch is my software, I choose to continue to be sole maintainer.
(This was also the case in #28429.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2026-03-14 01:53:21 +08:00
Alexandru Ardelean
a7e01c91b6 treewide: add me as co-maintainer to Jeffery's packages
Add 'Alexandru Ardelean <ardeleanalex@gmail.com>' as co-maintainer
alongside Jeffery To <jeffery.to@gmail.com> for all packages where
Jeffery To is listed as maintainer.

Supersedes PR: https://github.com/openwrt/packages/pull/28429

We can have another PR where Jeffery removes himself later.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-13 19:04:53 +02:00
Alexandru Ardelean
9a5f1dc8a1 python-installer: patch behavior for when script file exists
This seems to happen when re-triggering a build.
The destination path is already there, so this exception gets raised.

Another approach is to do 'make package/<python-package>/clean' and
re-trigger the build.
But that becomes annoying.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-08 11:21:38 +02:00
Jeffery To
37caea7c93 python-installer: Add host-only package
From the README:

This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for
handling wheels and installing packages from wheels.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:35 +08:00