<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/patches/001-enable-zlib.patch, 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-24T03:04:33Z</updated>
<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.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: 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.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>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.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: bump to version 3.8</title>
<updated>2019-10-21T12:24:51Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-10-18T06:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=48277ec9158151763239461c6f60808e38a99c2f'/>
<id>urn:sha1:48277ec9158151763239461c6f60808e38a99c2f</id>
<content type='text'>
This required a bit work to get working, compared to other versions. So,
some things have changed a bit more significantly.

Some highlights:
* there is no longer a pgen executable, seems this is now part of
  libpython; let's see what this means for us in the future
* blake2 hash (from OpenSSL) detection needs some fixing; will upstream
  added patch 002-fix-blake2-detection.patch
* removed all bpo patches; those should be fixed in upstream
* some needed to be manually re-applied as stuff changed:
  - 001-enable-zlib.patch  - file changed
  - 004-do-not-write-bytes-codes.patch  - file changed
  - 015-abort-on-failed-modules.patch - variable was renamed
    cross_compiling -&gt; CROSS_COMPILING
* 017_lib2to3_fix_pyc_search.patch - the code changed, it does not seem to
     have the original problem with respect to file-extension, as there
     does not seem to be any special extension logic anymore there
* 006-remove-multi-arch-and-local-paths.patch - dropped patch; I can't
     remember the full-details of this issue; it was something with
     Debian/Ubuntu's multi-arch stuff; it was probably added maybe due to
     some overzealous (on my part) thingy caused by some weird reports,
     that I could never solve; let's have this patch dropped and see
* make package/python3/refresh to reduce fuzz for the rest

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Fix compilation with deprecated OpenSSL APIs</title>
<updated>2019-03-11T22:08:09Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2018-11-19T00:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3b935060e878f9a331e240e0b42bccc44b1232ab'/>
<id>urn:sha1:3b935060e878f9a331e240e0b42bccc44b1232ab</id>
<content type='text'>
Also refreshed patches.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: update to python 3.7.0</title>
<updated>2018-07-11T04:34:54Z</updated>
<author>
<name>Martin Strobel</name>
</author>
<published>2018-07-10T18:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fe01c8fc0509d1d207c1b99d7999a254121049e1'/>
<id>urn:sha1:fe01c8fc0509d1d207c1b99d7999a254121049e1</id>
<content type='text'>
Fixes python3 host SSL build -&gt; host-pip can use https:// urls again.
Updates Pip to 10.0.1
rebased patches

Signed-off-by: Martin Strobel &lt;arctus@crza.de&gt;
</content>
</entry>
<entry>
<title>python3: bump to version 3.6.4</title>
<updated>2017-12-31T15:58:34Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-12-31T15:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4ec5d3d62f2399b01f4960daff6a7496beebc4bd'/>
<id>urn:sha1:4ec5d3d62f2399b01f4960daff6a7496beebc4bd</id>
<content type='text'>
Re-worked patch `003-do-not-run-distutils-tests.patch`
to reduce patch-size.

Removed `011-fix-ncursesw-definition-colisions.patch`
it is fixed upstream.

Refreshed with `make package/python3/refresh`

Resetting PKG_RELEASE to 1.
This variable was never used for pip3 &amp; setuptools, since
VERSION is specified in the package definitions.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: refresh patches `make package/python3/refresh` cmd</title>
<updated>2017-07-26T20:56:51Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-07-26T20:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5986c5f5cdfbc39cdfea2812af92f39275f74379'/>
<id>urn:sha1:5986c5f5cdfbc39cdfea2812af92f39275f74379</id>
<content type='text'>
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python packages: move all things python under lang/python</title>
<updated>2017-05-17T13:51:14Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-05-17T13:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=68312f49c0b4456e665ed438a86a44738caa765a'/>
<id>urn:sha1:68312f49c0b4456e665ed438a86a44738caa765a</id>
<content type='text'>
I admit this may be be a bit aggressive, but the lang
folder is getting cluttered/filled up with Python, PHP, Perl,
Ruby, etc. packages.

Makes sense to try to group them into per-lang folders.

I took the Pythons.

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