pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb  4 22:11:15 UTC 2025

Modified Files:
        pkgsrc/lang/py312-html-docs: Makefile PLIST distinfo
        pkgsrc/lang/python312: Makefile PLIST dist.mk distinfo

Log Message:
python312 py312-html-docs: updated to 3.12.9

Python 3.12.9

Tests

gh-127906: Test the limited C API in test_cppext. Patch by Victor Stinner.
gh-127906: Backport test_cext from the main branch. Patch by Victor Stinner.
gh-127637: Add tests for the dis command-line interface. Patch by Bénédikt Tran.
Security
gh-105704: When using urllib.parse.urlsplit() and urllib.parse.urlparse() host parsing would not reject domain names containing square brackets ([ and ]). Square brackets are only valid for IPv6 and 
IPvFuture hosts according to RFC 3986 Section 3.2.2.
gh-127655: Fixed the asyncio.selector_events._SelectorSocketTransport transport not pausing writes for the protocol when the buffer reaches the high water mark when using 
asyncio.WriteTransport.writelines().
gh-126108: Fix a possible NULL pointer dereference in PySys_AddWarnOptionUnicode().
gh-80222: Fix bug in the folding of quoted strings when flattening an email message using a modern email policy. Previously when a quoted string was folded so that it spanned more than one line, the 
surrounding quotes and internal escapes would be omitted. This could theoretically be used to spoof header lines using a carefully constructed quoted string if the resulting rendered email was 
transmitted or re-parsed.
gh-119511: Fix a potential denial of service in the imaplib module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. On many systems this is 
harmless as unused virtual memory is only a mapping, but if this hit a virtual address size limit it could lead to a MemoryError or other process crash. On unusual systems or builds where all 
allocated memory is touched and backed by actual ram or storage it could’ve consumed resources doing so until similarly crashing.

Library

gh-129502: Unlikely errors in preparing arguments for ctypes callback are now handled in the same way as errors raised in the callback of in converting the result of the callback – using 
sys.unraisablehook() instead of sys.excepthook() and not setting sys.last_exc and other variables.
gh-129403: Corrected ValueError message for asyncio.Barrier and threading.Barrier.
gh-129409: Fix an integer overflow in the csv module when writing a data field larger than 2GB.
gh-118761: Improve import time of subprocess by lazy importing locale and signal. Patch by Taneli Hukkinen.
gh-129346: In sqlite3, handle out-of-memory when creating user-defined SQL functions.
gh-128550: Removed an incorrect optimization relating to eager tasks in asyncio.TaskGroup that resulted in cancellations being missed.
gh-128991: Release the enter frame reference within bdb callback
gh-128961: Fix a crash when setting state on an exhausted array.array iterator.
gh-128916: Do not attempt to set SO_REUSEPORT on sockets of address families other than AF_INET and AF_INET6, as it is meaningless with these address families, and the call with fail with Linux 
kernel 6.12.9 and newer.
gh-128679: Fix tracemalloc.stop() race condition. Fix tracemalloc to support calling tracemalloc.stop() in one thread, while another thread is tracing memory allocations. Patch by Victor Stinner.
gh-128562: Fix possible conflicts in generated tkinter widget names if the widget class name ends with a digit.
gh-128552: Fix cyclic garbage introduced by asyncio.loop.create_task() and asyncio.TaskGroup.create_task() holding a reference to the created task if it is eager.
gh-128479: Fix asyncio.staggered.staggered_race() leaking tasks and issuing an unhandled exception.
gh-88834: Unify the instance check for typing.Union and types.UnionType: Union now uses the instance checks against its parameters instead of the subclass checks.
gh-128302: Fix xml.dom.xmlbuilder.DOMEntityResolver.resolveEntity(), which was broken by the Python 3.0 transition.
gh-128302: Allow xml.dom.xmlbuilder.DOMParser.parse() to correctly handle xml.dom.xmlbuilder.DOMInputSource instances that only have a systemId attribute set.
gh-112064: Fix incorrect handling of negative read sizes in HTTPResponse.read. Patch by Yury Manushkin.
gh-58956: Fixed a frame reference leak in bdb.
gh-128131: Completely support random access of uncompressed unencrypted read-only zip files obtained by ZipFile.open.
gh-127975: Avoid reusing quote types in ast.unparse() if not needed.
gh-128014: Fix resetting the default window icon by passing default='' to the tkinter method wm_iconbitmap().
gh-115514: Fix exceptions and incomplete writes after asyncio._SelectorTransport is closed before writes are completed.
gh-41872: Fix quick extraction of module docstrings from a file in pydoc. It now supports docstrings with single quotes, escape sequences, raw string literals, and other Python syntax.
gh-126742: Fix support of localized error messages reported by dlerror(3) and gdbm_strerror in ctypes and dbm.gnu functions respectively. Patch by Bénédikt Tran.
gh-127870: Detect recursive calls in ctypes _as_parameter_ handling. Patch by Victor Stinner.
gh-127847: Fix the position when doing interleaved seeks and reads in uncompressed, unencrypted zip files returned by zipfile.ZipFile.open().
gh-127732: The platform module now correctly detects Windows Server 2025.
gh-93312: Include <sys/pidfd.h> to get os.PIDFD_NONBLOCK constant. Patch by Victor Stinner.
gh-83662: Add missing __class_getitem__ method to the Python implementation of functools.partial(), to make it compatible with the C version. This is mainly relevant for alternative Python 
implementations like PyPy and GraalPy, because CPython will usually use the C-implementation of that function.
gh-127586: multiprocessing.pool.Pool now properly restores blocked signal handlers of the parent thread when creating processes via either spawn or forkserver.
gh-98188: Fix an issue in email.message.Message.get_payload() where data cannot be decoded if the Content Transfer Encoding mechanism contains trailing whitespaces or additional junk text. Patch by 
Hui Liu.
gh-127257: In ssl, system call failures that OpenSSL reports using ERR_LIB_SYS are now raised as OSError.
gh-126775: Make linecache.checkcache() thread safe and GC re-entrancy safe.
gh-58956: Fixed a bug in pdb where sometimes the breakpoint won’t trigger if it was set on a function which is already in the call stack.
gh-123401: The http.cookies module now supports parsing obsolete RFC 850 date formats, in accordance with RFC 9110 requirements. Patch by Nano Zheng.
gh-123085: In a bare call to importlib.resources.files(), ensure the caller’s frame is properly detected when importlib.resources is itself available as a compiled module only (no source).
gh-122431: readline.append_history_file() now raises a ValueError when given a negative value.

Documentation

gh-125722: Require Sphinx 8.1.3 or later to build the Python documentation. Patch by Adam Turner.
gh-67206: Document that string.printable is not printable in the POSIX sense. In particular, string.printable.isprintable() returns False. Patch by Bénédikt Tran.

Core and Builtins

gh-129345: Fix null pointer dereference in syslog.openlog() when an audit hook raises an exception.
gh-129093: Fix f-strings such as f'{expr=}' sometimes not displaying the full expression when the expression contains !=.
gh-124363: Treat debug expressions in f-string as raw strings. Patch by Pablo Galindo
gh-128799: Add frame of except* to traceback when it wraps a naked exception.
gh-128078: Fix a SystemError when using anext() with a default tuple value. Patch by Bénédikt Tran.
gh-128079: Fix a bug where except* does not properly check the return value of an ExceptionGroup’s split() function, leading to a crash in some cases. Now when split() returns an invalid object, 
except* raises a TypeError with the original raised ExceptionGroup object chained to it.
gh-127903: Objects/unicodeobject.c: fix a crash on DEBUG builds in _copy_characters when there is nothing to copy.
gh-127599: Fix statistics for increments of object reference counts (in particular, when a reference count was increased by more than 1 in a single operation).
gh-111609: Respect end_offset in SyntaxError subclasses.
gh-126862: Fix a possible overflow when a class inherits from an absurd number of super-classes. Reported by Valery Fedorenko. Patch by Bénédikt Tran.
gh-117195: Avoid assertion failure for debug builds when calling object.__sizeof__(1)

C API

gh-126554: Fix error handling in ctypes.CDLL objects which could result in a crash in rare situations.
gh-107249: Implement the Py_UNUSED macro for Windows MSVC compiler. Patch by Victor Stinner.

Build

gh-129539: Don’t redefine EX_OK when the system has the sysexits.h header.
gh-128472: Skip BOLT optimization of functions using computed gotos, fixing errors on build with LLVM 19.
gh-123925: Fix building the curses module on platforms with libncurses but without libncursesw.
gh-128321: Set LIBS instead of LDFLAGS when checking if sqlite3 library functions are available. This fixes the ordering of linked libraries during checks, which was incorrect when using a statically 
linked libsqlite3.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/py312-html-docs/Makefile \
    pkgsrc/lang/py312-html-docs/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/py312-html-docs/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/python312/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/python312/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python312/dist.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/python312/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/py312-html-docs/Makefile
diff -u pkgsrc/lang/py312-html-docs/Makefile:1.9 pkgsrc/lang/py312-html-docs/Makefile:1.10
--- pkgsrc/lang/py312-html-docs/Makefile:1.9    Thu Dec  5 07:52:32 2024
+++ pkgsrc/lang/py312-html-docs/Makefile        Tue Feb  4 22:11:15 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2024/12/05 07:52:32 adam Exp $
+# $NetBSD: Makefile,v 1.10 2025/02/04 22:11:15 adam Exp $
 
-VERS=          3.12.8
+VERS=          3.12.9
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py312-html-docs-${VERS}
 CATEGORIES=    lang python
Index: pkgsrc/lang/py312-html-docs/distinfo
diff -u pkgsrc/lang/py312-html-docs/distinfo:1.9 pkgsrc/lang/py312-html-docs/distinfo:1.10
--- pkgsrc/lang/py312-html-docs/distinfo:1.9    Thu Dec  5 07:52:32 2024
+++ pkgsrc/lang/py312-html-docs/distinfo        Tue Feb  4 22:11:15 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2024/12/05 07:52:32 adam Exp $
+$NetBSD: distinfo,v 1.10 2025/02/04 22:11:15 adam Exp $
 
-BLAKE2s (python-3.12.8-docs-html.tar.bz2) = a1d1ce4d44077ff566fa8d408eebe576c4d3fda10b420db951c67cc28cb3a81f
-SHA512 (python-3.12.8-docs-html.tar.bz2) = d7010ccc74c6e9dd4bab88964dc2f1b0f087b99ab7ac7c60e653ca9dcafe5e9f25884c311f1be0fe431b942a84d53c45a1d07a3e285b81bbf785a513c27d66e1
-Size (python-3.12.8-docs-html.tar.bz2) = 8694030 bytes
+BLAKE2s (python-3.12.9-docs-html.tar.bz2) = e4c4e5f4675b06d620bfc9d1ca861b290818c8434b5e8eae97b07b0d296763d4
+SHA512 (python-3.12.9-docs-html.tar.bz2) = 808e2848469fa77b45a15891bc9482761c9b2786003b68156fe28cd5dd592cb0556224b6f322a1aa54b67d74b207fbc033cf2a7da995fac9bf4fd1187f6608b0
+Size (python-3.12.9-docs-html.tar.bz2) = 8428229 bytes

Index: pkgsrc/lang/py312-html-docs/PLIST
diff -u pkgsrc/lang/py312-html-docs/PLIST:1.7 pkgsrc/lang/py312-html-docs/PLIST:1.8
--- pkgsrc/lang/py312-html-docs/PLIST:1.7       Thu Dec  5 07:52:32 2024
+++ pkgsrc/lang/py312-html-docs/PLIST   Tue Feb  4 22:11:15 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2024/12/05 07:52:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/02/04 22:11:15 adam Exp $
 share/doc/python3.12/.buildinfo
 share/doc/python3.12/_downloads/6dc1f3f4f0e6ca13cb42ddf4d6cbc8af/tzinfo_examples.py
 share/doc/python3.12/_images/hashlib-blake2-tree.png
@@ -533,7 +533,6 @@ share/doc/python3.12/_static/pygments_da
 share/doc/python3.12/_static/rtd_switcher.js
 share/doc/python3.12/_static/search-focus.js
 share/doc/python3.12/_static/searchtools.js
-share/doc/python3.12/_static/sidebar-wrap.css
 share/doc/python3.12/_static/sidebar.js
 share/doc/python3.12/_static/sphinx_highlight.js
 share/doc/python3.12/_static/themetoggle.js

Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.26 pkgsrc/lang/python312/Makefile:1.27
--- pkgsrc/lang/python312/Makefile:1.26 Tue Jan  7 19:35:08 2025
+++ pkgsrc/lang/python312/Makefile      Tue Feb  4 22:11:15 2025
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.26 2025/01/07 19:35:08 riastradh Exp $
+# $NetBSD: Makefile,v 1.27 2025/02/04 22:11:15 adam Exp $
 
-PKGREVISION=   2
 .include "dist.mk"
 
 PKGNAME=       python312-${PY_DISTVERSION}

Index: pkgsrc/lang/python312/PLIST
diff -u pkgsrc/lang/python312/PLIST:1.11 pkgsrc/lang/python312/PLIST:1.12
--- pkgsrc/lang/python312/PLIST:1.11    Thu Dec  5 07:52:32 2024
+++ pkgsrc/lang/python312/PLIST Tue Feb  4 22:11:15 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2024/12/05 07:52:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2025/02/04 22:11:15 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/idle${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
@@ -3103,12 +3103,18 @@ lib/python${PY_VER_SUFFIX}/test/test_cap
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_dict.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_dict.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_dict.pyo
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval.py
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval.pyc
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval.pyo
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval_code_ex.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval_code_ex.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_eval_code_ex.pyo
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_exceptions.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_exceptions.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_exceptions.pyo
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_file.py
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_file.pyc
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_file.pyo
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_float.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_float.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_float.pyo
@@ -3118,6 +3124,9 @@ lib/python${PY_VER_SUFFIX}/test/test_cap
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_immortal.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_immortal.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_immortal.pyo
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_import.py
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_import.pyc
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_import.pyo
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_list.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_list.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_list.pyo
@@ -3154,6 +3163,13 @@ lib/python${PY_VER_SUFFIX}/test/test_cap
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_watchers.py
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_watchers.pyc
 lib/python${PY_VER_SUFFIX}/test/test_capi/test_watchers.pyo
+lib/python${PY_VER_SUFFIX}/test/test_cext/__init__.py
+lib/python${PY_VER_SUFFIX}/test/test_cext/__init__.pyc
+lib/python${PY_VER_SUFFIX}/test/test_cext/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/test_cext/extension.c
+lib/python${PY_VER_SUFFIX}/test/test_cext/setup.py
+lib/python${PY_VER_SUFFIX}/test/test_cext/setup.pyc
+lib/python${PY_VER_SUFFIX}/test/test_cext/setup.pyo
 lib/python${PY_VER_SUFFIX}/test/test_cgi.py
 lib/python${PY_VER_SUFFIX}/test/test_cgi.pyc
 lib/python${PY_VER_SUFFIX}/test/test_cgi.pyo
@@ -3380,6 +3396,9 @@ lib/python${PY_VER_SUFFIX}/test/test_cty
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_delattr.py
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_delattr.pyc
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_delattr.pyo
+lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_dlerror.py
+lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_dlerror.pyc
+lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_dlerror.pyo
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_errno.py
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_errno.pyc
 lib/python${PY_VER_SUFFIX}/test/test_ctypes/test_errno.pyo
@@ -5604,6 +5623,9 @@ lib/python${PY_VER_SUFFIX}/test/test_xdr
 lib/python${PY_VER_SUFFIX}/test/test_xml_dom_minicompat.py
 lib/python${PY_VER_SUFFIX}/test/test_xml_dom_minicompat.pyc
 lib/python${PY_VER_SUFFIX}/test/test_xml_dom_minicompat.pyo
+lib/python${PY_VER_SUFFIX}/test/test_xml_dom_xmlbuilder.py
+lib/python${PY_VER_SUFFIX}/test/test_xml_dom_xmlbuilder.pyc
+lib/python${PY_VER_SUFFIX}/test/test_xml_dom_xmlbuilder.pyo
 lib/python${PY_VER_SUFFIX}/test/test_xml_etree.py
 lib/python${PY_VER_SUFFIX}/test/test_xml_etree.pyc
 lib/python${PY_VER_SUFFIX}/test/test_xml_etree.pyo

Index: pkgsrc/lang/python312/dist.mk
diff -u pkgsrc/lang/python312/dist.mk:1.9 pkgsrc/lang/python312/dist.mk:1.10
--- pkgsrc/lang/python312/dist.mk:1.9   Thu Dec  5 07:52:32 2024
+++ pkgsrc/lang/python312/dist.mk       Tue Feb  4 22:11:15 2025
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.9 2024/12/05 07:52:32 adam Exp $
+# $NetBSD: dist.mk,v 1.10 2025/02/04 22:11:15 adam Exp $
 
-PY_DISTVERSION=        3.12.8
+PY_DISTVERSION=        3.12.9
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python312/distinfo

Index: pkgsrc/lang/python312/distinfo
diff -u pkgsrc/lang/python312/distinfo:1.12 pkgsrc/lang/python312/distinfo:1.13
--- pkgsrc/lang/python312/distinfo:1.12 Tue Dec 24 10:13:40 2024
+++ pkgsrc/lang/python312/distinfo      Tue Feb  4 22:11:15 2025
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2024/12/24 10:13:40 wiz Exp $
+$NetBSD: distinfo,v 1.13 2025/02/04 22:11:15 adam Exp $
 
-BLAKE2s (Python-3.12.8.tar.xz) = 06c1062a5c7be61147a56e2fca507c0aa1664d0f73497fe69fbaaf4a232f40c8
-SHA512 (Python-3.12.8.tar.xz) = 406ce1146c4c2c70d252df56bbe9e5970ef469395cbaa211a96af71f32de2cf7abd944906920cc18b4a470027e63a3f64bf7679fb4954b31bf4ca4baf24fa370
-Size (Python-3.12.8.tar.xz) = 20489808 bytes
+BLAKE2s (Python-3.12.9.tar.xz) = 2b7dc7efb289b24b19fcbe8a9d95c0ca755f6318603f41dadd30568f9ff28b11
+SHA512 (Python-3.12.9.tar.xz) = c840b14aa21e6a963d18c06ebaafb551d9c9a101b3866417e762fc4a2fde071a7a25fa257faba2956c7344bbc2413ed61690a712d26fba4d0dbeaa50e49b2574
+Size (Python-3.12.9.tar.xz) = 20502440 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
 SHA1 (patch-Lib_sysconfig.py) = bc6d91bf8f7121456b26ea7f080f588c96f2596f



Home | Main Index | Thread Index | Old Index