From Fedora Project Wiki

< SIGs‎ | Python

No edit summary
No edit summary
Line 1: Line 1:
{{Admon/important|This URL is temporary until the system proves itself, then it will be moved to a new home.}}
{{Admon/important|This URL is temporary until the system proves itself, then it will be moved to a new home.}}


This is a catalogue of Python 2 and 3 patches and patch numbers for Fedora and RHEL. It serves two purposes:
This is a catalogue of Python 2 and 3 patches and patch numbers for Fedora and RHEL. It does not include all patches. It serves two purposes:


== Picking numbers for new patches ==
== Picking numbers for new patches ==
Line 26: Line 26:
|-
|-
| 239 || Reserved for RHEL || rh-python34-rhel-6
| 239 || Reserved for RHEL || rh-python34-rhel-6
|-
| 208 (py3) || Skip test that fails on ppc64 || Python 3
|-
| 207 (py3) || Avoid incomplete _math.o with parallel builds || Python 3
| [https://bugs.python.org/issue24421 Closed upstream] with different fix
|-
| 206 (py3) || Remove hf flag from arm triplet (Debianism) || Python 3
| Looks like this might be combined with patch 5001
|-
| 205 (py3) || configure: Make libpl respect lib64 || Python 3
|-
| 203 (py3) || Disable tests requiring signals (due to Koji behavior) || Python 3
|-
| 201 (py3) || Memleak fix || Python 3
| [http://bugs.python.org/issue18404 Upstreamed], fragment of the patch remains
|-
| 200 (py3) || Fix for gettext plural form headers || Python 3
|-
| 196 (py3) || Test failure on ppc64le || Python 3
|-
| 194 (py3) || Disable tests requiring SIGHUP (due to [https://fedorahosted.org/koji/ticket/270 Koji bug]) || Python 3
|-
| 189 (py3) || Add Rewheel to ensurepip || Python 3
|-
| 188 || Hashlib test patch || Python 3
| Looks removable
|-
| 186 || Don't raise from py_compile || Python 3
| Only a test remains in downstream patch
|-
| 184 || Fixes build of ctypes against libffi with multilib wrapper ||
|-
| 180 || Enable ppc64p7 ||
| As is, the patch is not appropriate upstream
|-
| 178 || Don't duplicate various FLAGS in sysconfig values || Python 3
| [http://bugs.python.org/issue17679 Reported], failed review
|-
|-
| 170 || Nicer C-level asserts in garbage collector || Python 3
| 170 || Nicer C-level asserts in garbage collector || Python 3
| [http://bugs.python.org/issue9263 Reported], work needed to address review comments
| [http://bugs.python.org/issue9263 Reported], work needed to address review comments
|-
| 163 || Skip test with intermittent failure ||
|-
| 160 || Skip tests that require new kernel ||
|-
| 157 || uid/gid handling, [https://bugzilla.redhat.com/show_bug.cgi?id=697470 RHBZ#697470] || || Just some tests are still downstream-only
|-
| 155 || SELinux/httpd/ctypes workaround, [https://bugzilla.redhat.com/show_bug.cgi?id=814391 RHBZ#814391] ||
|-
| 146 || Fixes for FIPS mode || || [http://bugs.python.org/issue9216 Reported], stuck
|-
| 143 || Fix --with-tsc on ppc64 || || [http://bugs.python.org/issue12872 Reported], stuck
|-
| 137 || Skip distutils tests that fail in rpmbuild ||
|-
| 132 || unittest._skipInRpmBuild ||
|-
| 111 || Disable static libpython ||
|-
| 103 || lib64-sysconfig || Python 2
|-
| 102, 104 || s./usr/lib./usr/lib64. ||
|-
| 55 || Systemtap support || || [http://bugs.python.org/issue14776 Reported], to be [http://bugs.python.org/issue21590 combined with DTrace], stalled
|-
| 1 (py3) || RPath || Python 3
|-
| 1 (py2) || pydoc -g || Python 2
|-
| 0 || Config || Python 2 || —
|}
|}

Revision as of 14:41, 12 July 2016

Important.png
This URL is temporary until the system proves itself, then it will be moved to a new home.

This is a catalogue of Python 2 and 3 patches and patch numbers for Fedora and RHEL. It does not include all patches. It serves two purposes:

Picking numbers for new patches

Patch numbers should match between all spec files (Python 2/3, Fedora/EL/SCL). This is tricky to keep track of, since not all patches appear in all specs. Hence this global catalogue.

Note that the patch doesn't have to be exactly the same in each branch: there will be slight differences if the patch (e.g. due to different Python 2/3 differences). However, if the patch fixes the same issue, then it should have the same number across all branches.

Documenting status of the patches

Patches should primarily be documented in the spec files. However, for some information it's not practical to update all specs. An example is current upstreaming status: the spec comment should link to an upstream bug if one exists, but "volatile" notes can be put in this global catalogue.


The Patches

Patch No. Patch description Where Upstream status
240 Reserved for RHEL python33-rhel6+7
239 Reserved for RHEL rh-python34-rhel-6
208 (py3) Skip test that fails on ppc64 Python 3
207 (py3) Avoid incomplete _math.o with parallel builds Python 3 Closed upstream with different fix
206 (py3) Remove hf flag from arm triplet (Debianism) Python 3 Looks like this might be combined with patch 5001
205 (py3) configure: Make libpl respect lib64 Python 3
203 (py3) Disable tests requiring signals (due to Koji behavior) Python 3
201 (py3) Memleak fix Python 3 Upstreamed, fragment of the patch remains
200 (py3) Fix for gettext plural form headers Python 3
196 (py3) Test failure on ppc64le Python 3
194 (py3) Disable tests requiring SIGHUP (due to Koji bug) Python 3
189 (py3) Add Rewheel to ensurepip Python 3
188 Hashlib test patch Python 3 Looks removable
186 Don't raise from py_compile Python 3 Only a test remains in downstream patch
184 Fixes build of ctypes against libffi with multilib wrapper
180 Enable ppc64p7 As is, the patch is not appropriate upstream
178 Don't duplicate various FLAGS in sysconfig values Python 3 Reported, failed review
170 Nicer C-level asserts in garbage collector Python 3 Reported, work needed to address review comments
163 Skip test with intermittent failure
160 Skip tests that require new kernel
157 uid/gid handling, RHBZ#697470 Just some tests are still downstream-only
155 SELinux/httpd/ctypes workaround, RHBZ#814391
146 Fixes for FIPS mode Reported, stuck
143 Fix --with-tsc on ppc64 Reported, stuck
137 Skip distutils tests that fail in rpmbuild
132 unittest._skipInRpmBuild
111 Disable static libpython
103 lib64-sysconfig Python 2
102, 104 s./usr/lib./usr/lib64.
55 Systemtap support Reported, to be combined with DTrace, stalled
1 (py3) RPath Python 3
1 (py2) pydoc -g Python 2
0 Config Python 2