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:           Tue Jun 30 05:56:02 UTC 2020

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

Log Message:
python37: updated to 3.7.8

Python 3.7.8 final

Tests

bpo-41009: Fix use of support.require_{linux|mac|freebsd}_version() decorators as class decorator.
macOS

bpo-41100: Fix configure error when building on macOS 11. Note that 3.7.8 was released shortly after the first developer preview of macOS 11 (Big Sur); there are other known issues with building and 
running on the developer preview. Big Sur is expected to be fully supported in a future bugfix release of Python 3.8.x and with 3.9.0.

Python 3.7.8 release candidate 1

Security
bpo-39073: Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.
bpo-38576: Disallow control characters in hostnames in http.client, addressing CVE-2019-18348. Such potentially malicious header injection URLs now cause a InvalidURL to be raised.
bpo-39503: CVE-2020-8492: The AbstractBasicAuthHandler class of the urllib.request module uses an inefficient regular expression which can be exploited by an attacker to cause a denial of service. 
Fix the regex to prevent the catastrophic backtracking. Vulnerability reported by Ben Caller and Matt Schwager.

Core and Builtins
bpo-40663: Correctly generate annotations where parentheses are omitted but required (e.g: Type[(str, int, *other))].
bpo-40417: Fix imp module deprecation warning when PyImport_ReloadModule is called. Patch by Robert Rouhani.
bpo-20526: Fix PyThreadState_Clear(). PyThreadState.frame is a borrowed reference, not a strong reference: PyThreadState_Clear() must not call Py_CLEAR(tstate->frame).
bpo-38894: Fix a bug that was causing incomplete results when calling pathlib.Path.glob in the presence of symlinks that point to files where the user does not have read access. Patch by Pablo 
Galindo and Matt Wozniski.
bpo-39871: Fix a possible SystemError in math.{atan2,copysign,remainder}() when the first argument cannot be converted to a float. Patch by Zachary Spytz.
bpo-39520: Fix unparsing of ext slices with no items (foo[:,]). Patch by Batuhan Taskaya.
bpo-24048: Save the live exception during import.c’s remove_module().
bpo-22490: Don’t leak environment variable __PYVENV_LAUNCHER__ into the interpreter session on macOS.

Library
bpo-40448: ensurepip now disables the use of pip cache when installing the bundled versions of pip and setuptools. Patch by Krzysztof Konopko.
bpo-40807: Stop codeop._maybe_compile, used by code.InteractiveInterpreter (and IDLE). from from emitting each warning three times.
bpo-38488: Update ensurepip to install pip 20.1.1 and setuptools 47.1.0.
bpo-40767: webbrowser now properly finds the default browser in pure Wayland systems by checking the WAYLAND_DISPLAY environment variable. Patch contributed by Jérémy Attali.
bpo-30008: Fix ssl code to be compatible with OpenSSL 1.1.x builds that use no-deprecated and --api=1.1.0.
bpo-25872: linecache could crash with a KeyError when accessed from multiple threads. Fix by Michael Graczyk.
bpo-40515: The ssl and hashlib modules now actively check that OpenSSL is build with thread support. Python 3.7.0 made thread support mandatory and no longer works safely with a no-thread builds.
bpo-13097: ctypes now raises an ArgumentError when a callback is invoked with more than 1024 arguments.
bpo-40559: Fix possible memory leak in the C implementation of asyncio.Task.
bpo-40457: The ssl module now support OpenSSL builds without TLS 1.0 and 1.1 methods.
bpo-40459: platform.win32_ver() now produces correct ptype strings instead of empty strings.
bpo-40138: Fix the Windows implementation of os.waitpid() for exit code larger than INT_MAX >> 8. The exit status is now interpreted as an unsigned number.
bpo-39942: Set “__main__” as the default module name when “__name__” is missing in typing.TypeVar. Patch by Weipeng Hong.
bpo-40287: Fixed SpooledTemporaryFile.seek() to return the position.
bpo-40196: Fix a bug in the symtable module that was causing incorrectly report global variables as local. Patch by Pablo Galindo.
bpo-40126: Fixed reverting multiple patches in unittest.mock. Patcher’s __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception.
bpo-40089: Fix threading._after_fork(): if fork was not called by a thread spawned by threading.Thread, threading._after_fork() now creates a _MainThread instance for _main_thread, instead of a 
_DummyThread instance.
bpo-39503: AbstractBasicAuthHandler of urllib.request now parses all WWW-Authenticate HTTP headers and accepts multiple challenges per header: use the realm of the first Basic challenge.
bpo-40014: Fix os.getgrouplist(): if getgrouplist() function fails because the group list is too small, retry with a larger group list. On failure, the glibc implementation of getgrouplist() sets 
ngroups to the total number of groups. For other implementations, double the group list size.
bpo-40025: Raise TypeError when _generate_next_value_ is defined after members. Patch by Ethan Onstott.
bpo-40016: In re docstring, clarify the relationship between inline and argument compile flags.
bpo-39652: The column name found in sqlite3.Cursor.description is now truncated on the first ‘[‘ only if the PARSE_COLNAMES option is set.
bpo-38662: The ensurepip module now invokes pip via the runpy module. Hence it is no longer tightly coupled with the internal API of the bundled pip version, allowing easier updates to a newer pip 
version both internally and for distributors.
bpo-39916: More reliable use of os.scandir() in Path.glob(). It no longer emits a ResourceWarning when interrupted.
bpo-39850: multiprocessing now supports abstract socket addresses (if abstract sockets are supported in the running platform). Patch by Pablo Galindo.
bpo-39828: Fix json.tool to catch BrokenPipeError. Patch by Dong-hee Na.
bpo-39040: Fix parsing of invalid mime headers parameters by collapsing whitespace between encoded words in a bare-quote-string.
bpo-35714: struct.error is now raised if there is a null character in a struct format string.
bpo-36541: lib2to3 now recognizes named assignment expressions (the walrus operator, :=)
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.
bpo-34226: Fix cgi.parse_multipart without content_length. Patch by Roger Duran
bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object. Patch by Oren Milman.

Documentation
bpo-40561: Provide docstrings for webbrowser open functions.
bpo-27635: The pickle documentation incorrectly claimed that __new__ isn’t called by default when unpickling.
bpo-39879: Updated Data model docs to include dict() insertion order preservation. Patch by Furkan Onder and Samy Lahfa.
bpo-39677: Changed operand name of MAKE_FUNCTION from argc to flags for module dis
bpo-39435: Fix an incorrect signature for pickle.loads() in the docs
bpo-38387: Document PyDoc_STRVAR macro in the C-API reference.

Tests
bpo-40964: Disable remote imaplib tests, host cyrus.andrew.cmu.edu is blocking incoming connections.
bpo-40055: distutils.tests now saves/restores warnings filters to leave them unchanged. Importing tests imports docutils which imports pkg_resources which adds a warnings filter.
bpo-40436: test_gdb and test.pythoninfo now check gdb command exit code.
bpo-39932: Fix multiprocessing test_heap(): a new Heap object is now created for each test run.
bpo-40162: Update Travis CI configuration to OpenSSL 1.1.1f.
bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines.
bpo-40019: test_gdb now skips tests if it detects that gdb failed to read debug information because the Python binary is optimized.
bpo-27807: test_site.test_startup_imports() is now skipped if a path of sys.path contains a .pth file.
bpo-39793: Use the same domain when testing make_msgid. Patch by Batuhan Taskaya.
bpo-1812: Fix newline handling in doctest.testfile when loading from a package whose loader has a get_data method. Patch by Peter Donis.
bpo-37957: test.regrtest now can receive a list of test patterns to ignore (using the -i/–ignore argument) or a file with a list of patterns to ignore (using the –ignore-file argument). Patch by 
Pablo Galindo.
bpo-38502: test.regrtest now uses process groups in the multiprocessing mode (-jN command line option) if process groups are available: if os.setsid() and os.killpg() functions are available.
bpo-37421: multiprocessing tests now stop the ForkServer instance if it’s running: close the “alive” file descriptor to ask the server to stop and then remove its UNIX address.
bpo-37421: multiprocessing tests now explicitly call _run_finalizers() to immediately remove temporary directories created by tests.

Build
bpo-40653: Move _dirnameW out of HAVE_SYMLINK to fix a potential compiling issue.
bpo-38360: Support single-argument form of macOS -isysroot flag.
bpo-40204: Pin Sphinx version to 2.3.1 in Doc/Makefile.
bpo-40158: Fix CPython MSBuild Properties in NuGet Package (build/native/python.props)

Windows
bpo-40164: Updates Windows OpenSSL to 1.1.1g
bpo-39631: Changes the registered MIME type for .py files on Windows to text/x-python instead of text/plain.
bpo-40650: Include winsock2.h in pytime.c for timeval.
bpo-39930: Ensures the required vcruntime140.dll is included in install packages.
bpo-39847: Avoid hang when computer is hibernated whilst waiting for a mutex (for lock-related objects from threading) around 49-day uptime.
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime.

macOS
bpo-39580: Avoid opening Finder window if running installer from the command line.
bpo-40400: Update the macOS installer build scripts to build with Python 3.x and to build correctly on newer macOS systems with SIP.
bpo-40741: Update macOS installer to use SQLite 3.32.2.
bpo-38329: python.org macOS installers now update the Current version symlink of /Library/Frameworks/Python.framework/Versions for 3.9 installs. Previously, Current was only updated for Python 2.x 
installs. This should make it easier to embed Python 3 into other macOS applications.
bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g.

IDLE
bpo-39885: Make context menu Cut and Copy work again when right-clicking within a selection.
bpo-40723: Make test_idle pass when run after import.
bpo-27115: For ‘Go to Line’, use a Query box subclass with IDLE standard behavior and improved error checking.
bpo-39885: Since clicking to get an IDLE context menu moves the cursor, any text selection should be and now is cleared.
bpo-39852: Edit “Go to line” now clears any selection, preventing accidental deletion. It also updates Ln and Col on the status bar.
bpo-38439: Add a 256×256 pixel IDLE icon to support more modern environments. Created by Andrew Clover. Delete the unused macOS idle.icns icon file.
bpo-38689: IDLE will no longer freeze when inspect.signature fails when fetching a calltip.

Tools/Demos
bpo-40479: Update multissltest helper to test with latest OpenSSL 1.0.2, 1.1.0, 1.1.1, and 3.0.0-alpha.
bpo-40179: Fixed translation of #elif in Argument Clinic.
bpo-40163: Fix multissltest tool. OpenSSL has changed download URL for old releases. The multissltest tool now tries to download from current and old download URLs.
bpo-36184: Port python-gdb.py to FreeBSD. python-gdb.py now checks for “take_gil” function name to check if a frame tries to acquire the GIL, instead of checking for “pthread_cond_timedwait” which is 
specific to Linux and can be a different condition than the GIL.
bpo-39889: Fixed unparse.py for extended slices containing a single element (e.g. a[i:j,]). Remove redundant tuples when index with a tuple (e.g. a[i, j]).
C API
bpo-39884: _PyMethodDef_RawFastCallDict() and _PyMethodDef_RawFastCallKeywords() now include the method name in the SystemError “bad call flags” error message to ease debug.
bpo-38643: PyNumber_ToBase() now raises a SystemError instead of crashing when called with invalid base.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/py37-html-docs/Makefile \
    pkgsrc/lang/py37-html-docs/PLIST pkgsrc/lang/py37-html-docs/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/python37/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/python37/dist.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/python37/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/py37-html-docs/Makefile
diff -u pkgsrc/lang/py37-html-docs/Makefile:1.8 pkgsrc/lang/py37-html-docs/Makefile:1.9
--- pkgsrc/lang/py37-html-docs/Makefile:1.8     Wed Mar 11 08:31:57 2020
+++ pkgsrc/lang/py37-html-docs/Makefile Tue Jun 30 05:56:02 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/03/11 08:31:57 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/06/30 05:56:02 adam Exp $
 
-VERS=          3.7.7
+VERS=          3.7.8
 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.8 pkgsrc/lang/py37-html-docs/PLIST:1.9
--- pkgsrc/lang/py37-html-docs/PLIST:1.8        Wed Mar 11 08:31:57 2020
+++ pkgsrc/lang/py37-html-docs/PLIST    Tue Jun 30 05:56:02 2020
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2020/03/11 08:31:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2020/06/30 05:56:02 adam Exp $
 share/doc/python3.7/.buildinfo
-share/doc/python3.7/_downloads/d83ca97a7bd8a49fe601273beee918ab/tzinfo_examples.py
+share/doc/python3.7/_downloads/6b45dc135219d1404be49d606589a11d/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
@@ -488,7 +488,7 @@ share/doc/python3.7/_static/default.css
 share/doc/python3.7/_static/doctools.js
 share/doc/python3.7/_static/documentation_options.js
 share/doc/python3.7/_static/file.png
-share/doc/python3.7/_static/jquery-3.2.1.js
+share/doc/python3.7/_static/jquery-3.4.1.js
 share/doc/python3.7/_static/jquery.js
 share/doc/python3.7/_static/language_data.js
 share/doc/python3.7/_static/minus.png
Index: pkgsrc/lang/py37-html-docs/distinfo
diff -u pkgsrc/lang/py37-html-docs/distinfo:1.8 pkgsrc/lang/py37-html-docs/distinfo:1.9
--- pkgsrc/lang/py37-html-docs/distinfo:1.8     Wed Mar 11 08:31:57 2020
+++ pkgsrc/lang/py37-html-docs/distinfo Tue Jun 30 05:56:02 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/03/11 08:31:57 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/06/30 05:56:02 adam Exp $
 
-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
+SHA1 (python-3.7.8-docs-html.tar.bz2) = a90e063ffeea3db6f8e6cf2ea972ac0b477bb6e3
+RMD160 (python-3.7.8-docs-html.tar.bz2) = 470ae22ad0d13fa201e220947e41357c34f0869e
+SHA512 (python-3.7.8-docs-html.tar.bz2) = 8aaf57b0a539d98a7158ffeed03b4c631ca45e34bfc9000547b4372ecd397e79a652f297674d3af631c696d80272aedec3930f4a01b584e17c3e41e9f933e16c
+Size (python-3.7.8-docs-html.tar.bz2) = 6283763 bytes

Index: pkgsrc/lang/python37/PLIST
diff -u pkgsrc/lang/python37/PLIST:1.10 pkgsrc/lang/python37/PLIST:1.11
--- pkgsrc/lang/python37/PLIST:1.10     Sat Dec 28 22:30:24 2019
+++ pkgsrc/lang/python37/PLIST  Tue Jun 30 05:56:02 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2019/12/28 22:30:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2020/06/30 05:56:02 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1374,8 +1374,8 @@ lib/python${PY_VER_SUFFIX}/ensurepip/__i
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.py
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyo
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-47.1.0-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyo
@@ -1457,11 +1457,12 @@ lib/python${PY_VER_SUFFIX}/http/server.p
 lib/python${PY_VER_SUFFIX}/idlelib/CREDITS.txt
 lib/python${PY_VER_SUFFIX}/idlelib/ChangeLog
 lib/python${PY_VER_SUFFIX}/idlelib/HISTORY.txt
+lib/python${PY_VER_SUFFIX}/idlelib/Icons/README.txt
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/folder.gif
-lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle.icns
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle.ico
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_16.gif
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_16.png
+lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_256.png
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_32.gif
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_32.png
 lib/python${PY_VER_SUFFIX}/idlelib/Icons/idle_48.gif

Index: pkgsrc/lang/python37/dist.mk
diff -u pkgsrc/lang/python37/dist.mk:1.8 pkgsrc/lang/python37/dist.mk:1.9
--- pkgsrc/lang/python37/dist.mk:1.8    Wed Mar 11 08:31:57 2020
+++ pkgsrc/lang/python37/dist.mk        Tue Jun 30 05:56:02 2020
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.8 2020/03/11 08:31:57 adam Exp $
+# $NetBSD: dist.mk,v 1.9 2020/06/30 05:56:02 adam Exp $
 
-PY_DISTVERSION=        3.7.7
+PY_DISTVERSION=        3.7.8
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python37/distinfo

Index: pkgsrc/lang/python37/distinfo
diff -u pkgsrc/lang/python37/distinfo:1.15 pkgsrc/lang/python37/distinfo:1.16
--- pkgsrc/lang/python37/distinfo:1.15  Wed Mar 11 08:31:57 2020
+++ pkgsrc/lang/python37/distinfo       Tue Jun 30 05:56:02 2020
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2020/03/11 08:31:57 adam Exp $
+$NetBSD: distinfo,v 1.16 2020/06/30 05:56:02 adam Exp $
 
-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 (Python-3.7.8.tar.xz) = ecfc1d291ab35bb7cc3a352dd9451450266f5974
+RMD160 (Python-3.7.8.tar.xz) = 67af3c8cbdfbadd49bbbb56690b3da90799dc687
+SHA512 (Python-3.7.8.tar.xz) = d2ba299e3cf8ed0f8fed9317f42bcd8d9af7e0e6175939b4be1be289c1658418bed17899e2608d762ffb15575021956cf6bf2054d7863c04b3bd7642f5b8c7ea
+Size (Python-3.7.8.tar.xz) = 17399552 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
 SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf



Home | Main Index | Thread Index | Old Index