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 Mar 19 18:58:24 UTC 2022

Modified Files:
        pkgsrc/lang/py39-html-docs: Makefile distinfo
        pkgsrc/lang/python39: Makefile PLIST dist.mk distinfo

Log Message:
python39 py39-html-docs: updated to 3.9.11

Python 3.9.11 final

Core and Builtins

bpo-46852: Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. Patch by Victor 
Stinner.
bpo-46794: Bump up the libexpat version into 2.4.6
bpo-46762: Fix an assert failure in debug builds when a ‘<’, ‘>’, or ‘=’ is the last character in an f-string that’s missing a closing right brace.
bpo-46732: Correct the docstring for the __bool__() method. Patch by Jelle Zijlstra.
bpo-40479: Add a missing call to va_end() in Modules/_hashopenssl.c.
bpo-46615: When iterating over sets internally in setobject.c, acquire strong references to the resulting items from the set. This prevents crashes in corner-cases of various set operations where the 
set gets mutated.
bpo-43721: Fix docstrings of getter, setter, and deleter to clarify that they create a new copy of the property.
bpo-46503: Fix an assert when parsing some invalid N escape sequences in f-strings.
bpo-46417: Fix a race condition on setting a type __bases__ attribute: the internal function add_subclass() now gets the PyTypeObject.tp_subclasses member after calling PyWeakref_NewRef() which can 
trigger a garbage collection which can indirectly modify PyTypeObject.tp_subclasses. Patch by Victor Stinner.
bpo-46383: Fix invalid signature of _zoneinfo’s module_free function to resolve a crash on wasm32-emscripten platform.

Library

bpo-43253: Fix a crash when closing transports where the underlying socket handle is already invalid on the Proactor event loop.
bpo-47004: Apply bugfixes from importlib_metadata 4.11.3, including bugfix for EntryPoint.extras, which was returning match objects and not the extras strings.
bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)
bpo-46968: faulthandler: On Linux 5.14 and newer, dynamically determine size of signal handler stack size CPython allocates using getauxval(AT_MINSIGSTKSZ). This changes allows for Python extension’s 
request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids Xeon processor to succeed, unblocking use of the ISA in frameworks.
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server. Patch by Stefan Zabka.
bpo-46932: Update bundled libexpat to 2.4.7
bpo-25707: Fixed a file leak in xml.etree.ElementTree.iterparse() when the iterator is not exhausted. Patch by Jacob Walls.
bpo-44886: Inherit asyncio proactor datagram transport from asyncio.DatagramTransport.
bpo-46827: Support UDP sockets in asyncio.loop.sock_connect() for selector-based event loops. Patch by Thomas Grainger.
bpo-46811: Make test suite support Expat >=2.4.5
bpo-46252: Raise TypeError if ssl.SSLSocket is passed to transport-based APIs.
bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.
bpo-39327: shutil.rmtree() can now work with VirtualBox shared folders when running from the guest operating-system.
bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, 
access to URI example.org/foobar was allowed if the user was authorized for URI example.org/foo.
bpo-45863: When the tarfile module creates a pax format archive, it will put an integer representation of timestamps in the ustar header (if possible) for the benefit of older unarchivers, in 
addition to the existing full-precision timestamps in the pax extended header.
bpo-46672: Fix NameError in asyncio.gather() when initial type check fails.
bpo-45948: Fixed a discrepancy in the C implementation of the xml.etree.ElementTree module. Now, instantiating an xml.etree.ElementTree.XMLParser with a target=None keyword provides a default 
xml.etree.ElementTree.TreeBuilder target as the Python implementation does.
bpo-46591: Make the IDLE doc URL on the About IDLE dialog clickable.
bpo-46400: expat: Update libexpat from 2.4.1 to 2.4.4
bpo-46487: Add the get_write_buffer_limits method to asyncio.transports.WriteTransport and to the SSL transport.
bpo-46539: In typing.get_type_hints(), support evaluating stringified ClassVar and Final annotations inside Annotated. Patch by Gregory Beauregard.
bpo-46491: Allow typing.Annotated to wrap typing.Final and typing.ClassVar. Patch by Gregory Beauregard.
bpo-46436: Fix command-line option -d/--directory in module http.server which is ignored when combined with command-line option --cgi. Patch by Géry Ogam.
bpo-41403: Make mock.patch() raise a TypeError with a relevant error message on invalid arg. Previously it allowed a cryptic AttributeError to escape.
bpo-46474: In importlib.metadata.EntryPoint.pattern, avoid potential REDoS by limiting ambiguity in consecutive whitespace.
bpo-46469: asyncio generic classes now return types.GenericAlias in __class_getitem__ instead of the same class.
bpo-46434: pdb now gracefully handles help when __doc__ is missing, for example when run with pregenerated optimized .pyc files.
bpo-46333: The __eq__() and __hash__() methods of typing.ForwardRef now honor the module parameter of typing.ForwardRef. Forward references from different modules are now differentiated.
bpo-43118: Fix a bug in inspect.signature() that was causing it to fail on some subclasses of classes with a __text_signature__ referencing module globals. Patch by Weipeng Hong.
bpo-21987: Fix an issue with tarfile.TarFile.getmember() getting a directory name with a trailing slash.
bpo-20392: Fix inconsistency with uppercase file extensions in MimeTypes.guess_type(). Patch by Kumar Aditya.
bpo-46080: Fix exception in argparse help text generation if a argparse.BooleanOptionalAction argument’s default is argparse.SUPPRESS and it has help specified. Patch by Felix Fontein.
bpo-44439: Fix .write() method of a member file in ZipFile, when the input data is an object that supports the buffer protocol, the file length may be wrong.
bpo-45703: When a namespace package is imported before another module from the same namespace is created/installed in a different sys.path location while the program is running, calling the 
importlib.invalidate_caches() function will now also guarantee the new module is noticed.
bpo-24959: Fix bug where unittest sometimes drops frames from tracebacks of exceptions raised in tests.

Documentation

bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file

Tests

bpo-46913: Fix test_faulthandler.test_sigfpe() if Python is built with undefined behavior sanitizer (UBSAN): disable UBSAN on the faulthandler_sigfpe() function. Patch by Victor Stinner.
bpo-46708: Prevent default asyncio event loop policy modification warning after test_asyncio execution.
bpo-46616: Ensures test_importlib.test_windows cleans up registry keys after completion.
bpo-44359: test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. Patch by Victor Stinner.
bpo-46542: Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. Patch by Victor Stinner.
bpo-46576: test_peg_generator now disables compiler optimization when testing compilation of its own C extensions to significantly speed up the testing on non-debug builds of CPython.
bpo-46542: Fix test_json tests checking for RecursionError: modify these tests to use support.infinite_recursion(). Patch by Victor Stinner.
bpo-13886: Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline 
module. Patch by Victor Stinner.

Build

bpo-47024: Update OpenSSL to 1.1.1n for macOS installers and all Windows builds.
bpo-38472: Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale.
bpo-46513: configure no longer uses AC_C_CHAR_UNSIGNED macro and pyconfig.h no longer defines reserved symbol __CHAR_UNSIGNED__.
bpo-45925: Update Windows installer to use SQLite 3.37.2.
bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails.

Windows

bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.
bpo-46638: Ensures registry virtualization is consistently disabled. For 3.10 and earlier, it remains enabled (some registry writes are protected), while for 3.11 and later it is disabled (registry 
modifications affect all applications).
macOS
bpo-45925: Update macOS installer to SQLite 3.37.2.

IDLE

bpo-46630: Make query dialogs on Windows start with a cursor in the entry box.
bpo-45296: Clarify close, quit, and exit in IDLE. In the File menu, ‘Close’ and ‘Exit’ are now ‘Close Window’ (the current one) and ‘Exit’ is now ‘Exit IDLE’ (by closing all windows). In Shell, 
‘quit()’ and ‘exit()’ mean ‘close Shell’. If there are no other windows, this also exits IDLE.
bpo-45447: Apply IDLE syntax highlighting to pyi files. Patch by Alex Waygood and Terry Jan Reedy.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/py39-html-docs/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/py39-html-docs/distinfo
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/python39/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python39/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/python39/dist.mk
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/python39/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/py39-html-docs/Makefile
diff -u pkgsrc/lang/py39-html-docs/Makefile:1.11 pkgsrc/lang/py39-html-docs/Makefile:1.12
--- pkgsrc/lang/py39-html-docs/Makefile:1.11    Sat Jan 15 16:21:26 2022
+++ pkgsrc/lang/py39-html-docs/Makefile Sat Mar 19 18:58:24 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2022/01/15 16:21:26 adam Exp $
+# $NetBSD: Makefile,v 1.12 2022/03/19 18:58:24 adam Exp $
 
-VERS=          3.9.10
+VERS=          3.9.11
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py39-html-docs-${VERS}
 CATEGORIES=    lang python

Index: pkgsrc/lang/py39-html-docs/distinfo
diff -u pkgsrc/lang/py39-html-docs/distinfo:1.13 pkgsrc/lang/py39-html-docs/distinfo:1.14
--- pkgsrc/lang/py39-html-docs/distinfo:1.13    Sat Jan 15 16:21:26 2022
+++ pkgsrc/lang/py39-html-docs/distinfo Sat Mar 19 18:58:24 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/01/15 16:21:26 adam Exp $
+$NetBSD: distinfo,v 1.14 2022/03/19 18:58:24 adam Exp $
 
-BLAKE2s (python-3.9.10-docs-html.tar.bz2) = e02115a153204cb2d8af115159bfd34eda4ea1f48748f5523483be64c9850c93
-SHA512 (python-3.9.10-docs-html.tar.bz2) = cb1f70bf08b897984b050a18d32623504b4d4c5d5d20e86a4badf415b4857cd137483ab40d89bb0ac023fbf62a870bcaa16e877ae9a8cd329e01782d890ed597
-Size (python-3.9.10-docs-html.tar.bz2) = 6966154 bytes
+BLAKE2s (python-3.9.11-docs-html.tar.bz2) = dc020e875e72aeba26330b5c653f97398483f1852ba61e4fe96261bdb651053d
+SHA512 (python-3.9.11-docs-html.tar.bz2) = 42144c14c5a36e03d8951b5a783e16869ad042f46e16724bb0c3ae1fa468ef4144c70619dae02b9fbcf373feae4260b30bc02e00bf452e2432f0807a718be4fc
+Size (python-3.9.11-docs-html.tar.bz2) = 6947094 bytes

Index: pkgsrc/lang/python39/Makefile
diff -u pkgsrc/lang/python39/Makefile:1.18 pkgsrc/lang/python39/Makefile:1.19
--- pkgsrc/lang/python39/Makefile:1.18  Thu Jan 27 21:33:42 2022
+++ pkgsrc/lang/python39/Makefile       Sat Mar 19 18:58:24 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2022/01/27 21:33:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.19 2022/03/19 18:58:24 adam Exp $
 
 .include "dist.mk"
 
@@ -191,9 +191,11 @@ hpux-postinstall:
                ${DESTDIR}${PREFIX}/lib/libpython3.9.sl.1.0
 .endif
 
-post-install: setuptools-postinstall
-.PHONY: setuptools-postinstall
-setuptools-postinstall:
+INSTALLATION_DIRS+=    lib/python${PY_VER_SUFFIX}/site-packages
+
+pre-install: setuptools-preinstall
+.PHONY: setuptools-preinstall
+setuptools-preinstall:
        ${INSTALL_DATA} ${.CURDIR}/../../devel/py-setuptools/files/_distutils_system_mod \
                ${DESTDIR}${PREFIX}/lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.py
 

Index: pkgsrc/lang/python39/PLIST
diff -u pkgsrc/lang/python39/PLIST:1.9 pkgsrc/lang/python39/PLIST:1.10
--- pkgsrc/lang/python39/PLIST:1.9      Thu Dec 30 15:08:35 2021
+++ pkgsrc/lang/python39/PLIST  Sat Mar 19 18:58:24 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2021/12/30 15:08:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/03/19 18:58:24 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1419,7 +1419,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-21.2.4-py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
@@ -1620,6 +1620,8 @@ lib/python${PY_VER_SUFFIX}/idlelib/idle_
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/__init__.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/__init__.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/__init__.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/example_noext
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/example_stub.pyi
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/htest.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/htest.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/htest.pyo
@@ -1794,6 +1796,9 @@ lib/python${PY_VER_SUFFIX}/idlelib/idle_
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undo.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undo.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undo.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_util.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_util.pyc
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_util.pyo
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.pyo
@@ -1890,6 +1895,9 @@ lib/python${PY_VER_SUFFIX}/idlelib/tree.
 lib/python${PY_VER_SUFFIX}/idlelib/undo.py
 lib/python${PY_VER_SUFFIX}/idlelib/undo.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/undo.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/util.py
+lib/python${PY_VER_SUFFIX}/idlelib/util.pyc
+lib/python${PY_VER_SUFFIX}/idlelib/util.pyo
 lib/python${PY_VER_SUFFIX}/idlelib/window.py
 lib/python${PY_VER_SUFFIX}/idlelib/window.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/window.pyo
@@ -2528,6 +2536,8 @@ lib/python${PY_VER_SUFFIX}/signal.pyc
 lib/python${PY_VER_SUFFIX}/signal.pyo
 lib/python${PY_VER_SUFFIX}/site-packages/README.txt
 lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.py
+lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.pyc
+lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.pyo
 lib/python${PY_VER_SUFFIX}/site.py
 lib/python${PY_VER_SUFFIX}/site.pyc
 lib/python${PY_VER_SUFFIX}/site.pyo
@@ -2668,6 +2678,9 @@ lib/python${PY_VER_SUFFIX}/test/ann_modu
 lib/python${PY_VER_SUFFIX}/test/ann_module6.py
 lib/python${PY_VER_SUFFIX}/test/ann_module6.pyc
 lib/python${PY_VER_SUFFIX}/test/ann_module6.pyo
+lib/python${PY_VER_SUFFIX}/test/ann_module7.py
+lib/python${PY_VER_SUFFIX}/test/ann_module7.pyc
+lib/python${PY_VER_SUFFIX}/test/ann_module7.pyo
 lib/python${PY_VER_SUFFIX}/test/audiodata/pluck-alaw.aifc
 lib/python${PY_VER_SUFFIX}/test/audiodata/pluck-pcm16.aiff
 lib/python${PY_VER_SUFFIX}/test/audiodata/pluck-pcm16.au

Index: pkgsrc/lang/python39/dist.mk
diff -u pkgsrc/lang/python39/dist.mk:1.11 pkgsrc/lang/python39/dist.mk:1.12
--- pkgsrc/lang/python39/dist.mk:1.11   Sat Jan 15 16:21:26 2022
+++ pkgsrc/lang/python39/dist.mk        Sat Mar 19 18:58:24 2022
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.11 2022/01/15 16:21:26 adam Exp $
+# $NetBSD: dist.mk,v 1.12 2022/03/19 18:58:24 adam Exp $
 
-PY_DISTVERSION=        3.9.10
+PY_DISTVERSION=        3.9.11
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python39/distinfo

Index: pkgsrc/lang/python39/distinfo
diff -u pkgsrc/lang/python39/distinfo:1.24 pkgsrc/lang/python39/distinfo:1.25
--- pkgsrc/lang/python39/distinfo:1.24  Thu Jan 20 13:06:33 2022
+++ pkgsrc/lang/python39/distinfo       Sat Mar 19 18:58:24 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.24 2022/01/20 13:06:33 jperkin Exp $
+$NetBSD: distinfo,v 1.25 2022/03/19 18:58:24 adam Exp $
 
-BLAKE2s (Python-3.9.10.tar.xz) = 1ce51e66e2c7d865aafbf7cee216436f3c814f7b8d8565f328cfd140cc2b8f3d
-SHA512 (Python-3.9.10.tar.xz) = 09cb942f84bf362df88999ffa6faf89b4ad12302e67cda4a11547828ebe410c7c93a3dc96cd66fd9c5c7d9a1abe5b8e259e7ec47c10273b42d212270aca5ecba
-Size (Python-3.9.10.tar.xz) = 19154136 bytes
+BLAKE2s (Python-3.9.11.tar.xz) = d8af3b3d07bcd8414715de203a54c87f431bfbcd91c8fb5c83495d02ab98935a
+SHA512 (Python-3.9.11.tar.xz) = 804e6e6b31922378f07f290023f6efc870c6fd3010204c499c2b375880f6e6ec0f72ce96a8fff81956f6fa3bea2123df2138ef0fda23a3d5d3cf757174a930c3
+Size (Python-3.9.11.tar.xz) = 19724780 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69



Home | Main Index | Thread Index | Old Index