pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang python39 py39-html-docs: updated to 3.9.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a076be2d09e0
branches:  trunk
changeset: 371854:a076be2d09e0
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jan 15 16:21:26 2022 +0000

description:
python39 py39-html-docs: updated to 3.9.10

Python 3.9.10 final

Core and Builtins

bpo-46070: Py_EndInterpreter() now explicitly untracks all objects currently tracked by the GC. Previously, if an object was used later by another interpreter, calling PyObject_GC_UnTrack() on the 
object crashed if the previous or the next object of the PyGC_Head structure became a dangling pointer. Patch by Victor Stinner.
bpo-46085: Fix iterator cache mechanism of OrderedDict.
bpo-46110: Add a maximum recursion check to the PEG parser to avoid stack overflow. Patch by Pablo Galindo
bpo-46000: Improve compatibility of the curses module with NetBSD curses.
bpo-45614: Fix traceback display for exceptions with invalid module name.
bpo-45806: Re-introduced fix that allows recovery from stack overflow without crashing the interpreter. The original fix as part of bpo-42500 was reverted (see release notes for Python 3.9.4) since 
it introduced an ABI change in a bugfix release which is not allowed. The new fix doesn’t introduce any ABI changes. Patch by Mark Shannon.
bpo-45822: Fixed a bug in the parser that was causing it to not respect PEP 263 coding cookies when no flags are provided. Patch by Pablo Galindo
bpo-45820: Fix a segfault when the parser fails without reading any input. Patch by Pablo Galindo
bpo-42540: Fix crash when os.fork() is called with an active non-default memory allocator.

Library

bpo-40479: Fix hashlib usedforsecurity option to work correctly with OpenSSL 3.0.0 in FIPS mode.
bpo-46070: Fix possible segfault when importing the asyncio module from different sub-interpreters in parallel. Patch by Erlend E. Aasland.
bpo-46278: Reflect context argument in AbstractEventLoop.call_*() methods. Loop implementations already support it.
bpo-46239: Improve error message when importing asyncio.windows_events on non-Windows.
bpo-20369: concurrent.futures.wait() no longer blocks forever when given duplicate Futures. Patch by Kumar Aditya.
bpo-46105: Honor spec when generating requirement specs with urls and extras (importlib_metadata 4.8.3).
bpo-26952: argparse raises ValueError with clear message when trying to render usage for an empty mutually-exclusive group. Previously it raised a cryptic IndexError.
bpo-27718: Fix help for the signal module. Some functions (e.g. signal() and getsignal()) were omitted.
bpo-46032: The registry() method of functools.singledispatch() functions checks now the first argument or the first parameter annotation and raises a TypeError if it is not supported. Previously 
unsupported “types” were ignored (e.g. typing.List[int]) or caused an error at calling time (e.g. list[int]).
bpo-46018: Ensure that math.expm1() does not raise on underflow.
bpo-27946: Fix possible crash when getting an attribute of class:xml.etree.ElementTree.Element simultaneously with replacing the attrib dict.
bpo-13236: unittest.TextTestResult and unittest.TextTestRunner flush now the output stream more often.
bpo-37658: Fix issue when on certain conditions asyncio.wait_for() may allow a coroutine to complete successfully, but fail to return the result, potentially causing memory leaks or other issues.
bpo-45831: faulthandler can now write ASCII-only strings (like filenames and function names) with a single write() syscall when dumping a traceback. It reduces the risk of getting an unreadable dump 
when two threads or two processes dump a traceback to the same file (like stderr) at the same time. Patch by Victor Stinner.
bpo-41735: Fix thread lock in zlib.Decompress.flush() method before PyObject_GetBuffer.
bpo-45664: Fix types.resolve_bases() and types.new_class() for types.GenericAlias instance as a base.
bpo-45663: Fix dataclasses.is_dataclass() for dataclasses which are subclasses of types.GenericAlias.
bpo-45662: Fix the repr of dataclasses.InitVar with a type alias to the built-in class, e.g. InitVar[list[int]].
bpo-43498: Avoid a possible “RuntimeError: dictionary changed size during iteration” when adjusting the process count of ProcessPoolExecutor.
bpo-29620: assertWarns() no longer raises a RuntimeException when accessing a module’s __warningregistry__ causes importation of a new module, or when a new module is imported in another thread. 
Patch by Kernc.

Documentation

bpo-19737: Update the documentation for the globals() function.
bpo-45840: Improve cross-references in the documentation for the data model.
bpo-45788: Link doc for sys.prefix to sysconfig doc on installation paths.
bpo-25381: In the extending chapter of the extending doc, update a paragraph about the global variables containing exception information.
bpo-43905: Expanded astuple() and asdict() docs, warning about deepcopy being applied and providing a workaround.
bpo-41028: Language and version switchers, previously maintained in every cpython branches, are now handled by docsbuild-script.

Tests

bpo-46205: Fix hang in runtest_mp due to race condition
bpo-46263: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not fill freed memory with junk byte.
bpo-46150: Now fakename in test_pathlib.PosixPathTest.test_expanduser is checked to be non-existent.
bpo-46129: Rewrite asyncio.locks tests with unittest.IsolatedAsyncioTestCase usage.
bpo-23819: Fixed asyncio tests in python optimized mode. Patch by Kumar Aditya.
bpo-46114: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses 0xMNN00PP0L.
bpo-19460: Add new Test for email.mime.nonmultipart.MIMENonMultipart.
bpo-45835: Fix race condition in test_queue tests with multiple “feeder” threads.

Build

bpo-46263: configure no longer sets MULTIARCH on FreeBSD platforms.
bpo-46106: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer builds, and CI. Patch by Kumar Aditya.
bpo-44035: CI now verifies that autoconf files have been regenerated with a current and unpatched autoconf package.
bpo-33393: Update config.guess to 2021-06-03 and config.sub to 2021-08-14. Makefile now has an update-config target to make updating more convenient.
bpo-45866: make regen-all now produces the same output when run from a directory other than the source tree: when building Python out of the source tree. pegen now strips directory of the “generated 
by pygen from <FILENAME>” header Patch by Victor Stinner.
bpo-41498: Python now compiles on platforms without sigset_t. Several functions in signal are not available when sigset_t is missing.
bpo-45881: setup.py now uses CC from environment first to discover multiarch and cross compile paths.

Windows

bpo-45901: When installed through the Microsoft Store and set as the default app for *.py files, command line arguments will now be passed to Python when invoking a script without explicitly 
launching Python (that is, script.py args rather than python script.py args).

macOS

bpo-40477: The Python Launcher app for macOS now properly launches scripts and, if necessary, the Terminal app when running on recent macOS releases.
bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12.

Tools/Demos

bpo-45838: Fix line number calculation when debugging Python with GDB.

C API

bpo-39026: Fix Python.h to build C extensions with Xcode: remove a relative include from Include/cpython/pystate.h.

diffstat:

 lang/py39-html-docs/Makefile                         |   4 ++--
 lang/py39-html-docs/PLIST                            |   3 +--
 lang/py39-html-docs/distinfo                         |   8 ++++----
 lang/python39/Makefile                               |   3 +--
 lang/python39/dist.mk                                |   4 ++--
 lang/python39/distinfo                               |   9 ++++-----
 lang/python39/patches/patch-Modules___cursesmodule.c |  18 ------------------
 7 files changed, 14 insertions(+), 35 deletions(-)

diffs (110 lines):

diff -r 5fca0834a122 -r a076be2d09e0 lang/py39-html-docs/Makefile
--- a/lang/py39-html-docs/Makefile      Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/py39-html-docs/Makefile      Sat Jan 15 16:21:26 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2021/11/16 14:23:50 adam Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/15 16:21:26 adam Exp $
 
-VERS=          3.9.9
+VERS=          3.9.10
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py39-html-docs-${VERS}
 CATEGORIES=    lang python
diff -r 5fca0834a122 -r a076be2d09e0 lang/py39-html-docs/PLIST
--- a/lang/py39-html-docs/PLIST Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/py39-html-docs/PLIST Sat Jan 15 16:21:26 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/09/01 13:53:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/01/15 16:21:26 adam Exp $
 share/doc/python3.9/.buildinfo
 share/doc/python3.9/_downloads/6b45dc135219d1404be49d606589a11d/tzinfo_examples.py
 share/doc/python3.9/_images/hashlib-blake2-tree.png
@@ -518,7 +518,6 @@
 share/doc/python3.9/_static/pygments.css
 share/doc/python3.9/_static/searchtools.js
 share/doc/python3.9/_static/sidebar.js
-share/doc/python3.9/_static/switchers.js
 share/doc/python3.9/_static/underscore-1.3.1.js
 share/doc/python3.9/_static/underscore.js
 share/doc/python3.9/about.html
diff -r 5fca0834a122 -r a076be2d09e0 lang/py39-html-docs/distinfo
--- a/lang/py39-html-docs/distinfo      Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/py39-html-docs/distinfo      Sat Jan 15 16:21:26 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2021/11/16 14:23:50 adam Exp $
+$NetBSD: distinfo,v 1.13 2022/01/15 16:21:26 adam Exp $
 
-BLAKE2s (python-3.9.9-docs-html.tar.bz2) = 280874758db2577dc974fff250fdeedc7795a521c2298c3f92d24367cc576b31
-SHA512 (python-3.9.9-docs-html.tar.bz2) = 411228ef474975fde80bc963e5f3f389577d54190fd0c99c3e327ed89e05eb87c15c3d5fa87c48df2a2169d735f09fbbe2a9eb86781e94300dd3625c6236817d
-Size (python-3.9.9-docs-html.tar.bz2) = 6958136 bytes
+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
diff -r 5fca0834a122 -r a076be2d09e0 lang/python39/Makefile
--- a/lang/python39/Makefile    Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/python39/Makefile    Sat Jan 15 16:21:26 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.13 2022/01/12 08:49:01 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/01/15 16:21:26 adam Exp $
 
-PKGREVISION= 3
 .include "dist.mk"
 
 PKGNAME=       python39-${PY_DISTVERSION}
diff -r 5fca0834a122 -r a076be2d09e0 lang/python39/dist.mk
--- a/lang/python39/dist.mk     Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/python39/dist.mk     Sat Jan 15 16:21:26 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.10 2021/11/16 14:23:50 adam Exp $
+# $NetBSD: dist.mk,v 1.11 2022/01/15 16:21:26 adam Exp $
 
-PY_DISTVERSION=        3.9.9
+PY_DISTVERSION=        3.9.10
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python39/distinfo
diff -r 5fca0834a122 -r a076be2d09e0 lang/python39/distinfo
--- a/lang/python39/distinfo    Sat Jan 15 16:00:59 2022 +0000
+++ b/lang/python39/distinfo    Sat Jan 15 16:21:26 2022 +0000
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.22 2022/01/14 10:32:28 tnn Exp $
+$NetBSD: distinfo,v 1.23 2022/01/15 16:21:26 adam Exp $
 
-BLAKE2s (Python-3.9.9.tar.xz) = bb0cf5c1cb3212d82b69ab4e965f03b77736610c84bd032f31a5debdd25e6a30
-SHA512 (Python-3.9.9.tar.xz) = 0ab29fb9a7ecb808bd08d84d28908d5a934e0f021853da0f7a9c94670eb30c8dbbc233d461afdb3995b0de59275ef7e1de43e82d7f848802cbd6e6e50b7b25a6
-Size (Python-3.9.9.tar.xz) = 19144372 bytes
+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
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
 SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
 SHA1 (patch-Makefile.pre.in) = dd5ff571ac9fe2dc2e41fa678261d8e3648ac908
-SHA1 (patch-Modules___cursesmodule.c) = 424488c19dc78142825c38db47475aa906c4078b
 SHA1 (patch-Modules___ssl.c) = f241ba148e4c244a641386be5ac07817b03f04f7
 SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
diff -r 5fca0834a122 -r a076be2d09e0 lang/python39/patches/patch-Modules___cursesmodule.c
--- a/lang/python39/patches/patch-Modules___cursesmodule.c      Sat Jan 15 16:00:59 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-Modules___cursesmodule.c,v 1.2 2021/12/06 16:36:15 wiz Exp $
-
-NetBSD curses compatibility.
-https://bugs.python.org/issue46000
-
---- Modules/_cursesmodule.c.orig       2021-11-15 17:43:00.000000000 +0000
-+++ Modules/_cursesmodule.c
-@@ -1077,8 +1077,8 @@ PyCursesWindow_ChgAt(PyCursesWindowObjec
-         return NULL;
-     }
- 
--    color = (short)((attr >> 8) & 0xff);
--    attr = attr - (color << 8);
-+    color = (short) PAIR_NUMBER(attr);
-+    attr = attr & A_ATTRIBUTES;
- 
-     if (use_xy) {
-         rtn = mvwchgat(self->win,y,x,num,attr,color,NULL);


Home | Main Index | Thread Index | Old Index