<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files/python3-package-pip.mk, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2023-05-26T14:06:08Z</updated>
<entry>
<title>python3: Split pip into separate source package</title>
<updated>2023-05-26T14:06:08Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-18T05:36:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=eee273507b868ad5f6f7e744d513c85330967906'/>
<id>urn:sha1:eee273507b868ad5f6f7e744d513c85330967906</id>
<content type='text'>
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:
https://salsa.debian.org/python-team/packages/python-pip/-/blob/bb079efb8c6dd2c284eee94cf90e61bce19a6f73/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 &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Split venv module from python3-light into separate package</title>
<updated>2023-05-26T14:01:41Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-17T17:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=d53475ac21cf79bef902b61fac69ffe25a3aad2f'/>
<id>urn:sha1:d53475ac21cf79bef902b61fac69ffe25a3aad2f</id>
<content type='text'>
This adds a new subpackage for the venv module. This also moves the
ensurepip module from python3-pip into python3-venv, as ensurepip is not
necessary for pip but often used for venv.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: add 'ensurepip' to python3-pip sub-package</title>
<updated>2023-01-25T12:03:33Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2023-01-25T12:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1f317dfb75216904c92c3c8a64e088fb6b4c551b'/>
<id>urn:sha1:1f317dfb75216904c92c3c8a64e088fb6b4c551b</id>
<content type='text'>
Fixes:
  https://github.com/openwrt/packages/issues/12707

Seems to work.
Looking into the 'venv' lib, it seems it's installing pip &amp; setuptools
inside a virtual environment.

`python3-pip` is already ~6 MB.
This adds another ~3 MB.

But, this gives users the ability to run Python virtual environments, which
is a pretty common feature of Python in production cases (usually web
stuff).

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python-packages: Add usr/bin symlinks without "3" suffix</title>
<updated>2020-05-21T19:57:55Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-05-21T19:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3c36696a5652da83ad0de42d86edb271bf4db728'/>
<id>urn:sha1:3c36696a5652da83ad0de42d86edb271bf4db728</id>
<content type='text'>
Previously, binaries installed by Python packages will have a
non-suffixed Python 2 version and a suffixed Python 3 version, e.g. pip
and pip3. With the removal of Python 2, the non-suffixed names are no
longer taken.

This adds symlinks for the non-suffixed names linking to the suffixed
scripts (or in the case of pip, easy_install, and python-config, to the
fully-versioned scripts).

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-pip: Symlink pip3 to pip3.8</title>
<updated>2020-04-03T22:21:39Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-04-03T22:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=932bfe4cf3bc5087f4fdf00b2b2f140ebcf9b7e1'/>
<id>urn:sha1:932bfe4cf3bc5087f4fdf00b2b2f140ebcf9b7e1</id>
<content type='text'>
Currently, python3-pip installs the same script as pip3 and pip3.8 to
usr/bin. This changes pip3 to be a symlink to pip3.8.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-setuptools,python3-pip: Use more predictable pycache cleanup</title>
<updated>2019-05-29T14:42:02Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-05-29T14:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b8e7a197db135c2b8749ed3c7bf94b3e712e1283'/>
<id>urn:sha1:b8e7a197db135c2b8749ed3c7bf94b3e712e1283</id>
<content type='text'>
This uses two find commands to delete __pycache__ contents then the
__pycache__ directories, rather than a for loop.

The second command omits a -empty test, so that if the first command
doesn't remove all directory contents for some reason, the second
command will return an error (find will not delete a non-empty
directory).

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-setuptools,python-pip: Change prefix to /usr</title>
<updated>2019-05-29T14:38:30Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-05-29T14:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=be751236aac05cb0df7fc184691cf7d9cfe173d4'/>
<id>urn:sha1:be751236aac05cb0df7fc184691cf7d9cfe173d4</id>
<content type='text'>
This changes the --prefix option, passed to host pip when "installing"
target setuptools and pip, to /usr, in case the prefix is recorded in
the packages.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-python3-pip: add LICENSE information</title>
<updated>2019-05-21T17:46:13Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2019-05-21T13:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5f447b9020c150e58ea127cbf1b5b579615d5a73'/>
<id>urn:sha1:5f447b9020c150e58ea127cbf1b5b579615d5a73</id>
<content type='text'>
CVE id was left commented out as it is not handled by uscan.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
</content>
</entry>
<entry>
<title>python3-pip: fix install rule</title>
<updated>2019-02-27T10:18:19Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-02-27T10:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1b96dc01715f4f03f758ff1d087caf15726016af'/>
<id>urn:sha1:1b96dc01715f4f03f758ff1d087caf15726016af</id>
<content type='text'>
Fixes: https://github.com/openwrt/packages/issues/8301

This seems to have slipped for some time. No idea if it ever worked.
It could be that this worked at some point.

In any case, the shebang is properly updated now.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: move shebang handle in install script</title>
<updated>2019-02-12T10:31:55Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-02-04T14:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ed862da9367a6f488a9afee78bfc99dbc9b6906a'/>
<id>urn:sha1:ed862da9367a6f488a9afee78bfc99dbc9b6906a</id>
<content type='text'>
This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &amp;
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
</feed>
