Commit Graph

11 Commits (4fc06f45126727c0cd772febff0e4243a949156a)

Author SHA1 Message Date
Josef Schlehofer 1580cfab65 python-pip: update to 26.2.2
pip 26.2.2 only upgrades the vendored certifi to 2026.10.19. That drops
the emSign ECC Root CA - G3 and Atos TrustedRoot 2011 roots and adds
SECOM and Telia roots. The Python 3.14.9 release notes name this certifi
as the fix for the eMudhra / emSign CA incident.

python3-pip is built from the PyPI sdist and not from the wheel bundled
in ensurepip, so it needs its own update.

Refresh sha256 from the PyPI sdist. The patches apply unchanged.

Release notes: https://pip.pypa.io/en/stable/news/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-07 08:09:54 +02:00
Alexandru Ardelean 5b731fd697 python-pip: bump to 26.2.1
Refresh sha256 from the PyPI sdist and refresh 003 for the shifted line.

Retarget 002-pip-runner-pyc-fix.patch instead of dropping it: in 26.2.1
get_runnable_pip() moved from build_env.py (now a package) to
_internal/utils/misc.py. The function is otherwise unchanged and still
returns __pip-runner__.py, so the .pyc fallback is still required. We ship
pip byte-compiled only (the .py sources live in the -src package), so
without it build isolation cannot locate the runner and every PEP 517
install fails on target. This is a packaging workaround, not an upstream
bug, so upstream has no reason to carry it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-11 13:12:39 +03:00
Alexandru Ardelean fb5cc23132 python-pip: bump to 26.1.2
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-05 07:37:42 +03:00
Alexandru Ardelean c2ebcc7e9b python-pip: update to 26.0.1
Refresh all patches for pip 26.0.1:
- 001 (pyproject-hooks-pyc-fix): vendored pyproject_hooks switched
  from single to double quotes and multiline block format; restructure
  to minimal diff (keep unchanged context lines as context)
- 002 (pip-runner-pyc-fix): get_runnable_pip() shifted ~20 lines;
  Set[str] -> set[str] in trailing context; refresh offsets
- 003 (disable-pip-version-check): option definition moved ~174 lines;
  refresh line number

pip 26 also dropped the version-specific binary (e.g. pip3.14).
Update the install rule to use pip3 as the primary binary and
symlink pip/pip$(VERSION) to it.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-09 08:00:32 +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
Fabrice Fontaine acad8ffb5f lang/python/python-pip: fix PKG_CPE_ID
There is not a single CVE linked to python:pip so use pypa:pip instead:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️pypa:pip

Moreover, CPE_ID missed PKG_ prefix

Fixes: eee273507b (python3: Split pip into separate source package)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:03:49 -08:00
Jeffery To 548fdba3fd
python-pip: Update to 23.3.1, redo/refresh patches
001-pyproject-hooks-pyc-fix.patch and 002-pip-runner-pyc-fix.patch are
redone to use source files if they are present.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-26 20:16:42 +08:00
Jeffery To 87fe943112 python-pip: Update to 23.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:42:05 -07:00
Jeffery To 5e66a69433 python-pip: Update to 23.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-17 11:44:53 -07:00
Jeffery To eee273507b
python3: Split pip into separate source package
Packaging pip from a separate source package allows it to stay updated
with upstream.

Host pip will remain installed as part of python3. Host pip is used in a
much more controlled way and so is less critical for it to track
upstream.

This also removes the python-pip-conf package and installs the pip.conf
file as part of python3-pip.

The patch 003-disable-pip-version-check.patch is originally from Debian:
bb079efb8c/debian/patches/disable-pip-version-check.patch

pip was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:06:08 +08:00