pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python310
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 6 19:13:24 UTC 2022
Modified Files:
pkgsrc/lang/python310: Makefile PLIST dist.mk distinfo
Log Message:
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).
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/python310/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python310/PLIST \
pkgsrc/lang/python310/dist.mk
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/python310/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python310/Makefile
diff -u pkgsrc/lang/python310/Makefile:1.15 pkgsrc/lang/python310/Makefile:1.16
--- pkgsrc/lang/python310/Makefile:1.15 Tue Aug 2 18:27:22 2022
+++ pkgsrc/lang/python310/Makefile Tue Sep 6 19:13:24 2022
@@ -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_
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
Index: pkgsrc/lang/python310/PLIST
diff -u pkgsrc/lang/python310/PLIST:1.7 pkgsrc/lang/python310/PLIST:1.8
--- pkgsrc/lang/python310/PLIST:1.7 Tue Aug 2 18:27:22 2022
+++ pkgsrc/lang/python310/PLIST Tue Sep 6 19:13:24 2022
@@ -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/__m
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
Index: pkgsrc/lang/python310/dist.mk
diff -u pkgsrc/lang/python310/dist.mk:1.7 pkgsrc/lang/python310/dist.mk:1.8
--- pkgsrc/lang/python310/dist.mk:1.7 Tue Aug 2 18:27:22 2022
+++ pkgsrc/lang/python310/dist.mk Tue Sep 6 19:13:24 2022
@@ -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
Index: pkgsrc/lang/python310/distinfo
diff -u pkgsrc/lang/python310/distinfo:1.18 pkgsrc/lang/python310/distinfo:1.19
--- pkgsrc/lang/python310/distinfo:1.18 Tue Aug 2 18:27:22 2022
+++ pkgsrc/lang/python310/distinfo Tue Sep 6 19:13:24 2022
@@ -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