<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/patches-host-setuptools, 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>2025-10-31T07:52:11Z</updated>
<entry>
<title>python3: update to version 3.11.4</title>
<updated>2025-10-31T07:52:11Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2025-10-21T21:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ef509da52bd470a12e259b735fa5b1c052f49bc9'/>
<id>urn:sha1:ef509da52bd470a12e259b735fa5b1c052f49bc9</id>
<content type='text'>
In this release, there is updated setuptools, so update
it as well.

Fixes CVEs:
- CVE-2025-47273
- CVE-2024-6345

Release notes:
https://pythoninsider.blogspot.com/2025/10/python-31212-31114-31019-and-3924-are.html

Patch:
- 0001-Adjust-library-header-paths-for-cross-compilation.patch
comes from buildroot [1], but they removed it as they switched to Python 3.12,
however Python 3.11 still supports distutils, but it is marked as deprecated [2]
and it will be gone in 3.12. So, don't rebase it this time as this patch does not apply
anymore due to this commit [3] and sooner switch to more up-to-date Python3 version.

[1] https://redirect.github.com/buildroot/buildroot/commit/b37e4a5f56182c5b8e4ffce433eb652174a19da6
[2] https://peps.python.org/pep-0632/
[3] https://redirect.github.com/pypa/setuptools/commit/88eb8cc66f8762e37ec78913c07ccf3e3dba05e1

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Fix building C extensions with setuptools</title>
<updated>2023-10-30T20:33:07Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-10-30T15:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=624fb955619c0b4b368e2ac1880619f159e3b8d6'/>
<id>urn:sha1:624fb955619c0b4b368e2ac1880619f159e3b8d6</id>
<content type='text'>
setuptools provides a local copy of distutils and when building a C
extension, this distutils will add the target LIBDIR (/usr/lib) to the
list of library paths.

If the build system has a libpython3.11.so in /usr/lib, then the linker
will try to link to this shared library and fail.

This adapts 008-distutils-use-python-sysroot.patch for host setuptools
to add the correct library directory.

Fixes: https://github.com/openwrt/packages/issues/22330

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.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>
</feed>
