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: Sat Jun 8 07:39:40 UTC 2024
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.4
Python 3.12.4
Security
gh-118486: os.mkdir() on Windows now accepts mode of 0o700 to restrict the new directory to the current user. This fixes CVE-2024-4030 affecting tempfile.mkdtemp() in scenarios where the base
temporary directory is more permissive than the default.
gh-116741: Update bundled libexpat to 2.6.2
gh-117233: Detect BLAKE2, SHA3, Shake, & truncated SHA512 support in the OpenSSL-ish libcrypto library at build time. This allows hashlib to be used with libraries that do not to support every
algorithm that upstream OpenSSL does.
Core and Builtins
gh-119821: Fix execution of annotation scopes within classes when globals is set to a non-dict. Patch by Jelle Zijlstra.
gh-118263: Speed up os.path.normpath() with a direct C call.
gh-119311: Fix bug where names are unexpectedly mangled in the bases of generic classes.
gh-119395: Fix bug where names appearing after a generic class are mangled as if they are in the generic class.
gh-118507: Fix os.path.isfile() on Windows for pipes.
gh-119213: Non-builtin modules built with argument clinic were crashing if used in a subinterpreter before the main interpreter. The objects that were causing the problem by leaking between
interpreters carelessly have been fixed.
gh-119011: Fixes type.__type_params__ to return an empty tuple instead of a descriptor.
gh-118997: Fix _Py_ClearImmortal() assertion: use _Py_IsImmortal() to tolerate reference count lower than _Py_IMMORTAL_REFCNT. Fix the assertion for the stable ABI, when a C extension is built with
Python 3.11 or lower. Patch by Victor Stinner.
gh-118513: Fix incorrect UnboundLocalError when two comprehensions in the same function both reference the same name, and in one comprehension the name is bound while in the other it’s an implicit
global.
gh-118164: Break a loop between the Python implementation of the decimal module and the Python code for integer to string conversion. Also optimize integer to string conversion for values in the
range from 9_000 to 135_000 decimal digits.
gh-118272: Fix bug where generator.close does not free the generator frame’s locals.
gh-116767: Fix crash in compiler on ‘async with’ that has many context managers.
gh-117894: Prevent agen.aclose() objects being re-used after .throw().
gh-117881: prevent concurrent access to an async generator via athrow().throw() or asend().throw()
gh-115874: Fixed a possible segfault during garbage collection of _asyncio.FutureIter objects
Library
gh-119819: Fix regression to allow logging configuration with multiprocessing queue types.
gh-89727: Fix issue with shutil.rmtree() where a RecursionError is raised on deep directory trees.
gh-89727: Partially fix issue with shutil.rmtree() where a RecursionError is raised on deep directory trees. A recursion error is no longer raised when rmtree.avoids_symlink_attacks is false.
gh-119118: Fix performance regression in the tokenize module by caching the line token attribute and calculating the column offset more efficiently.
gh-89727: Fix issue with os.fwalk() where a RecursionError was raised on deep directory trees by adjusting the implementation to be iterative instead of recursive.
gh-113892: Now, the method sock_connect of asyncio.ProactorEventLoop raises a ValueError if given socket is not in non-blocking mode, as well as in other loop implementations.
gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry Patch by Wulian233 and Terry Jan Reedy
gh-118643: Fix an AttributeError in the email module when re-fold a long address list. Also fix more cases of incorrect encoding of the address separator in the address list.
gh-58933: Make pdb return to caller frame correctly when f_trace of the caller frame is not set
gh-118868: Fixed issue where kwargs were no longer passed to the logging handler QueueHandler
gh-118164: The Python implementation of the decimal module could appear to hang in relatively small power cases (like 2**117) if context precision was set to a very high value. A different method to
check for exactly representable results is used now that doesn’t rely on computing 10**precision (which could be effectively too large to compute).
gh-118404: Fix inspect.signature() for non-comparable callables.
gh-118314: Fix an edge case in binascii.a2b_base64() strict mode, where excessive padding is not detected when no padding is necessary.
gh-118042: Fix an unraisable exception in telnetlib.Telnet.__del__() when the __init__() method was not called.
gh-118221: Fix a bug where sqlite3.iterdump() could fail if a custom row factory was used. Patch by Erlend Aasland.
gh-118013: Fix regression introduced in gh-103193 that meant that calling inspect.getattr_static() on an instance would cause a strong reference to that instance’s class to persist in an internal
cache in the inspect module. This caused unexpected memory consumption if the class was dynamically created, the class held strong references to other objects which took up a significant amount of
memory, and the cache contained the sole strong reference to the class. The fix for the regression leads to a slowdown in getattr_static(), but the function should still be significantly faster than
it was in Python 3.11. Patch by Alex Waygood.
gh-90848: Fixed unittest.mock.create_autospec() to configure parent mock with keyword arguments.
gh-118168: Fix incorrect argument substitution when typing.Unpack is used with the builtin tuple. typing.Unpack now raises TypeError when used with certain invalid types. Patch by Jelle Zijlstra.
gh-118033: Fix dataclasses.dataclass() not creating a __weakref__ slot when subclassing typing.Generic.
gh-117535: Do not try to get the source line for made up file name “sys” in warnings.
gh-114053: Fix erroneous NameError when calling typing.get_type_hints() on a class that made use of PEP 695 type parameters in a module that had from __future__ import annotations at the top of the
file. Patch by Alex Waygood.
gh-117995: Don’t raise DeprecationWarning when a sequence of parameters is used to bind indexed, nameless placeholders. See also gh-100668.
gh-80361: Fix TypeError in email.message.Message.get_payload() when the charset is RFC 2231 encoded.
gh-86650: Fix IndexError when parse some emails with invalid Message-ID (including one-off addresses generated by Microsoft Outlook).
gh-117691: Improve the error messages emitted by tarfile deprecation warnings relating to PEP 706. If a filter argument is not provided to extract() or extractall, the deprecation warning now points
to the line in the user’s code where the relevant function was called. Patch by Alex Waygood.
gh-77102: site module now parses .pth file with UTF-8 first, and locale encoding if UnicodeDecodeError happened. It supported only locale encoding before.
gh-117692: Fixes a bug when doctest.DocTestFinder was failing on wrapped builtin_function_or_method.
gh-117566: ipaddress.IPv6Address.is_loopback() will now return True for IPv4-mapped loopback addresses, i.e. addresses in the ::ffff:127.0.0.0/104 address space.
gh-117503: Fix support of non-ASCII user names in bytes paths in os.path.expanduser() on Posix.
gh-117313: Only treat '\n', '\r' and '\r\n' as line separators in re-folding the email messages. Preserve control characters '\v', '\f', '\x1c', '\x1d' and '\x1e' and Unicode line separators '\x85',
'\u2028' and '\u2029' as is.
gh-113171: Fixed various false positives and false negatives in
ipaddress.IPv4Address.is_private (see these docs for details)
ipaddress.IPv4Address.is_global
ipaddress.IPv6Address.is_private
ipaddress.IPv6Address.is_global
Also in the corresponding ipaddress.IPv4Network and ipaddress.IPv6Network attributes.
gh-103956: Fix lack of newline characters in trace module output when line tracing is enabled but source code line for current frame is not available.
gh-92081: Fix missing spaces in email headers when the spaces are mixed with encoded 8-bit characters.
gh-103194: Prepare Tkinter for C API changes in Tcl 8.7/9.0 to avoid _tkinter.Tcl_Obj being unexpectedly returned instead of bool, str, bytearray, or int.
gh-87106: Fixed handling in inspect.Signature.bind() of keyword arguments having the same name as positional-only arguments when a variadic keyword argument (e.g. **kwargs) is present.
bpo-45767: Fix integer conversion in os.major(), os.minor(), and os.makedev(). Support device numbers larger than 2**63-1. Support non-existent device number (NODEV).
bpo-40943: Fix several IndexError when parse emails with truncated Message-ID, address, routes, etc, e.g. example@.
bpo-30988: Fix parsing of emails with invalid address headers having a leading or trailing dot. Patch by tsufeki.
gh-67693: Fix urllib.parse.urlunparse() and urllib.parse.urlunsplit() for URIs with path starting with multiple slashes and no authority. Based on patch by Ashwin Ramaswami.
bpo-15010: unittest.TestLoader.discover() now saves the original value of unittest.TestLoader._top_level_dir and restores it at the end of the call.
Documentation
gh-117928: The minimum Sphinx version required for the documentation is now 6.2.1.
gh-91565: Changes to documentation files and config outputs to reflect the new location for reporting bugs - i.e. GitHub rather than bugs.python.org.
Tests
gh-119050: regrtest test runner: Add XML support to the refleak checker (-R option). Patch by Victor Stinner.
Windows
gh-119690: Adds Unicode support and fixes audit events for _winapi.CreateNamedPipe.
gh-119070: Fixes py.exe handling of shebangs like /usr/bin/env python3.12, which were previously interpreted as python3.exe instead of python3.12.exe.
gh-118347: Fixes launcher updates not being installed.
gh-115009: Update Windows installer to use SQLite 3.45.3.
gh-90329: Suppress the warning displayed on virtual environment creation when the requested and created paths differ only by a short (8.3 style) name. Warnings will continue to be shown if a junction
or symlink in the path caused the venv to be created in a different location than originally requested.
macOS
gh-115009: Update macOS installer to use SQLite 3.45.3.
gh-116145: Update macOS installer to Tcl/Tk 8.6.14.
IDLE
bpo-34774: Use user-selected color theme for Help => IDLE Doc.
C API
gh-119585: Fix crash when a thread state that was created by PyGILState_Ensure() calls a destructor that during PyThreadState_Clear() that calls back into PyGILState_Ensure() and
PyGILState_Release(). This might occur when in the free-threaded build or when using thread-local variables whose destructors call PyGILState_Ensure().
gh-117534: Improve validation logic in the C implementation of datetime.fromisoformat() to better handle invalid years. Patch by Vlad Efanov.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py312-html-docs/Makefile \
pkgsrc/lang/py312-html-docs/PLIST pkgsrc/lang/py312-html-docs/distinfo
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/python312/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python312/PLIST \
pkgsrc/lang/python312/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/python312/dist.mk
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.4 pkgsrc/lang/py312-html-docs/Makefile:1.5
--- pkgsrc/lang/py312-html-docs/Makefile:1.4 Tue Apr 9 16:57:46 2024
+++ pkgsrc/lang/py312-html-docs/Makefile Sat Jun 8 07:39:40 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2024/04/09 16:57:46 adam Exp $
+# $NetBSD: Makefile,v 1.5 2024/06/08 07:39:40 adam Exp $
-VERS= 3.12.3
+VERS= 3.12.4
DISTNAME= python-${VERS}-docs-html
PKGNAME= py312-html-docs-${VERS}
CATEGORIES= lang python
Index: pkgsrc/lang/py312-html-docs/PLIST
diff -u pkgsrc/lang/py312-html-docs/PLIST:1.4 pkgsrc/lang/py312-html-docs/PLIST:1.5
--- pkgsrc/lang/py312-html-docs/PLIST:1.4 Tue Apr 9 16:57:46 2024
+++ pkgsrc/lang/py312-html-docs/PLIST Sat Jun 8 07:39:40 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2024/04/09 16:57:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/06/08 07:39:40 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
@@ -111,6 +111,7 @@ share/doc/python3.12/_sources/howto/ipad
share/doc/python3.12/_sources/howto/isolating-extensions.rst.txt
share/doc/python3.12/_sources/howto/logging-cookbook.rst.txt
share/doc/python3.12/_sources/howto/logging.rst.txt
+share/doc/python3.12/_sources/howto/mro.rst.txt
share/doc/python3.12/_sources/howto/perf_profiling.rst.txt
share/doc/python3.12/_sources/howto/pyporting.rst.txt
share/doc/python3.12/_sources/howto/regex.rst.txt
@@ -652,6 +653,7 @@ share/doc/python3.12/howto/ipaddress.htm
share/doc/python3.12/howto/isolating-extensions.html
share/doc/python3.12/howto/logging-cookbook.html
share/doc/python3.12/howto/logging.html
+share/doc/python3.12/howto/mro.html
share/doc/python3.12/howto/perf_profiling.html
share/doc/python3.12/howto/pyporting.html
share/doc/python3.12/howto/regex.html
Index: pkgsrc/lang/py312-html-docs/distinfo
diff -u pkgsrc/lang/py312-html-docs/distinfo:1.4 pkgsrc/lang/py312-html-docs/distinfo:1.5
--- pkgsrc/lang/py312-html-docs/distinfo:1.4 Tue Apr 9 16:57:46 2024
+++ pkgsrc/lang/py312-html-docs/distinfo Sat Jun 8 07:39:40 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2024/04/09 16:57:46 adam Exp $
+$NetBSD: distinfo,v 1.5 2024/06/08 07:39:40 adam Exp $
-BLAKE2s (python-3.12.3-docs-html.tar.bz2) = 5e80d0becb500c6c7e7612d5489c7126292aafc09e1db653256ca054c70ee321
-SHA512 (python-3.12.3-docs-html.tar.bz2) = 2b4cc99d1e22a77959e82c910303d4247efa6579060cb3c69b0d9dd1b868dc1637eb1443552fd89d5314c6d7d01c579e2113539491ebc0fa5ec4a6f2ab0b4d98
-Size (python-3.12.3-docs-html.tar.bz2) = 8304437 bytes
+BLAKE2s (python-3.12.4-docs-html.tar.bz2) = 93ce6b037eed015387ba7edce3cb13a746e60ce3936a579b929968fef0b6749a
+SHA512 (python-3.12.4-docs-html.tar.bz2) = 7b44626434d9b0eb486e4ffd7ea4377c0a79519c9c8d0c54341358ee3d1d7c100c01a8935c74d783e05e557c6c13372347c3e8da7ab564926a3a95b907c1510e
+Size (python-3.12.4-docs-html.tar.bz2) = 8455506 bytes
Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.17 pkgsrc/lang/python312/Makefile:1.18
--- pkgsrc/lang/python312/Makefile:1.17 Wed May 29 16:33:16 2024
+++ pkgsrc/lang/python312/Makefile Sat Jun 8 07:39:40 2024
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.17 2024/05/29 16:33:16 adam Exp $
+# $NetBSD: Makefile,v 1.18 2024/06/08 07:39:40 adam Exp $
-PKGREVISION= 1
.include "dist.mk"
PKGNAME= python312-${PY_DISTVERSION}
Index: pkgsrc/lang/python312/PLIST
diff -u pkgsrc/lang/python312/PLIST:1.6 pkgsrc/lang/python312/PLIST:1.7
--- pkgsrc/lang/python312/PLIST:1.6 Wed May 1 15:56:03 2024
+++ pkgsrc/lang/python312/PLIST Sat Jun 8 07:39:40 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2024/05/01 15:56:03 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/06/08 07:39:40 adam Exp $
bin/2to3-${PY_VER_SUFFIX}
bin/idle${PY_VER_SUFFIX}
bin/pydoc${PY_VER_SUFFIX}
@@ -3112,6 +3112,9 @@ lib/python${PY_VER_SUFFIX}/test/test_cap
lib/python${PY_VER_SUFFIX}/test/test_capi/test_misc.py
lib/python${PY_VER_SUFFIX}/test/test_capi/test_misc.pyc
lib/python${PY_VER_SUFFIX}/test/test_capi/test_misc.pyo
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_run.py
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_run.pyc
+lib/python${PY_VER_SUFFIX}/test/test_capi/test_run.pyo
lib/python${PY_VER_SUFFIX}/test/test_capi/test_set.py
lib/python${PY_VER_SUFFIX}/test/test_capi/test_set.pyc
lib/python${PY_VER_SUFFIX}/test/test_capi/test_set.pyo
@@ -4022,6 +4025,18 @@ lib/python${PY_VER_SUFFIX}/test/test_imp
lib/python${PY_VER_SUFFIX}/test/test_import/data/package2/submodule2.py
lib/python${PY_VER_SUFFIX}/test/test_import/data/package2/submodule2.pyc
lib/python${PY_VER_SUFFIX}/test/test_import/data/package2/submodule2.pyo
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/__init__.py
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/__init__.pyc
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/submodule.py
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/submodule.pyc
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package3/submodule.pyo
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/__init__.py
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/__init__.pyc
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/submodule.py
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/submodule.pyc
+lib/python${PY_VER_SUFFIX}/test/test_import/data/package4/submodule.pyo
lib/python${PY_VER_SUFFIX}/test/test_import/data/unwritable/__init__.py
lib/python${PY_VER_SUFFIX}/test/test_import/data/unwritable/__init__.pyc
lib/python${PY_VER_SUFFIX}/test/test_import/data/unwritable/__init__.pyo
@@ -5511,6 +5526,9 @@ lib/python${PY_VER_SUFFIX}/test/test_wea
lib/python${PY_VER_SUFFIX}/test/test_webbrowser.py
lib/python${PY_VER_SUFFIX}/test/test_webbrowser.pyc
lib/python${PY_VER_SUFFIX}/test/test_webbrowser.pyo
+lib/python${PY_VER_SUFFIX}/test/test_winapi.py
+lib/python${PY_VER_SUFFIX}/test/test_winapi.pyc
+lib/python${PY_VER_SUFFIX}/test/test_winapi.pyo
lib/python${PY_VER_SUFFIX}/test/test_winconsoleio.py
lib/python${PY_VER_SUFFIX}/test/test_winconsoleio.pyc
lib/python${PY_VER_SUFFIX}/test/test_winconsoleio.pyo
@@ -5678,6 +5696,9 @@ lib/python${PY_VER_SUFFIX}/test/typingan
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module6.py
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module6.pyc
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module6.pyo
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module695.py
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module695.pyc
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module695.pyo
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module7.py
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module7.pyc
lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module7.pyo
Index: pkgsrc/lang/python312/distinfo
diff -u pkgsrc/lang/python312/distinfo:1.6 pkgsrc/lang/python312/distinfo:1.7
--- pkgsrc/lang/python312/distinfo:1.6 Wed May 1 15:56:03 2024
+++ pkgsrc/lang/python312/distinfo Sat Jun 8 07:39:40 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2024/05/01 15:56:03 cheusov Exp $
+$NetBSD: distinfo,v 1.7 2024/06/08 07:39:40 adam Exp $
-BLAKE2s (Python-3.12.3.tar.xz) = 260855a18335d0355f7472b5ff81b1cea27cc9ccbf5c1346322681bb40a510e2
-SHA512 (Python-3.12.3.tar.xz) = 4a2213b108e7f1f1525baa8348e68b2a2336d925e60d0a59f0225fc470768a2c8031edafc0b8243f94dbae18afda335ee5adf2785328c2218fd64cbb439f13a4
-Size (Python-3.12.3.tar.xz) = 20625068 bytes
+BLAKE2s (Python-3.12.4.tar.xz) = 34f562d8b0135afc0eaeb9324782d898d9adfd08e758849c2ba0a99b262c2d3a
+SHA512 (Python-3.12.4.tar.xz) = 750132ee6369196096130a924f4ddb78b9a55804133e5d136a70b9280928822974d1aa559d844486df02e89155fb0d8117871e1ac532abc18174309ca4b08369
+Size (Python-3.12.4.tar.xz) = 20659356 bytes
SHA1 (patch-Include_pymacro.h) = 271a891892dca1a3aaa3bedcae626a68a36cae0b
SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
Index: pkgsrc/lang/python312/dist.mk
diff -u pkgsrc/lang/python312/dist.mk:1.4 pkgsrc/lang/python312/dist.mk:1.5
--- pkgsrc/lang/python312/dist.mk:1.4 Tue Apr 9 16:57:45 2024
+++ pkgsrc/lang/python312/dist.mk Sat Jun 8 07:39:40 2024
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.4 2024/04/09 16:57:45 adam Exp $
+# $NetBSD: dist.mk,v 1.5 2024/06/08 07:39:40 adam Exp $
-PY_DISTVERSION= 3.12.3
+PY_DISTVERSION= 3.12.4
DISTNAME= Python-${PY_DISTVERSION}
EXTRACT_SUFX= .tar.xz
DISTINFO_FILE= ${.CURDIR}/../../lang/python312/distinfo
Home |
Main Index |
Thread Index |
Old Index