pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python310 python310: updated to 3.10.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81e055dc9abc
branches:  trunk
changeset: 384879:81e055dc9abc
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Sep 06 19:13:24 2022 +0000

description:
python310: updated to 3.10.7

Python 3.10.7 final

Security
gh-95778: Converting between int and str in bases other than 2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now raises a ValueError if the number of digits in string form 
is above a limit to avoid potential denial of service attacks due to the algorithmic complexity. This is a mitigation for CVE-2020-10735.

This new limit can be configured or disabled by environment variable, command line flag, or sys APIs. See the integer string conversion length limitation documentation. The default limit is 4300 
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.

Core and Builtins
gh-96187: Fixed a bug that caused _PyCode_GetExtra to return garbage for negative indexes. Patch by Pablo Galindo
gh-95876: Fix format string in _PyPegen_raise_error_known_location that can lead to memory corruption on some 64bit systems. The function was building a tuple with i (int) instead of n (Py_ssize_t) 
for Py_ssize_t arguments.
gh-95605: Fix misleading contents of error message when converting an all-whitespace string to float.
gh-93592: coroutine.throw() now properly initializes the frame.f_back when resuming a stack of coroutines. This allows e.g. traceback.print_stack() to work correctly when an exception (such as 
CancelledError) is thrown into a coroutine.
gh-94996: ast.parse() will no longer parse function definitions with positional-only params when passed feature_version less than (3, 8). Patch by Shantanu Jain.

Library
gh-68163: Correct conversion of numbers.Rational’s to float.
gh-96159: Fix a performance regression in logging TimedRotatingFileHandler. Only check for special files when the rollover time has passed.
gh-96175: Fix unused localName parameter in the Attr class in xml.dom.minidom.
gh-95609: Update bundled pip to 22.2.2.
gh-95231: Fail gracefully if EPERM or ENOSYS is raised when loading crypt methods. This may happen when trying to load MD5 on a Linux kernel with FIPS enabled.

Documentation
gh-96098: Improve discoverability of the higher level concurrent.futures module by providing clearer links from the lower level threading and multiprocessing modules.
gh-95789: Update the default RFC base URL from deprecated tools.ietf.org to datatracker.ietf.org
gh-91207: Fix stylesheet not working in Windows CHM htmlhelp docs. Contributed by C.A.M. Gerlach.
bpo-47115: The documentation now lists which members of C structs are part of the Limited API/Stable ABI.

Tests
gh-95243: Mitigate the inherent race condition from using find_unused_port() in testSockName() by trying to find an unused port a few times before failing. Patch by Ross Burton.

Build
gh-94682: Build and test with OpenSSL 1.1.1q

IDLE
gh-65802: Document handling of extensions in Save As dialogs.
gh-95191: Include prompts when saving Shell (interactive input and output).

diffstat:

 lang/python310/Makefile |  6 +++---
 lang/python310/PLIST    |  4 ++--
 lang/python310/dist.mk  |  4 ++--
 lang/python310/distinfo |  8 ++++----
 4 files changed, 11 insertions(+), 11 deletions(-)

diffs (73 lines):

diff -r 2e7f6b6be964 -r 81e055dc9abc lang/python310/Makefile
--- a/lang/python310/Makefile   Tue Sep 06 19:12:14 2022 +0000
+++ b/lang/python310/Makefile   Tue Sep 06 19:13:24 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2022/08/02 18:27:22 adam Exp $
+# $NetBSD: Makefile,v 1.16 2022/09/06 19:13:24 adam Exp $
 
 .include "dist.mk"
 
@@ -40,7 +40,7 @@
 TOOL_DEPENDS+=         ${PKGNAME}:../../${PKGPATH}
 # XXX copied from ../../lang/python/pyversion.mk to avoid including it
 # XXX should use NATIVE_PREFIX but we don't have that
-CONFIGURE_ARGS+=       PYTHON_FOR_BUILD=${PREFIX:Q}/bin/python3.10
+CONFIGURE_ARGS+=       PYTHON_FOR_BUILD=${PREFIX}/bin/python3.10
 CONFIGURE_ARGS+=       MACHDEP=${PY_PLATNAME}
 CONFIGURE_ARGS+=       \
        _PYTHON_HOST_PLATFORM=${LOWER_OPSYS}-${MACHINE_GNU_ARCH}
@@ -54,7 +54,7 @@
 CONFIGURE_ARGS.NetBSD+=        ac_cv_file__dev_ptc=no
 MAKE_ENV+=             \
        _PYTHON_HOST_PLATFORM=${LOWER_OPSYS}-${MACHINE_GNU_ARCH}
-MAKE_ENV+=             _PYTHON_PROJECT_BASE=${WRKSRC:Q}
+MAKE_ENV+=             _PYTHON_PROJECT_BASE=${WRKSRC}
 .endif
 
 # http://bugs.python.org/issue13241
diff -r 2e7f6b6be964 -r 81e055dc9abc lang/python310/PLIST
--- a/lang/python310/PLIST      Tue Sep 06 19:12:14 2022 +0000
+++ b/lang/python310/PLIST      Tue Sep 06 19:13:24 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2022/08/02 18:27:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2022/09/06 19:13:24 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1420,7 +1420,7 @@
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/__init__.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/__init__.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/__init__.pyo
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-22.2.1-py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-22.2.2-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-63.2.0-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
diff -r 2e7f6b6be964 -r 81e055dc9abc lang/python310/dist.mk
--- a/lang/python310/dist.mk    Tue Sep 06 19:12:14 2022 +0000
+++ b/lang/python310/dist.mk    Tue Sep 06 19:13:24 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.7 2022/08/02 18:27:22 adam Exp $
+# $NetBSD: dist.mk,v 1.8 2022/09/06 19:13:24 adam Exp $
 
-PY_DISTVERSION=        3.10.6
+PY_DISTVERSION=        3.10.7
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python310/distinfo
diff -r 2e7f6b6be964 -r 81e055dc9abc lang/python310/distinfo
--- a/lang/python310/distinfo   Tue Sep 06 19:12:14 2022 +0000
+++ b/lang/python310/distinfo   Tue Sep 06 19:13:24 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.18 2022/08/02 18:27:22 adam Exp $
+$NetBSD: distinfo,v 1.19 2022/09/06 19:13:24 adam Exp $
 
-BLAKE2s (Python-3.10.6.tar.xz) = 8c7f9130f6c050adb9671a9ae04c30e74253aca67583e464247cb7d8977172a2
-SHA512 (Python-3.10.6.tar.xz) = f2bf424bf4f4caa524ee1248b431e8e06d0745c3fc3ba457710d75f3698e653733feb4b059cd124f1de2a9e851c30d847f567aa47abef12898c9dc8a6507b476
-Size (Python-3.10.6.tar.xz) = 19600672 bytes
+BLAKE2s (Python-3.10.7.tar.xz) = 692c8c5ef813e9b1f0330a621b05964f338d4eea2c98fd1ccd71ab2da552cdbe
+SHA512 (Python-3.10.7.tar.xz) = dc3432d72ee7382617318c9645204876d13bb61d4caf3fbbb65e6b14897261123c743049657c95e159e5566daf4dcde613d2e393f025de758f610b44eb958313
+Size (Python-3.10.7.tar.xz) = 19618696 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 8a91e8f4f86517a62408c3a10ed5eb50c4091fbf
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390


Home | Main Index | Thread Index | Old Index