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 Mar 11 08:31:57 UTC 2020

Modified Files:
        pkgsrc/lang/py37-html-docs: Makefile PLIST distinfo
        pkgsrc/lang/python37: Makefile dist.mk distinfo

Log Message:
python37: updated to 3.7.7

Python 3.7.7 final

Library
bpo-13487: Avoid a possible “RuntimeError: dictionary changed size during iteration” from inspect.getmodule() when it tried to loop through sys.modules.
Documentation
bpo-17422: The language reference no longer restricts default class namespaces to dicts only.

Python 3.7.7 release candidate 1

Security
bpo-39401: Avoid unsafe load of api-ms-win-core-path-l1-1-0.dll at startup on Windows 7.
Core and Builtins
bpo-39776: Fix race condition where threads created by PyGILState_Ensure() could get a duplicate id.

This affects consumers of tstate->id like the contextvar caching machinery, which could return invalid cached objects under heavy thread load (observed in embedded scenarios).
bpo-39778: Fixed a crash due to incorrect handling of weak references in collections.OrderedDict classes. Patch by Pablo Galindo.
bpo-39382: Fix a use-after-free in the single inheritance path of issubclass(), when the __bases__ of an object has a single reference, and so does its first item. Patch by Yonatan Goldschmidt.
bpo-39606: Fix regression caused by fix for bpo-39386, that prevented calling aclose on an async generator that had already been closed or exhausted.
bpo-39510: Fix segfault in readinto() method on closed BufferedReader.
bpo-39453: Fixed a possible crash in list.__contains__() when a list is changed during comparing items. Patch by Dong-hee Na.
bpo-39427: Document all possibilities for the -X options in the command line help section. Patch by Pablo Galindo.
bpo-39421: Fix possible crashes when operating with the functions in the heapq module and custom comparison operators.
bpo-39386: Prevent double awaiting of async iterator.
bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool().
bpo-39031: When parsing an “elif” node, lineno and col_offset of the node now point to the “elif” keyword and not to its condition, making it consistent with the “if” node. Patch by Lysandros 
Nikolaou.
bpo-38610: Fix possible crashes in several list methods by holding strong references to list elements when calling PyObject_RichCompareBool().
Library
bpo-39794: Add –without-decimal-contextvar build option. This enables a thread-local rather than a coroutine local context.
bpo-39769: The compileall.compile_dir() function’s ddir parameter and the compileall command line flag -d no longer write the wrong pathname to the generated pyc file for submodules beneath the root 
of the directory tree being compiled. This fixes a regression introduced with Python 3.5.
bpo-30566: Fix IndexError when trying to decode an invalid string with punycode codec.
bpo-39649: Remove obsolete check for __args__ in bdb.Bdb.format_stack_entry.
bpo-27657: The original fix for bpo-27657, “Fix urlparse() with numeric paths” (GH-16839) included in 3.7.6, inadvertently introduced a behavior change that broke several third-party packages relying 
on the original undefined parsing behavior. The change is reverted in 3.7.7, restoring the behavior of 3.7.5 and earlier releases.
bpo-21016: The pydoc and trace modules now use the sysconfig module to get the path to the Python standard library, to support uncommon installation path like /usr/lib64/python3.9/ on Fedora. Patch 
by Jan Matějek.
bpo-39548: Fix handling of header in urllib.request.AbstractDigestAuthHandler when the optional qop parameter is not present.
bpo-39450: Striped whitespace from docstring before returning it from unittest.case.shortDescription().
bpo-39493: Mark typing.IO.closed as a property
bpo-39485: Fix a bug in unittest.mock.create_autospec() that would complain about the wrong number of arguments for custom descriptors defined in an extension module returning functions.
bpo-39430: Fixed race condition in lazy imports in tarfile.
bpo-39389: Write accurate compression level metadata in gzip archives, rather than always signaling maximum compression.
bpo-39274: bool(fraction.Fraction) now returns a boolean even if (numerator != 0) does not return a boolean (ex: numpy number).
bpo-39242: Updated the Gmane domain from news.gmane.org to news.gmane.io which is used for examples of NNTP news reader server and nntplib tests.
bpo-39152: Fix ttk.Scale.configure([name]) to return configuration tuple for name or all options. Giovanni Lombardo contributed part of the patch.
bpo-39198: If an exception were to be thrown in Logger.isEnabledFor (say, by asyncio timeouts or stopit) , the logging global lock may not be released appropriately, resulting in deadlock. This 
change wraps that block of code with try...finally to ensure the lock is released.
bpo-39191: Perform a check for running loop before starting a new task in loop.run_until_complete() to fail fast; it prevents the side effect of new task spawning before exception raising.
bpo-38871: Correctly parenthesize filter-based statements that contain lambda expressions in mod:lib2to3. Patch by Dong-hee Na.
bpo-39142: A change was made to logging.config.dictConfig to avoid converting instances of named tuples to ConvertingTuple. It’s assumed that named tuples are too specialised to be treated like 
ordinary tuples; if a user of named tuples requires ConvertingTuple functionality, they will have to implement that themselves in their named tuple class.
bpo-38971: Open issue in the BPO indicated a desire to make the implementation of codecs.open() at parity with io.open(), which implements a try/except to assure file stream gets closed before an 
exception is raised.
bpo-39057: urllib.request.proxy_bypass_environment() now ignores leading dots and no longer ignores a trailing newline.
bpo-39056: Fixed handling invalid warning category in the -W option. No longer import the re module if it is not needed.
bpo-39055: base64.b64decode() with validate=True raises now a binascii.Error if the input ends with a single \n.
bpo-38878: Fixed __subclasshook__ of os.PathLike to return a correct result upon inheritence. Patch by Bar Harel.
bpo-35182: Fixed Popen.communicate() subsequent call crash when the child process has already closed any piped standard stream, but still continues to be running. Patch by Andriy Maletsky.
bpo-38473: Use signature from inner mock for autospecced methods attached with unittest.mock.attach_mock(). Patch by Karthikeyan Singaravelan.
bpo-38293: Add copy.copy() and copy.deepcopy() support to property() objects.
bpo-37953: In typing, improved the __hash__ and __eq__ methods for ForwardReferences.
bpo-36406: Handle namespace packages in doctest. Patch by Karthikeyan Singaravelan.
Documentation
bpo-13790: Change ‘string’ to ‘specification’ in format doc.
bpo-39530: Fix misleading documentation about mixed-type numeric comparisons.
bpo-17422: The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman.
bpo-39654: In pyclbr doc, update ‘class’ to ‘module’ where appropriate and add readmodule comment. Patch by Hakan Çelik.
bpo-39392: Explain that when filling with turtle, overlap regions may be left unfilled.
bpo-39381: Mention in docs that asyncio.get_event_loop() implicitly creates new event loop only if called from the main thread.
bpo-38918: Add an entry for __module__ in the “function” & “method” sections of the inspect docs types and members table
bpo-3530: In the ast module documentation, fix a misleading NodeTransformer example and add advice on when to use the fix_missing_locations function.
Tests
bpo-38546: Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly stop the manager to prevent leaking a child process running in the background after the test completes.
Build
bpo-39144: The ctags and etags build targets both include Modules/_ctypes and Python standard library source files.
Windows
bpo-38597: distutils will no longer statically link vcruntime140.dll when a redistributable version is unavailable. All future releases of CPython will include a copy of this DLL to ensure 
distributed extensions can continue to load.
bpo-38380: Update Windows builds to use SQLite 3.31.1
bpo-39439: Reduce overhead when using multiprocessing in a Windows virtual environment
bpo-39185: The build.bat script has additional options for very-quiet output (-q) and very-verbose output (-vv)
macOS
bpo-38380: Update macOS builds to use SQLite 3.31.1
IDLE
bpo-39781: Selecting code context lines no longer causes a jump.
bpo-39663: Add tests for pyparse find_good_parse_start().
bpo-39600: In the font configuration window, remove duplicated font names.
bpo-30780: Add remaining configdialog tests for buttons and highlights and keys tabs.
bpo-39388: IDLE Settings Cancel button now cancels pending changes
bpo-39050: Make IDLE Settings dialog Help button work again.
bpo-34118: Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list.
bpo-38792: Close an IDLE shell calltip if a KeyboardInterrupt or shell restart occurs. Patch by Zackery Spytz.
bpo-32989: Add tests for editor newline_and_indent_event method. Remove dead code from pyparse find_good_parse_start method.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/py37-html-docs/Makefile \
    pkgsrc/lang/py37-html-docs/PLIST pkgsrc/lang/py37-html-docs/distinfo
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/python37/Makefile \
    pkgsrc/lang/python37/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python37/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/py37-html-docs/Makefile
diff -u pkgsrc/lang/py37-html-docs/Makefile:1.7 pkgsrc/lang/py37-html-docs/Makefile:1.8
--- pkgsrc/lang/py37-html-docs/Makefile:1.7     Sat Dec 28 22:39:38 2019
+++ pkgsrc/lang/py37-html-docs/Makefile Wed Mar 11 08:31:57 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2019/12/28 22:39:38 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/03/11 08:31:57 adam Exp $
 
-VERS=          3.7.6
+VERS=          3.7.7
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py37-html-docs-${VERS}
 CATEGORIES=    lang python
Index: pkgsrc/lang/py37-html-docs/PLIST
diff -u pkgsrc/lang/py37-html-docs/PLIST:1.7 pkgsrc/lang/py37-html-docs/PLIST:1.8
--- pkgsrc/lang/py37-html-docs/PLIST:1.7        Sat Dec 28 22:39:38 2019
+++ pkgsrc/lang/py37-html-docs/PLIST    Wed Mar 11 08:31:57 2020
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 2019/12/28 22:39:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/03/11 08:31:57 adam Exp $
 share/doc/python3.7/.buildinfo
-share/doc/python3.7/_downloads/42c337137187097460ce24655f7ae473/tzinfo_examples.py
+share/doc/python3.7/_downloads/d83ca97a7bd8a49fe601273beee918ab/tzinfo_examples.py
 share/doc/python3.7/_images/hashlib-blake2-tree.png
 share/doc/python3.7/_images/logging_flow.png
 share/doc/python3.7/_images/pathlib-inheritance.png
Index: pkgsrc/lang/py37-html-docs/distinfo
diff -u pkgsrc/lang/py37-html-docs/distinfo:1.7 pkgsrc/lang/py37-html-docs/distinfo:1.8
--- pkgsrc/lang/py37-html-docs/distinfo:1.7     Sat Dec 28 22:39:38 2019
+++ pkgsrc/lang/py37-html-docs/distinfo Wed Mar 11 08:31:57 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/12/28 22:39:38 adam Exp $
+$NetBSD: distinfo,v 1.8 2020/03/11 08:31:57 adam Exp $
 
-SHA1 (python-3.7.6-docs-html.tar.bz2) = 9d547ad42032d9c12b92b044bdc41d3fa9029acf
-RMD160 (python-3.7.6-docs-html.tar.bz2) = ee4a898185dc94d859953db6bada9303981eb74d
-SHA512 (python-3.7.6-docs-html.tar.bz2) = 52657627dfe088184afbc0827731cf919884f21ae483c934a84e1e93bd1b03fe7b948da8ea8dfc1ba80e0557504d14eab729d22b7230000ba34731e1b866a253
-Size (python-3.7.6-docs-html.tar.bz2) = 6248802 bytes
+SHA1 (python-3.7.7-docs-html.tar.bz2) = 098ce3979169f5e5d469db43b233f5021fe80cba
+RMD160 (python-3.7.7-docs-html.tar.bz2) = 9f06d4f6c48da0eadf6fd4c75b421db72944d0bf
+SHA512 (python-3.7.7-docs-html.tar.bz2) = 5a556a0c8dd739c16d7b6105e11ef62adaa939bd784d4f5fa0df26555c7d1908c09626c091dc0bf2d892624274646573c9fde5a5b218adf770bcf7c097976a06
+Size (python-3.7.7-docs-html.tar.bz2) = 6259882 bytes

Index: pkgsrc/lang/python37/Makefile
diff -u pkgsrc/lang/python37/Makefile:1.14 pkgsrc/lang/python37/Makefile:1.15
--- pkgsrc/lang/python37/Makefile:1.14  Sun Mar  8 16:42:29 2020
+++ pkgsrc/lang/python37/Makefile       Wed Mar 11 08:31:57 2020
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.14 2020/03/08 16:42:29 bsiegert Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/11 08:31:57 adam Exp $
 
-PKGREVISION= 2
 .include "dist.mk"
 
 PKGNAME=       python37-${PY_DISTVERSION}
Index: pkgsrc/lang/python37/distinfo
diff -u pkgsrc/lang/python37/distinfo:1.14 pkgsrc/lang/python37/distinfo:1.15
--- pkgsrc/lang/python37/distinfo:1.14  Sat Dec 28 22:30:24 2019
+++ pkgsrc/lang/python37/distinfo       Wed Mar 11 08:31:57 2020
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.14 2019/12/28 22:30:24 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/03/11 08:31:57 adam Exp $
 
-SHA1 (Python-3.7.6.tar.xz) = 93e76be2d874b6ad0abd57c15bab8debc211226a
-RMD160 (Python-3.7.6.tar.xz) = 3b3f651d53f55c00c9fea579d901a9eff3d26905
-SHA512 (Python-3.7.6.tar.xz) = 5be022c384728b0c6709d165486f66226d126c521b466ed24d0c4c3c5910ec786a734f4c2c916ac409213c54a492b9fb230fb721c41e3de281676a7e9d8f3171
-Size (Python-3.7.6.tar.xz) = 17246360 bytes
+SHA1 (Python-3.7.7.tar.xz) = 7b6f9eec148c583a22a0666fe8eb5ec963ac57c4
+RMD160 (Python-3.7.7.tar.xz) = b36217d3ee4566d69e02076c8ff7bfa0de387b4f
+SHA512 (Python-3.7.7.tar.xz) = ddc838a7b0c442c2e465616f20231f2b703ed6b69ed2dc17858aac8760814fdf7cff43d350d359300e47b6bb1f0bd38c31126b855e423a3a65ed06a8fa16d136
+Size (Python-3.7.7.tar.xz) = 17268888 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
 SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf

Index: pkgsrc/lang/python37/dist.mk
diff -u pkgsrc/lang/python37/dist.mk:1.7 pkgsrc/lang/python37/dist.mk:1.8
--- pkgsrc/lang/python37/dist.mk:1.7    Sat Dec 28 22:30:24 2019
+++ pkgsrc/lang/python37/dist.mk        Wed Mar 11 08:31:57 2020
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.7 2019/12/28 22:30:24 adam Exp $
+# $NetBSD: dist.mk,v 1.8 2020/03/11 08:31:57 adam Exp $
 
-PY_DISTVERSION=        3.7.6
+PY_DISTVERSION=        3.7.7
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python37/distinfo



Home | Main Index | Thread Index | Old Index