Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang python37 py37-html-docs: updated to 3.7.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f67a18ac783
branches:  trunk
changeset: 437237:8f67a18ac783
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 19 07:08:34 2020 +0000

description:
python37 py37-html-docs: updated to 3.7.9

Python 3.7.9 final

Security
bpo-41304: Fixes python3x._pth being ignored on Windows, caused by the fix for bpo-29778 (CVE-2020-15801).
bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (CVE-2020-15523).
bpo-41004: CVE-2020-14422: The __hash__() methods of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 respectively. This resulted in always 
causing hash collisions. The fix uses hash() to generate hash values for the tuple of (address, mask length, network address).
bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…).
Core and Builtins
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() correctly

Library
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-41235: Fix the error handling in ssl.SSLContext.load_dh_params().

macOS
bpo-41100: Additional fixes for testing on macOS 11 Big Sur Intel. Note: macOS 11 is not yet released, this release of Python is not fully supported on 11.0, and not all tests pass.

diffstat:

 lang/py37-html-docs/Makefile                            |   4 +-
 lang/py37-html-docs/distinfo                            |  10 +++---
 lang/python37/Makefile                                  |   3 +-
 lang/python37/PLIST                                     |   3 +-
 lang/python37/dist.mk                                   |   4 +-
 lang/python37/distinfo                                  |  12 +++----
 lang/python37/patches/patch-Lib_ipaddress.py            |  26 -----------------
 lang/python37/patches/patch-Lib_test_test__ipaddress.py |  26 -----------------
 8 files changed, 17 insertions(+), 71 deletions(-)

diffs (156 lines):

diff -r 3fc764383720 -r 8f67a18ac783 lang/py37-html-docs/Makefile
--- a/lang/py37-html-docs/Makefile      Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/py37-html-docs/Makefile      Wed Aug 19 07:08:34 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/06/30 05:56:02 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/08/19 07:08:34 adam Exp $
 
-VERS=          3.7.8
+VERS=          3.7.9
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py37-html-docs-${VERS}
 CATEGORIES=    lang python
diff -r 3fc764383720 -r 8f67a18ac783 lang/py37-html-docs/distinfo
--- a/lang/py37-html-docs/distinfo      Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/py37-html-docs/distinfo      Wed Aug 19 07:08:34 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2020/06/30 05:56:02 adam Exp $
+$NetBSD: distinfo,v 1.10 2020/08/19 07:08:34 adam Exp $
 
-SHA1 (python-3.7.8-docs-html.tar.bz2) = a90e063ffeea3db6f8e6cf2ea972ac0b477bb6e3
-RMD160 (python-3.7.8-docs-html.tar.bz2) = 470ae22ad0d13fa201e220947e41357c34f0869e
-SHA512 (python-3.7.8-docs-html.tar.bz2) = 8aaf57b0a539d98a7158ffeed03b4c631ca45e34bfc9000547b4372ecd397e79a652f297674d3af631c696d80272aedec3930f4a01b584e17c3e41e9f933e16c
-Size (python-3.7.8-docs-html.tar.bz2) = 6283763 bytes
+SHA1 (python-3.7.9-docs-html.tar.bz2) = b45e05bc0fd7eabb69475f5c4e2d504285df85be
+RMD160 (python-3.7.9-docs-html.tar.bz2) = db72e7a9ccde04a6196e985d5123f96d06682b88
+SHA512 (python-3.7.9-docs-html.tar.bz2) = 243327bdcb85b696fccf20b3cb841b398a672f07e34f441323418651ead58ab3346eff39e78501130b5d97e5d87fb72c945a9c4b9082b26577f33bd095791d55
+Size (python-3.7.9-docs-html.tar.bz2) = 6285801 bytes
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/Makefile
--- a/lang/python37/Makefile    Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/python37/Makefile    Wed Aug 19 07:08:34 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2020/08/14 19:28:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.20 2020/08/19 07:08:34 adam Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python37-${PY_DISTVERSION}
-PKGREVISION=   1
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/PLIST
--- a/lang/python37/PLIST       Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/python37/PLIST       Wed Aug 19 07:08:34 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/06/30 05:56:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2020/08/19 07:08:34 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -3053,6 +3053,7 @@
 lib/python${PY_VER_SUFFIX}/test/re_tests.py
 lib/python${PY_VER_SUFFIX}/test/re_tests.pyc
 lib/python${PY_VER_SUFFIX}/test/re_tests.pyo
+lib/python${PY_VER_SUFFIX}/test/recursion.tar
 lib/python${PY_VER_SUFFIX}/test/regrtest.py
 lib/python${PY_VER_SUFFIX}/test/regrtest.pyc
 lib/python${PY_VER_SUFFIX}/test/regrtest.pyo
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/dist.mk
--- a/lang/python37/dist.mk     Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/python37/dist.mk     Wed Aug 19 07:08:34 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.9 2020/06/30 05:56:02 adam Exp $
+# $NetBSD: dist.mk,v 1.10 2020/08/19 07:08:34 adam Exp $
 
-PY_DISTVERSION=        3.7.8
+PY_DISTVERSION=        3.7.9
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python37/distinfo
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/distinfo
--- a/lang/python37/distinfo    Wed Aug 19 07:07:46 2020 +0000
+++ b/lang/python37/distinfo    Wed Aug 19 07:08:34 2020 +0000
@@ -1,17 +1,15 @@
-$NetBSD: distinfo,v 1.19 2020/08/15 12:35:57 schmonz Exp $
+$NetBSD: distinfo,v 1.20 2020/08/19 07:08:34 adam Exp $
 
-SHA1 (Python-3.7.8.tar.xz) = ecfc1d291ab35bb7cc3a352dd9451450266f5974
-RMD160 (Python-3.7.8.tar.xz) = 67af3c8cbdfbadd49bbbb56690b3da90799dc687
-SHA512 (Python-3.7.8.tar.xz) = d2ba299e3cf8ed0f8fed9317f42bcd8d9af7e0e6175939b4be1be289c1658418bed17899e2608d762ffb15575021956cf6bf2054d7863c04b3bd7642f5b8c7ea
-Size (Python-3.7.8.tar.xz) = 17399552 bytes
+SHA1 (Python-3.7.9.tar.xz) = e1de02779a89a94000c0ed340ec126de25825f2f
+RMD160 (Python-3.7.9.tar.xz) = 6ff3676f84b1a103b0e3161dcc7257936c914daf
+SHA512 (Python-3.7.9.tar.xz) = e4217b25529b5336e43b63d17f3758a8177a58184564cf02bd92a312f58dba9e096485c9e3cb3544f966e847ea15b3ab30ed065d28a6ca52a6d7e0faddf7d9f9
+Size (Python-3.7.9.tar.xz) = 17389636 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
 SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
-SHA1 (patch-Lib_ipaddress.py) = cf3a5f76567875e74461fd87d6089494000611dc
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
 SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
-SHA1 (patch-Lib_test_test__ipaddress.py) = b7b5cf9445c5fb1e20d957e7a271802ad4854ab1
 SHA1 (patch-Makefile.pre.in) = 1393dac225c5a7edcb7947eb707b4526ea884f95
 SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/patches/patch-Lib_ipaddress.py
--- a/lang/python37/patches/patch-Lib_ipaddress.py      Wed Aug 19 07:07:46 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-Lib_ipaddress.py,v 1.1 2020/08/03 11:11:33 wiz Exp $
-
-Fix for CVE-2020-14422
-
-https://github.com/python/cpython/commit/b98e7790c77a4378ec4b1c71b84138cb930b69b7
-
---- Lib/ipaddress.py.orig      2020-06-27 08:35:53.000000000 +0000
-+++ Lib/ipaddress.py
-@@ -1442,7 +1442,7 @@ class IPv4Interface(IPv4Address):
-             return False
- 
-     def __hash__(self):
--        return self._ip ^ self._prefixlen ^ int(self.network.network_address)
-+        return hash((self._ip, self._prefixlen, int(self.network.network_address)))
- 
-     __reduce__ = _IPAddressBase.__reduce__
- 
-@@ -2088,7 +2088,7 @@ class IPv6Interface(IPv6Address):
-             return False
- 
-     def __hash__(self):
--        return self._ip ^ self._prefixlen ^ int(self.network.network_address)
-+        return hash((self._ip, self._prefixlen, int(self.network.network_address)))
- 
-     __reduce__ = _IPAddressBase.__reduce__
- 
diff -r 3fc764383720 -r 8f67a18ac783 lang/python37/patches/patch-Lib_test_test__ipaddress.py
--- a/lang/python37/patches/patch-Lib_test_test__ipaddress.py   Wed Aug 19 07:07:46 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-Lib_test_test__ipaddress.py,v 1.1 2020/08/03 11:11:33 wiz Exp $
-
-Fix for CVE-2020-14422
-
-https://github.com/python/cpython/commit/b98e7790c77a4378ec4b1c71b84138cb930b69b7
-
---- Lib/test/test_ipaddress.py.orig    2020-06-27 08:35:53.000000000 +0000
-+++ Lib/test/test_ipaddress.py
-@@ -2091,6 +2091,17 @@ class IpaddrUnitTest(unittest.TestCase):
-                          sixtofouraddr.sixtofour)
-         self.assertFalse(bad_addr.sixtofour)
- 
-+    # issue41004 Hash collisions in IPv4Interface and IPv6Interface
-+    def testV4HashIsNotConstant(self):
-+        ipv4_address1 = ipaddress.IPv4Interface("1.2.3.4")
-+        ipv4_address2 = ipaddress.IPv4Interface("2.3.4.5")
-+        self.assertNotEqual(ipv4_address1.__hash__(), ipv4_address2.__hash__())
-+
-+    # issue41004 Hash collisions in IPv4Interface and IPv6Interface
-+    def testV6HashIsNotConstant(self):
-+        ipv6_address1 = ipaddress.IPv6Interface("2001:658:22a:cafe:200:0:0:1")
-+        ipv6_address2 = ipaddress.IPv6Interface("2001:658:22a:cafe:200:0:0:2")
-+        self.assertNotEqual(ipv6_address1.__hash__(), ipv6_address2.__hash__())
- 
- if __name__ == '__main__':
-     unittest.main()


Home | Main Index | Thread Index | Old Index