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:           Wed Oct 12 08:02:25 UTC 2022

Modified Files:
        pkgsrc/lang/py310-html-docs: Makefile distinfo
        pkgsrc/lang/python310: PLIST dist.mk distinfo

Log Message:
python310 py310-html-docs: updated to 3.10.8

Python 3.10.8

Security

gh-97616: Fix multiplying a list by an integer (list *= int): detect the integer overflow when the new allocated length is close to the maximum size. Issue reported by Jordan Limor. Patch by Victor 
Stinner.
gh-97612: Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run openssl commands. Issue reported and initial fix by Caleb 
Shortt. Patch by Victor Stinner.
gh-68966: The deprecated mailcap module now refuses to inject unsafe text (filenames, MIME types, parameters) into shell commands. Instead of using such text, it will warn and act as if a match was 
not found (or for test commands, as if the test failed).

Core and Builtins

gh-96078: os.sched_yield() now release the GIL while calling sched_yield(2). Patch by Dong-hee Na.
gh-97943: Bugfix: PyFunction_GetAnnotations() should return a borrowed reference. It was returning a new reference.
gh-97591: Fixed a missing incref/decref pair in Exception.__setstate__(). Patch by Ofey Chan.
gh-96848: Fix command line parsing: reject -X int_max_str_digits option with no value (invalid) when the PYTHONINTMAXSTRDIGITS environment variable is set to a valid limit. Patch by Victor Stinner.
gh-95921: Fix overly-broad source position information for chained comparisons used as branching conditions.
gh-96821: Fix undefined behaviour in _testcapimodule.c.
gh-95778: When ValueError is raised if an integer is larger than the limit, mention the sys.set_int_max_str_digits() function in the error message. Patch by Victor Stinner.
gh-96387: At Python exit, sometimes a thread holding the GIL can wait forever for a thread (usually a daemon thread) which requested to drop the GIL, whereas the thread already exited. To fix the 
race condition, the thread which requested the GIL drop now resets its request before exiting. Issue discovered and analyzed by Mingliang ZHAO. Patch by Victor Stinner.
gh-96864: Fix a possible assertion failure, fatal error, or SystemError if a line tracing event raises an exception while opcode tracing is enabled.
gh-96678: Fix undefined behaviour in C code of null pointer arithmetic.
gh-96641: Do not expose KeyWrapper in _functools.
gh-96611: When loading a file with invalid UTF-8 inside a multi-line string, a correct SyntaxError is emitted.
gh-95196: Disable incorrect pickling of the C implemented classmethod descriptors.
gh-96352: Fix AttributeError missing name and obj attributes in object.__getattribute__(). Patch by Philip Georgi.
bpo-42316: Document some places where an assignment expression needs parentheses.

Library

gh-87730: Wrap network errors consistently in urllib FTP support, so the test suite doesn’t fail when a network is available but the public internet is not reachable.
gh-97825: Fixes AttributeError when subprocess.check_output() is used with argument input=None and either of the arguments encoding or errors are used.
gh-96827: Avoid spurious tracebacks from asyncio when default executor cleanup is delayed until after the event loop is closed (e.g. as the result of a keyboard interrupt).
gh-97592: Avoid a crash in the C version of asyncio.Future.remove_done_callback() when an evil argument is passed.
gh-97639: Remove tokenize.NL check from tabnanny.
gh-97545: Make Semaphore run faster.
gh-73588: Fix generation of the default name of tkinter.Checkbutton. Previously, checkbuttons in different parent widgets could have the same short name and share the same state if arguments “name” 
and “variable” are not specified. Now they are globally unique.
gh-97005: Update bundled libexpat to 2.4.9
gh-85760: Fix race condition in asyncio where process_exited() called before the pipe_data_received() leading to inconsistent output. Patch by Kumar Aditya.
gh-96819: Fixed check in multiprocessing.resource_tracker that guarantees that the length of a write to a pipe is not greater than PIPE_BUF.
gh-96741: Corrected type annotation for dataclass attribute pstats.FunctionProfile.ncalls to be str.
gh-96652: Fix the faulthandler implementation of faulthandler.register(signal, chain=True) if the sigaction() function is not available: don’t call the previous signal handler if it’s NULL. Patch by 
Victor Stinner.
gh-96073: In inspect, fix overeager replacement of “typing.” in formatting annotations.
gh-90467: Fix asyncio.streams.StreamReaderProtocol to keep a strong reference to the created task, so that it’s not garbage collected
gh-96052: Fix handling compiler warnings (SyntaxWarning and DeprecationWarning) in codeop.compile_command() when checking for incomplete input. Previously it emitted warnings and raised a 
SyntaxError. Now it always returns None for incomplete input without emitting any warnings.
gh-91212: Fixed flickering of the turtle window when the tracer is turned off. Patch by Shin-myoung-serp.
gh-74116: Allow asyncio.StreamWriter.drain() to be awaited concurrently by multiple tasks. Patch by Kumar Aditya.
gh-90155: Fix broken asyncio.Semaphore when acquire is cancelled.
gh-92986: Fix ast.unparse() when ImportFrom.level is None
gh-91539: Improve performance of urllib.request.getproxies_environment when there are many environment variables

Documentation

gh-97741: Fix ! in c domain ref target syntax via a conf.py patch, so it works as intended to disable ref target resolution.
gh-95588: Clarified the conflicting advice given in the ast documentation about ast.literal_eval() being “safe” for use on untrusted input while at the same time warning that it can crash the 
process. The latter statement is true and is deemed unfixable without a large amount of work unsuitable for a bugfix. So we keep the warning and no longer claim that literal_eval is safe.
gh-93031: Update tutorial introduction output to use 3.10+ SyntaxError invalid range.

Build

gh-96729: Ensure that Windows releases built with Tools\msi\buildrelease.bat are upgradable to and from official Python releases.

Windows

gh-97728: Fix possible crashes caused by the use of uninitialized variables when pass invalid arguments in os.system() on Windows and in Windows-specific modules (like winreg).
gh-90989: Clarify some text in the Windows installer.
gh-96577: Fixes a potential buffer overrun in msilib.

macOS

gh-97897: The macOS 13 SDK includes support for the mkfifoat and mknodat system calls. Using the dir_fd option with either os.mkfifo() or os.mknod() could result in a segfault if cpython is built 
with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls (“weaklinking”) as is done for other newer syscalls on macOS.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/py310-html-docs/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/py310-html-docs/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/python310/PLIST \
    pkgsrc/lang/python310/dist.mk
cvs rdiff -u -r1.19 -r1.20 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/py310-html-docs/Makefile
diff -u pkgsrc/lang/py310-html-docs/Makefile:1.8 pkgsrc/lang/py310-html-docs/Makefile:1.9
--- pkgsrc/lang/py310-html-docs/Makefile:1.8    Tue Sep  6 19:13:51 2022
+++ pkgsrc/lang/py310-html-docs/Makefile        Wed Oct 12 08:02:25 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/09/06 19:13:51 adam Exp $
+# $NetBSD: Makefile,v 1.9 2022/10/12 08:02:25 adam Exp $
 
-VERS=          3.10.7
+VERS=          3.10.8
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py310-html-docs-${VERS}
 CATEGORIES=    lang python

Index: pkgsrc/lang/py310-html-docs/distinfo
diff -u pkgsrc/lang/py310-html-docs/distinfo:1.10 pkgsrc/lang/py310-html-docs/distinfo:1.11
--- pkgsrc/lang/py310-html-docs/distinfo:1.10   Tue Sep  6 19:13:51 2022
+++ pkgsrc/lang/py310-html-docs/distinfo        Wed Oct 12 08:02:25 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/09/06 19:13:51 adam Exp $
+$NetBSD: distinfo,v 1.11 2022/10/12 08:02:25 adam Exp $
 
-BLAKE2s (python-3.10.7-docs-html.tar.bz2) = 16bdb4705b0ca2d3afb28b4986b699a92142ff47566c2497f47b074b17a8f77f
-SHA512 (python-3.10.7-docs-html.tar.bz2) = cb976e67866e45ca531428e2969bd707bbcddb5928f9f15b40c9ebdb8b4968019b5d95e4da9eb5409d5d7d3c32a63d93761a8b6fbeda49dc0b980189752542cf
-Size (python-3.10.7-docs-html.tar.bz2) = 7347443 bytes
+BLAKE2s (python-3.10.8-docs-html.tar.bz2) = 602f813b059d58b88000abadbf97355a0a23421c7e89f1fe822904b39c4efb45
+SHA512 (python-3.10.8-docs-html.tar.bz2) = 20640ddad52fa18704942cef8469d750ef60f830d8380c39943af13705b99fc697629c8ee6a12d827bc8b9758a30773811fb0e37dd960e7a81f118cd3e8d4f02
+Size (python-3.10.8-docs-html.tar.bz2) = 7362386 bytes

Index: pkgsrc/lang/python310/PLIST
diff -u pkgsrc/lang/python310/PLIST:1.8 pkgsrc/lang/python310/PLIST:1.9
--- pkgsrc/lang/python310/PLIST:1.8     Tue Sep  6 19:13:24 2022
+++ pkgsrc/lang/python310/PLIST Wed Oct 12 08:02:25 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/09/06 19:13:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/10/12 08:02:25 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -5242,6 +5242,12 @@ lib/python${PY_VER_SUFFIX}/test/tracedmo
 lib/python${PY_VER_SUFFIX}/test/tracedmodules/testmod.py
 lib/python${PY_VER_SUFFIX}/test/tracedmodules/testmod.pyc
 lib/python${PY_VER_SUFFIX}/test/tracedmodules/testmod.pyo
+lib/python${PY_VER_SUFFIX}/test/typinganndata/__init__.py
+lib/python${PY_VER_SUFFIX}/test/typinganndata/__init__.pyc
+lib/python${PY_VER_SUFFIX}/test/typinganndata/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module9.py
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module9.pyc
+lib/python${PY_VER_SUFFIX}/test/typinganndata/ann_module9.pyo
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.py
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.pyc
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.pyo
Index: pkgsrc/lang/python310/dist.mk
diff -u pkgsrc/lang/python310/dist.mk:1.8 pkgsrc/lang/python310/dist.mk:1.9
--- pkgsrc/lang/python310/dist.mk:1.8   Tue Sep  6 19:13:24 2022
+++ pkgsrc/lang/python310/dist.mk       Wed Oct 12 08:02:25 2022
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.8 2022/09/06 19:13:24 adam Exp $
+# $NetBSD: dist.mk,v 1.9 2022/10/12 08:02:25 adam Exp $
 
-PY_DISTVERSION=        3.10.7
+PY_DISTVERSION=        3.10.8
 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.19 pkgsrc/lang/python310/distinfo:1.20
--- pkgsrc/lang/python310/distinfo:1.19 Tue Sep  6 19:13:24 2022
+++ pkgsrc/lang/python310/distinfo      Wed Oct 12 08:02:25 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.19 2022/09/06 19:13:24 adam Exp $
+$NetBSD: distinfo,v 1.20 2022/10/12 08:02:25 adam Exp $
 
-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
+BLAKE2s (Python-3.10.8.tar.xz) = d6f72731fd8d2a16cd29fe90bd19d1b9d18a7ac1b32298259c3367dd1bb4370a
+SHA512 (Python-3.10.8.tar.xz) = 40e3e77d79618c81d6fc57c5d119b99c2959dcf932f40aad6b26f2ec39c5e713e6ff298f7597b4fad2ab94680db3732483b5ca0a45e6ae58c14580b3ea44cb0f
+Size (Python-3.10.8.tar.xz) = 19619508 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