Skip to content

Commit 6057cc7

Browse files
mceplbmwiedemann
authored andcommitted
Update python36 to version 3.6.12 / rev 5 via SR 853314
https://build.opensuse.org/request/show/853314 by user mcepl + dimstar_suse - (bsc#1179630) Update sphinx-update-removed-function.patch to work with all versions of Sphinx (not binding the Python documentation build to the latest verison of Sphinx). Updated version mentioned on gh#python/cpython#13236. - Add CVE-2020-27619-no-eval-http-content.patch fixing CVE-2020-27619 (bsc#1178009), where Lib/test/multibytecodec_support calls eval() on content retrieved via HTTP. - Add patch sphinx-update-removed-function.patch to no longer call a now removed function (gh#python/cpython#13236). As a consequence, no longer pin Sphinx version. - Pin Sphinx version to fix doc subpackage - Change setuptools and pip version numbers according to new wheels - Add ignore_pip_deprec_warn.patch to switch of persistently failing test. - Replace bundled wheels for pip and se
1 parent 5f006e4 commit 6057cc7

4 files changed

Lines changed: 18 additions & 4 deletions

File tree

‎packages/p/python36/.files‎

0 Bytes
Binary file not shown.

‎packages/p/python36/.rev‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,4 +2155,13 @@ http://lists.opensuse.org/opensuse-packaging/2012-09/msg00254.html
21552155
</comment>
21562156
<requestid>853314</requestid>
21572157
</revision>
2158+
<revision rev="6" vrev="6">
2159+
<srcmd5>53ef463185bc85b5458d4d7283385066</srcmd5>
2160+
<version>3.6.12</version>
2161+
<time>1607430272</time>
2162+
<user>dimstar_suse</user>
2163+
<comment>- Adjust sphinx-update-removed-function.patch
2164+
</comment>
2165+
<requestid>853646</requestid>
2166+
</revision>
21582167
</revisionlist>

‎packages/p/python36/python36.changes‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Mon Dec 7 18:40:07 UTC 2020 - Matej Cepl <mcepl@suse.com>
3+
4+
- Adjust sphinx-update-removed-function.patch
5+
16
-------------------------------------------------------------------
27
Sat Dec 5 16:37:56 UTC 2020 - Matej Cepl <mcepl@suse.com>
38

‎packages/p/python36/sphinx-update-removed-function.patch‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Subject: [PATCH] Fix sphinx deprecation warning about env.note_versionchange()
1515
node.append(para)
1616
env = self.state.document.settings.env
1717
- env.note_versionchange('deprecated', version[0], node, self.lineno)
18-
+ # new method
19-
+ if hasattr(env, 'get_domain'):
20-
+ env.get_domain('changeset').note_changeset(node)
2118
+ # deprecated pre-Sphinx-2 method
22-
+ else:
19+
+ if hasattr(env, 'note_versionchange'):
2320
+ env.note_versionchange('deprecated', version[0], node, self.lineno)
21+
+ # new method
22+
+ else:
23+
+ env.get_domain('changeset').note_changeset(node)
2424
return [node] + messages
2525

2626
-

0 commit comments

Comments
 (0)