From ec8e13b00e9ce32df209553abb5fe657ef4c8c2a6bbedd3088607579a491acec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 17 Jul 2020 06:41:37 +0000 Subject: [PATCH 1/4] - Few minor fixes for the non-primary-interpreter option found in py3.9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=20 --- python38.changes | 6 ++++++ python38.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python38.changes b/python38.changes index 06f27ae..07bdbdc 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 17 06:39:45 UTC 2020 - Tomáš Chvátal + +- Few minor fixes for the non-primary-interpreter option found + in py3.9 + ------------------------------------------------------------------- Wed Jul 15 10:05:28 UTC 2020 - Callum Farmer diff --git a/python38.spec b/python38.spec index 40e5d72..89a4805 100644 --- a/python38.spec +++ b/python38.spec @@ -653,7 +653,7 @@ ln -sf python%{python_version} %{buildroot}%{_bindir}/python3 %if !%{primary_interpreter} # base rm %{buildroot}%{_bindir}/python3 -rm %{buildroot}%{_bindir}/pydocs3 +rm %{buildroot}%{_bindir}/pydoc3 rm %{buildroot}%{_mandir}/man1/python3.1 # devel rm %{buildroot}%{_bindir}/python3-config @@ -669,7 +669,7 @@ rm %{buildroot}%{_bindir}/idle3* # delete the generic 2to3 binary if we are not primary %if !%{primary_interpreter} -rm %{buildroot}%{_bindir}2to3 +rm %{buildroot}%{_bindir}/2to3 %endif # replace duplicate .pyo/.pyc with hardlinks @@ -960,8 +960,10 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo %{sitedir}/_import_failed %{sitedir}/site-packages/zzzz-import-failed-hooks.pth # symlinks +%if %{primary_interpreter} %{_bindir}/python3 %{_bindir}/pydoc3 +%endif # executables %attr(755, root, root) %{_bindir}/pydoc%{python_version} # %%attr(755, root, root) %%{_bindir}/python%%{python_abi} From 0c680d8e86929e1912e7ccebabd3a1282189c8709ed78d7005e0726059c08e87 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 20 Jul 2020 18:57:14 +0000 Subject: [PATCH 2/4] Accepting request 821971 from home:gmbr3:Active MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 3.8.5: - bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…). - bpo-41295: a regression in CPython 3.8.4 where defining “__setattr__” in a multi-inheritance setup and calling up the hierarchy chain could fail if builtins/extension types were involved in the base types. - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing. - bpo-39017: Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). - bpo-37703: Updated Documentation to comprehensively elaborate on the behaviour of gather.cancel() - bpo-41302: Enable building Python 3.8 with libmpdec-2.5.0 to ease maintenance for Linux distributions. Patch by Felix Yan. - bpo-41300: Save files with non-ascii chars. Fix regression released in 3.9.0b4 and 3.8.4. OBS-URL: https://build.opensuse.org/request/show/821971 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=21 --- Python-3.8.4.tar.xz | 3 --- Python-3.8.4.tar.xz.asc | 16 ---------------- Python-3.8.5.tar.xz | 3 +++ Python-3.8.5.tar.xz.asc | 16 ++++++++++++++++ python38.changes | 12 ++++++++++++ python38.spec | 2 +- 6 files changed, 32 insertions(+), 20 deletions(-) delete mode 100644 Python-3.8.4.tar.xz delete mode 100644 Python-3.8.4.tar.xz.asc create mode 100644 Python-3.8.5.tar.xz create mode 100644 Python-3.8.5.tar.xz.asc diff --git a/Python-3.8.4.tar.xz b/Python-3.8.4.tar.xz deleted file mode 100644 index 3f550aa..0000000 --- a/Python-3.8.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f41968a95afe9bc12192d7e6861aab31e80a46c46fa59d3d837def6a4cd4d37 -size 18020412 diff --git a/Python-3.8.4.tar.xz.asc b/Python-3.8.4.tar.xz.asc deleted file mode 100644 index 3358587..0000000 --- a/Python-3.8.4.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl8MVeUACgkQsmmV4xAl -BWjFAA/+IfMRFFDjpl+OJI4GgTIw+q4bvdB1AN/Rlq1yzNI3UP8jBb135SidcFMD -H9Nn83H3rqzYPG5wStrouOdJavT670UMrm0F4iAr99eZuqmIVVtSS2D9Bodwucua -d7QenmPGsmTce0jMmSjJ13VbO/BaBKeNlBAFWWsrco+sGExlGaUVlKyGoZr1OPkE -dqQatNM3EUa54lqTQuDCkO2pPqmNsW5fluY5OE2BVG/dOPv/yvGmG1v2klCxsIje -3/L+w7l6ggbAff1MTepbtxwDfjDNhITUEsD3musAb1jdEyrtJpEV52pSPYgNmh9o -t6zutnJyazp/MQfb1sSgGskMjc2zo41dtPOmiPK68oCWXQIXH/2Vx79gG2X48LGg -LUKVtP7cjx82klYGk3S5akiLkcayBMJQkhXYUeE1MTZz9aQ0/r1b3nNaE2/MIVdv -res/wb05eXiIVDTDdFlcP8jtB3/+ZGrvwACWJ4agG5dO64DJ3YriQ3+6CNCFgLQW -X6RW7Kzf1NRFkzBJu8/Qf7wW3+15ix7j3XPQVlW4Xg02lFckZ1ChNOvY5kYHub8C -2Dy0P2pgICcMl5UbjRfvBP44485i6rvqV9tLQrN2Y/uVmBRmupTV5RrkJDCIBURz -hCNDU2nvz18LkKdoUlUifgWxnYwaHDhu8hxW0W3/6p/PuDxmhbE= -=dfUG ------END PGP SIGNATURE----- diff --git a/Python-3.8.5.tar.xz b/Python-3.8.5.tar.xz new file mode 100644 index 0000000..79da25c --- /dev/null +++ b/Python-3.8.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3003ed57db17e617acb382b0cade29a248c6026b1bd8aad1f976e9af66a83b0 +size 18019640 diff --git a/Python-3.8.5.tar.xz.asc b/Python-3.8.5.tar.xz.asc new file mode 100644 index 0000000..3e21ae2 --- /dev/null +++ b/Python-3.8.5.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl8VnlAACgkQsmmV4xAl +BWj2+Q/9FxlF7DPcVP3+9eHsW//aXpXNm/3hFZNlvpDX5Y0qsT4mOCFlqzBVVufY +nXp+pz4l5HJGcvMfgW13aDVvl5HHK0WHEl7gI19wuE+1Ot3LO2Cq4sgNW3SzvmdF +Dif3Ovvz1mE/S5LYXfLrsmOpU9oNe1oOiHX7l8WTBArMzCckc+e6TxRlLZw0NTr4 +8mgWu9+OTw8ltOSDyGZLrzXHoRssfSSLjjwxeDm2fLYo4YWj11Q6qIFp7dUEK23d +Yv7o980fiw8VaxFFV3a/UH2EXVS+AL8Gxb7NpxS4ejtfPmLKnb0CHSjvnT45KqFi +MfkV41ng4chW4CC14rugfd2QvC9a+EIKm3Hd1qt3iFIv1pn38w8wT5Nf7tMN9lhZ +90eVh8nJAUHlAs+4Zz/crHwfxQ82pnf6TpIqJEJzaxQ3ncS0creG0jKwnWhLLheJ +TVhqAxIENVbync7mfjHD2sNknC/YqiuUGSef13Wc3d15V26HqeUULiNupsZ9n6wr +G1Llh+Wxld0kW7ht+1Gt1R1I9CsTYMWX3CvWCZVibh0ClT4r63n09kJGul4WdYp1 +IdjrEPgm0GMSRFuR1MN0qSCBkpGyYgikHJYw8fwykqi+MSp1Ibh/eO1DhuInyrbx +Rb1FicRsRi7E9Tak9yXjKzAr67dPLcPwnblTkdRINFglAP3IiGo= +=ussS +-----END PGP SIGNATURE----- diff --git a/python38.changes b/python38.changes index 07bdbdc..7a3bfb3 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 20 17:46:54 UTC 2020 - Callum Farmer + +- Update to version 3.8.5: + - bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…). + - bpo-41295: a regression in CPython 3.8.4 where defining “__setattr__” in a multi-inheritance setup and calling up the hierarchy chain could fail if builtins/extension types were involved in the base types. + - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing. + - bpo-39017: Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). + - bpo-37703: Updated Documentation to comprehensively elaborate on the behaviour of gather.cancel() + - bpo-41302: Enable building Python 3.8 with libmpdec-2.5.0 to ease maintenance for Linux distributions. Patch by Felix Yan. + - bpo-41300: Save files with non-ascii chars. Fix regression released in 3.9.0b4 and 3.8.4. + ------------------------------------------------------------------- Fri Jul 17 06:39:45 UTC 2020 - Tomáš Chvátal diff --git a/python38.spec b/python38.spec index 89a4805..99a1f59 100644 --- a/python38.spec +++ b/python38.spec @@ -87,7 +87,7 @@ %bcond_without profileopt %endif Name: %{python_pkg_name}%{psuffix} -Version: 3.8.4 +Version: 3.8.5 Release: 0 Summary: Python 3 Interpreter License: Python-2.0 From b93d18e6b58b0aa6b4c35e4b094c28e33b71921be00c7be3fea75a5531e620b8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 20 Jul 2020 19:00:20 +0000 Subject: [PATCH 3/4] Fix changes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=22 --- python38.changes | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/python38.changes b/python38.changes index 7a3bfb3..d8c64d7 100644 --- a/python38.changes +++ b/python38.changes @@ -2,13 +2,23 @@ Mon Jul 20 17:46:54 UTC 2020 - Callum Farmer - Update to version 3.8.5: - - bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…). - - bpo-41295: a regression in CPython 3.8.4 where defining “__setattr__” in a multi-inheritance setup and calling up the hierarchy chain could fail if builtins/extension types were involved in the base types. - - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing. - - bpo-39017: Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). - - bpo-37703: Updated Documentation to comprehensively elaborate on the behaviour of gather.cancel() - - bpo-41302: Enable building Python 3.8 with libmpdec-2.5.0 to ease maintenance for Linux distributions. Patch by Felix Yan. - - bpo-41300: Save files with non-ascii chars. Fix regression released in 3.9.0b4 and 3.8.4. + - bpo-39603: Prevent http header injection by rejecting control + characters in http.client.putrequest(…). + - bpo-41295: a regression in CPython 3.8.4 where defining + “__setattr__” in a multi-inheritance setup and calling up the + hierarchy chain could fail if builtins/extension types were + involved in the base types. + - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the + C implementation raises now UnpicklingError instead of + crashing. + - bpo-39017: Avoid infinite loop when reading specially crafted + TAR files using the tarfile module (CVE-2019-20907, bsc#1174091). + - bpo-37703: Updated Documentation to comprehensively elaborate + on the behaviour of gather.cancel() + - bpo-41302: Enable building Python 3.8 with libmpdec-2.5.0 to + ease maintenance for Linux distributions. Patch by Felix Yan. + - bpo-41300: Save files with non-ascii chars. Fix regression + released in 3.9.0b4 and 3.8.4. ------------------------------------------------------------------- Fri Jul 17 06:39:45 UTC 2020 - Tomáš Chvátal From 43225ab2cb7593f4407283fd8ef973409e15f80fab8f109f6145406f7f2db447 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 21 Jul 2020 06:55:47 +0000 Subject: [PATCH 4/4] Accepting request 821974 from home:gmbr3:Active Changelog fix OBS-URL: https://build.opensuse.org/request/show/821974 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=23 --- python38.changes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python38.changes b/python38.changes index d8c64d7..915cc21 100644 --- a/python38.changes +++ b/python38.changes @@ -1,10 +1,10 @@ ------------------------------------------------------------------- Mon Jul 20 17:46:54 UTC 2020 - Callum Farmer -- Update to version 3.8.5: +- Update to version 3.8.5: - bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…). - - bpo-41295: a regression in CPython 3.8.4 where defining + - bpo-41295: Resolve a regression in CPython 3.8.4 where defining “__setattr__” in a multi-inheritance setup and calling up the hierarchy chain could fail if builtins/extension types were involved in the base types.