<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-04-04T15:27:26Z</updated>
<entry>
<title>python3: merge python3-email into python3-urllib</title>
<updated>2026-04-04T15:27:26Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-04-02T16:16:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=e0a12562b7bfd36348135cecd83073e89ebe2921'/>
<id>urn:sha1:e0a12562b7bfd36348135cecd83073e89ebe2921</id>
<content type='text'>
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 &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python3-email: add python3-urllib as dependency</title>
<updated>2026-04-01T07:29:21Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-03-30T17:29:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=a7e96ec919a1a4efcf1d05ccccda09d95f98e864'/>
<id>urn:sha1:a7e96ec919a1a4efcf1d05ccccda09d95f98e864</id>
<content type='text'>
In recent versions of Python, trying to include 'email' also pulls
in urllib from CPython.
So just add it as dependency.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python3: remove lib2to3 dep from 'python3-package-dev'</title>
<updated>2025-11-12T19:44:33Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2025-11-11T10:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=fabcdb58c6290820ffe093177e192c6adc4a5a42'/>
<id>urn:sha1:fabcdb58c6290820ffe093177e192c6adc4a5a42</id>
<content type='text'>
lib2to3 no longer exists.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python3: bump to version 3.13.9</title>
<updated>2025-11-08T09:21:38Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2024-11-24T08:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=97a92f2e7a77c39d087892f5c9a7350c31f3d65b'/>
<id>urn:sha1:97a92f2e7a77c39d087892f5c9a7350c31f3d65b</id>
<content type='text'>
Explicitly disable readline and tkinter modules for host-build.
Host-build will not build if these fail.
  - readline isn't a hard requirement for host-python; some minor lack of
    functionality would be felt, but nothing terrible
  - tkinter is also disabled on the target; but for the host-python we
    don't need it either

Dropped patch: 010-no-ncursesw.patch
  - Since we're disabling readline in the host build

Drop setuptools from python3 - the only reason we kept it there, was
because it was required by pip; pip is still there and seems to install and
work fine without setuptools. There's also a separate setuptools package in
openwrt anyway:
  https://github.com/openwrt/packages/tree/master/lang/python/python-setuptools
Also, Python no longer installs it:
  https://github.com/python/cpython/issues/95299

Drop python3-cgi - https://github.com/python/cpython/commit/08d592389603500af398d278af4842cff6f22c33
Drop distutils - https://github.com/python/cpython/commit/0faa0ba240e815614e5a2900e48007acac41b214
Drop lib2to3 - https://github.com/python/cpython/commit/ae00b810d1d3ad7f1f7e226b02ece37c986330e7

Drop patch: 0001-Adjust-library-header-paths-for-cross-compilation.patch
  - A lot of stuff has changed regarding cross-compilation; at this point
    it's unclear what we need moving forward.

Drop patch: 006-do-not-add-multiarch-local-paths.patch
  - setup.py went away, so no idea if this is needed anymore

Re-applied: 003-do-not-run-compileall.patch

Drop: 008-distutils-use-python-sysroot.patch
  - Buildroot seems to have also dropped this; this patch is from them

Added: 09-don-t-run-profile-task-during-cross-build.patch
  - For cross_compilation, running the profile-task will not work, it also
    mentions this in a comment, but nobody dared to patch it yet (at least
    in this release (3.13.9)

Re-applied: 026-openssl-feature-flags.patch
  - This could have been dropped completely, but upstream decided to keep
    scrypt on by default; for host-build this fails, because OpenWrt keeps
    libressl

Drop patch: 100-gh-95855-Refactor-platform-triplet-detection-code-GH-107221.patch
  - This was a backport; it probably should have been removed sooner

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;

wip
</content>
</entry>
<entry>
<title>python3: Restore platform triplet to paths</title>
<updated>2023-08-24T18:24:38Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-06-29T08:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0fe10114208e2c5cd572df043945a52e3ebeb6dd'/>
<id>urn:sha1:0fe10114208e2c5cd572df043945a52e3ebeb6dd</id>
<content type='text'>
This removes 014-remove-platform-so-suffix.patch and
016-adjust-config-paths.patch, restoring the platform triplet to paths
for:

* C extensions (*.cpython-311-*.so)

* Build config data directory (/usr/lib/python3.11/config-3.11-*/)

* sysconfig data file (/usr/lib/python3.11/_sysconfigdata_*.py)

Setting `_PYTHON_SYSCONFIGDATA_NAME` during package builds ensures that
sysconfig data for target Python is loaded, in particular so that C
extensions built will have the correct extension / platform triplet.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Centralize config file adjustments in Build/Install</title>
<updated>2023-08-24T17:47:43Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-06-29T08:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b595362b8567521b9bdf003dcc88f9b962c22b10'/>
<id>urn:sha1:b595362b8567521b9bdf003dcc88f9b962c22b10</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Fix package descriptions</title>
<updated>2023-08-24T17:47:42Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-07-13T05:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=329f9a139157840ad129991e961a63f7f4362d62'/>
<id>urn:sha1:329f9a139157840ad129991e961a63f7f4362d62</id>
<content type='text'>
* Fix default Python package description not included in individual
  package descriptions

* Update default Python package description text (from General Python
  FAQ, "What is Python?")

* Add package descriptions for Python module packages

* Reduce duplication in package titles

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Split setuptools into separate source package</title>
<updated>2023-05-26T14:06:24Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-18T12:38:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b4975f8bbb9f61a2a170dc1acd6cabe2b7e9f93c'/>
<id>urn:sha1:b4975f8bbb9f61a2a170dc1acd6cabe2b7e9f93c</id>
<content type='text'>
Packaging setuptools from a separate source package allows it to stay
updated with upstream.

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

setuptools 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 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-03.infra.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-03.infra.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>
</feed>
