diff options
author | adam <adam@pkgsrc.org> | 2022-09-06 19:13:24 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-09-06 19:13:24 +0000 |
commit | 1ab4c25ee540705fd45de0943a8dda3d20c3851b (patch) | |
tree | e6e5ed0295ba8091e2a944a0cd3b3d0c2738554b /lang/python310 | |
parent | fa56462a0a2ae6d53a2f4b4b6f8a74ca8319e801 (diff) | |
download | pkgsrc-1ab4c25ee540705fd45de0943a8dda3d20c3851b.tar.gz |
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 (limited to 'lang/python310')
-rw-r--r-- | lang/python310/Makefile | 6 | ||||
-rw-r--r-- | lang/python310/PLIST | 4 | ||||
-rw-r--r-- | lang/python310/dist.mk | 4 | ||||
-rw-r--r-- | lang/python310/distinfo | 8 |
4 files changed, 11 insertions, 11 deletions
diff --git a/lang/python310/Makefile b/lang/python310/Makefile index bf62810bb58..e7594c99391 100644 --- a/lang/python310/Makefile +++ b/lang/python310/Makefile @@ -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 @@ PTHREAD_OPTS+= require 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_ptmx=yes 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 --git a/lang/python310/PLIST b/lang/python310/PLIST index 3b664a85d90..70c4dc6ac95 100644 --- a/lang/python310/PLIST +++ b/lang/python310/PLIST @@ -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/__main__.pyo 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 --git a/lang/python310/dist.mk b/lang/python310/dist.mk index 8b95bd3a8ab..7acaae187bc 100644 --- a/lang/python310/dist.mk +++ b/lang/python310/dist.mk @@ -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 --git a/lang/python310/distinfo b/lang/python310/distinfo index 30f9a41ffdf..822f17db3c0 100644 --- a/lang/python310/distinfo +++ b/lang/python310/distinfo @@ -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 |