<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/patches/004-do-not-write-bytes-codes.patch, 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-03-20T13:25:40Z</updated>
<entry>
<title>python3: bump to 3.14.3</title>
<updated>2026-03-20T13:25:40Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-03-14T17:03:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=f22ab5cf660dd124821834ae2028cd25ed8818d0'/>
<id>urn:sha1:f22ab5cf660dd124821834ae2028cd25ed8818d0</id>
<content type='text'>
Major version bump from 3.13.9 to 3.14.3.

Highlights of Python 3.14:
- PEP 649: Deferred evaluation of annotations
- PEP 750: Template string literals (t-strings)
- PEP 758: Exception syntax simplification (no brackets needed)
- PEP 765: Restrict control flow in finally blocks
- PEP 779: Official free-threaded mode support
- PEP 784: Zstandard compression module
- UUID versions 6-8 support with faster generation
- Formally verified HMAC implementation
- Experimental JIT compiler support
- Tail-call interpreter option for performance

Full release notes:
https://www.python.org/downloads/release/python-3143/

Dropped 100-test_hashlib-better-handle-support-for-SHA3.patch (upstreamed)
Adapted 027-fix-host-build-libressl.patch (for
X509_VERIFY_PARAM_get_hostflags() )

Refreshed other patches.

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: Bump version 3.11 to 3.11.9</title>
<updated>2024-11-07T23:06:56Z</updated>
<author>
<name>Sean Khan</name>
</author>
<published>2024-06-28T02:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=49e3c330d4b5e17a740bc51b7ebbb9a42c67e505'/>
<id>urn:sha1:49e3c330d4b5e17a740bc51b7ebbb9a42c67e505</id>
<content type='text'>
Also bumps setuptools to version 24.0

Run tested: aarch64, Dynalink DL-WRX36, Master Branch

Maintainer: Jeffery To &lt;jeffery.to@gmail.com&gt;

Signed-off-by: Sean Khan &lt;datapronix@protonmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Update to 3.11.3, refresh/redo patches</title>
<updated>2023-05-24T03:04:33Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-05T09:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=2445fe9fb25e6d9eed28aa9ad237bd250d1600d1'/>
<id>urn:sha1:2445fe9fb25e6d9eed28aa9ad237bd250d1600d1</id>
<content type='text'>
* Removed patches:

  * 001-enable-zlib.patch: zlib module should be enabled automatically

  * 007-distutils-do-not-adjust-path.patch: Not necessary since we
    process shebang lines for all scripts (in python3-package.mk)

  * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch:
    Already merged

* Move configure vars from config.site back into Makefile

  Centralizing all build information into one file makes it easier to
  maintain

* No longer set ac_cv_header_uuid_h=yes as configure should detect
  libuuid

* Order configure args by enable-/disable-/with-/without-, then
  alphabetically

* Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the
  OpenSSL API tests with LibreSSL

* Use the default Host/Compile recipe instead of picking out specific
  targets to make

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: update to 3.10.7</title>
<updated>2022-10-10T14:59:12Z</updated>
<author>
<name>Michal Vasilek</name>
</author>
<published>2022-10-10T13:39:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=e9ddc479f9a77b9d173081bbc57cd805b24942d8'/>
<id>urn:sha1:e9ddc479f9a77b9d173081bbc57cd805b24942d8</id>
<content type='text'>
* fixes CVE-2021-28861
* adjust pip and setuptools versions
* refresh patches

Signed-off-by: Michal Vasilek &lt;michal.vasilek@nic.cz&gt;
</content>
</entry>
<entry>
<title>python3: Update to 3.10.5, refresh patches</title>
<updated>2022-06-13T10:21:20Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2022-06-13T10:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=57e2b656cb293b9d7991bfe8aa4ffe9fe59dfbfd'/>
<id>urn:sha1:57e2b656cb293b9d7991bfe8aa4ffe9fe59dfbfd</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: bump to version 3.10.0</title>
<updated>2021-11-19T11:30:14Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2021-10-27T09:10:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=4e05541782edeb06b51d691dadf52648df24c940'/>
<id>urn:sha1:4e05541782edeb06b51d691dadf52648df24c940</id>
<content type='text'>
Manually re-applied:
  008-distutils-use-python-sysroot.patch
  016-adjust-config-paths.patch

Drop patch: 003-do-not-run-distutils-tests.patch
There is now a configure option '--disable-test-modules'
And seems we left the '_ctypes_test' around for quite some time.
Dropped now.
Refs:
  https://bugs.python.org/issue27640
  https://bugs.python.org/issue43282

Drop patch: 013-getbuildinfo-date-time-source-date-epoch.patch
Python build honors SOURCE_DATE_EPOCH pretty well now.

Drop setuptools patches. Setuptools should be reproducible with Python 3.6+
according to a mention here:
  https://github.com/pypa/setuptools/pull/1690#issuecomment-536517456
It's time to let upstream fix Setuptools reproduce-ability.

Drop patch: 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch
I can't seem to fully remember why it's there.
And it seem to build fine without it.

Drop patch: 015-abort-on-failed-modules.patch
Python build supports a similar PYTHONSTRICTEXTENSIONBUILD=1 env-var
option.

Add patch: 026-openssl-feature-flags.patch
We need to keep this in our tree for a while.
See:
  https://bugs.python.org/issue45627

Backport patch: 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
Link: https://github.com/python/cpython/pull/29353
Fixes the build for uuid C module.

Add patch: 028-host-python-support-ssl-with-libressl.patch
We need the _ssl module working on the host-side with LibreSSL for pip to
work to download from https://pypi.org
Refs: https://github.com/openwrt/openwrt/pull/4749

Add patch: 029-disable-deprecation-warning.patch
Fixes apparmor build. The warning causes a configure error.

Refreshed the rest of patches.

Some old build-flags were removed. They don't seem to be necessary anymore.

Split python3-uuid from python3-light. To better manage the libuuid library
(if needed). Also, fixing the uuid C module build. Seems this was failing,
and was falling back to using hashlib.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: Run refresh on all packages</title>
<updated>2021-02-21T00:02:15Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-02-21T00:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5d8d4fbbcb5c5de9370711c19bb3510210989a98'/>
<id>urn:sha1:5d8d4fbbcb5c5de9370711c19bb3510210989a98</id>
<content type='text'>
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: bump to version 3.9.0</title>
<updated>2020-10-19T08:01:12Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2020-10-05T07:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=cc332fddaa7db1887a123681320b3a767f04fbe6'/>
<id>urn:sha1:cc332fddaa7db1887a123681320b3a767f04fbe6</id>
<content type='text'>
Refreshed patches.

Dropped 'patches-setuptools/004-site-patch.patch'
Does not apply anymore. Setuptools has removed site.py support:
   https://github.com/pypa/setuptools/issues/2165
If this is still needed, we may need to re-think it's implementation.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Update to 3.8.3, refresh patches</title>
<updated>2020-05-20T09:40:38Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-05-20T09:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0254a4bea90442bd8504fe85dd9f5c5502f67c4a'/>
<id>urn:sha1:0254a4bea90442bd8504fe85dd9f5c5502f67c4a</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
</feed>
