Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python38 for openSUSE:Factory checked in at 2021-05-12 19:31:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python38 (Old) and /work/SRC/openSUSE:Factory/.python38.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python38" Wed May 12 19:31:05 2021 rev:13 rq:890780 version:3.8.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python38/python38.changes 2021-05-02 18:35:39.429065130 +0200 +++ /work/SRC/openSUSE:Factory/.python38.new.2988/python38.changes 2021-05-12 19:31:07.843314401 +0200 @@ -1,0 +2,133 @@ +Wed May 5 15:29:30 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Update to 3.8.10: + - Security + - bpo-43434: Creating a sqlite3.Connection object now also + produces a sqlite3.connect auditing event. Previously this + event was only produced by sqlite3.connect() calls. Patch + by Erlend E. Aasland. + - bpo-43472: Ensures interpreter-level audit hooks receive + the cpython.PyInterpreterState_New event when called + through the _xxsubinterpreters module. + - bpo-43075: Fix Regular Expression Denial of Service (ReDoS) + vulnerability in urllib.request.AbstractBasicAuthHandler. + The ReDoS-vulnerable regex has quadratic worst-case + complexity and it allows cause a denial of service when + identifying crafted invalid RFCs. This ReDoS issue is on + the client side and needs remote attackers to control the + HTTP server. + - Core and Builtins + - bpo-43105: Importlib now resolves relative paths when + creating module spec objects from file locations. + - bpo-42924: Fix bytearray repetition incorrectly copying + data from the start of the buffer, even if the data is + offset within the buffer (e.g. after reassigning a slice at + the start of the bytearray to a shorter byte string). + - Library + - bpo-43993: Update bundled pip to 21.1.1. + - bpo-43937: Fixed the turtle module working with non-default + root window. + - bpo-43930: Update bundled pip to 21.1 and setuptools to + 56.0.0 + - bpo-43920: OpenSSL 3.0.0: load_verify_locations() now + returns a consistent error message when cadata contains no + valid certificate. + - bpo-43607: urllib can now convert Windows paths with \\?\ + prefixes into URL paths. + - bpo-43284: platform.win32_ver derives the windows version + from sys.getwindowsversion().platform_version which in turn + derives the version from kernel32.dll (which can be of + a different version than Windows itself). Therefore change + the platform.win32_ver to determine the version using the + platform module???s _syscmd_ver private function to return an + accurate version. + - bpo-42248: [Enum] ensure exceptions raised in _missing__ + are released + - bpo-43799: OpenSSL 3.0.0: define OPENSSL_API_COMPAT 1.1.1 + to suppress deprecation warnings. Python requires OpenSSL + 1.1.1 APIs. + - bpo-43794: Add ssl.OP_IGNORE_UNEXPECTED_EOF constants + (OpenSSL 3.0.0) + - bpo-43789: OpenSSL 3.0.0: Don???t call the password callback + function a second time when first call has signaled an + error condition. + - bpo-43788: The header files for ssl error codes are now + OpenSSL version-specific. Exceptions will now show correct + reason and library codes. The make_ssl_data.py script has + been rewritten to use OpenSSL???s text file with error codes. + - bpo-43655: tkinter dialog windows are now recognized as + dialogs by window managers on macOS and X Window. + - bpo-43534: turtle.textinput() and turtle.numinput() create + now a transient window working on behalf of the canvas + window. + - bpo-43522: Fix problem with hostname_checks_common_name. + OpenSSL does not copy hostflags from struct SSL_CTX to + struct SSL. + - bpo-42967: Allow bytes separator argument in + urllib.parse.parse_qs and urllib.parse.parse_qsl when + parsing str query strings. Previously, this raised + a TypeError. + - bpo-43176: Fixed processing of a dataclass that inherits + from a frozen dataclass with no fields. It is now correctly + detected as an error. + - bpo-34463: Fixed discrepancy between traceback and the + interpreter in formatting of SyntaxError with lineno not + set (traceback was changed to match interpreter). + - bpo-41735: Fix thread locks in zlib module may go wrong in + rare case. Patch by Ma Lin. + - bpo-26053: Fixed bug where the pdb interactive run command + echoed the args from the shell command line, even if those + have been overridden at the pdb prompt. + - bpo-36470: Fix dataclasses with InitVars and replace(). + Patch by Claudiu Popa. + - bpo-28577: The hosts method on 32-bit prefix length + IPv4Networks and 128-bit prefix IPv6Networks now returns + a list containing the single Address instead of an empty + list. + - bpo-32745: Fix a regression in the handling of ctypes??? + ctypes.c_wchar_p type: embedded null characters would cause + a ValueError to be raised. Patch by Zackery Spytz. + - Documentation + - bpo-43959: The documentation on the PyContextVar C-API was + clarified. + - bpo-43938: Update dataclasses documentation to express that + FrozenInstanceError is derived from AttributeError. + - bpo-43739: Fixing the example code in + Doc/extending/extending.rst to declare and initialize the + pmodule variable to be of the right type. + - Tests + - bpo-43842: Fix a race condition in the SMTP test of + test_logging. Don???t close a file descriptor (socket) from + a different thread while asyncore.loop() is polling the + file descriptor. Patch by Victor Stinner. + - bpo-43811: Tests multiple OpenSSL versions on GitHub + Actions. Use ccache to speed up testing. + - bpo-43791: OpenSSL 3.0.0: Disable testing of legacy + protocols TLS 1.0 and 1.1. Tests are failing with + TLSV1_ALERT_INTERNAL_ERROR. + - IDLE + - bpo-43655: IDLE dialog windows are now recognized as + dialogs by window managers on macOS and X Window. + - C API + - bpo-43962: _PyInterpreterState_IDIncref() now calls + _PyInterpreterState_IDInitref() and always increments + id_refcount. Previously, calling + _xxsubinterpreters.get_current() could create an + id_refcount inconsistency when + a _xxsubinterpreters.InterpreterID object was deallocated. + Patch by Victor Stinner. +- Reapplied patches: + - CVE-2019-5010-null-defer-x509-cert-DOS.patch + - F00102-lib64.patch + - SUSE-FEDORA-multilib.patch + - bpo-31046_ensurepip_honours_prefix.patch + - python-3.3.0b1-fix_date_time_compiler.patch + +------------------------------------------------------------------- +Sun May 2 09:20:06 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Make sure to close the import_failed.map file after the exception + has been raised in order to avoid ResourceWarnings when the + failing import is part of a try...except block. + +------------------------------------------------------------------- Old: ---- Python-3.8.9.tar.xz Python-3.8.9.tar.xz.asc New: ---- Python-3.8.10.tar.xz Python-3.8.10.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python38.spec ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.763310314 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.767310296 +0200 @@ -87,7 +87,7 @@ %bcond_without profileopt %endif Name: %{python_pkg_name}%{psuffix} -Version: 3.8.9 +Version: 3.8.10 Release: 0 Summary: Python 3 Interpreter License: Python-2.0 ++++++ CVE-2019-5010-null-defer-x509-cert-DOS.patch ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.787310207 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.787310207 +0200 @@ -13,17 +13,15 @@ https://bugs.python.org/issue35746 --- - Lib/test/talos-2019-0758.pem | 22 +++++++++++++++++++ - Lib/test/test_ssl.py | 22 +++++++++++++++++++ - .../2019-01-15-18-16-05.bpo-35746.nMSd0j.rst | 3 +++ - Modules/_ssl.c | 4 ++++ - 4 files changed, 51 insertions(+) + Lib/test/test_ssl.py | 21 ++++++++++ + Misc/NEWS.d/next/Security/2019-01-15-18-16-05.bpo-35746.nMSd0j.rst | 3 + + 2 files changed, 24 insertions(+) create mode 100644 Lib/test/talos-2019-0758.pem create mode 100644 Misc/NEWS.d/next/Security/2019-01-15-18-16-05.bpo-35746.nMSd0j.rst --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py -@@ -467,6 +467,27 @@ class BasicSocketTests(unittest.TestCase +@@ -501,6 +501,27 @@ class BasicSocketTests(unittest.TestCase } ) ++++++ F00102-lib64.patch ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.795310172 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.795310172 +0200 @@ -100,7 +100,7 @@ --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py -@@ -20,10 +20,10 @@ __all__ = [ +@@ -25,10 +25,10 @@ _ALWAYS_STR = { _INSTALL_SCHEMES = { 'posix_prefix': { @@ -114,7 +114,7 @@ 'include': '{installed_base}/include/python{py_version_short}{abiflags}', 'platinclude': -@@ -62,10 +62,10 @@ _INSTALL_SCHEMES = { +@@ -67,10 +67,10 @@ _INSTALL_SCHEMES = { 'data': '{userbase}', }, 'posix_user': { @@ -130,7 +130,7 @@ 'data': '{userbase}', --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py -@@ -267,8 +267,8 @@ class HelperFunctionsTests(unittest.Test +@@ -268,8 +268,8 @@ class HelperFunctionsTests(unittest.Test dirs = site.getsitepackages() if os.sep == '/': # OS X, Linux, FreeBSD, etc @@ -163,7 +163,7 @@ if (_PyStatus_EXCEPTION(status)) { return status; } -@@ -1067,7 +1067,7 @@ calculate_zip_path(PyCalculatePath *calc +@@ -1063,7 +1063,7 @@ calculate_zip_path(PyCalculatePath *calc return PATHLEN_ERR(); } } @@ -172,7 +172,7 @@ if (_PyStatus_EXCEPTION(status)) { return status; } -@@ -1197,7 +1197,7 @@ calculate_init(PyCalculatePath *calculat +@@ -1193,7 +1193,7 @@ calculate_init(PyCalculatePath *calculat if (!calculate->exec_prefix) { return DECODE_LOCALE_ERR("EXEC_PREFIX define", len); } @@ -183,7 +183,7 @@ } --- a/configure +++ b/configure -@@ -15222,9 +15222,9 @@ fi +@@ -15262,9 +15262,9 @@ fi if test x$PLATFORM_TRIPLET = x; then @@ -197,7 +197,7 @@ --- a/configure.ac +++ b/configure.ac -@@ -4698,9 +4698,9 @@ fi +@@ -4720,9 +4720,9 @@ fi dnl define LIBPL after ABIFLAGS and LDVERSION is defined. AC_SUBST(PY_ENABLE_SHARED) if test x$PLATFORM_TRIPLET = x; then @@ -211,7 +211,7 @@ --- a/setup.py +++ b/setup.py -@@ -649,7 +649,7 @@ class PyBuildExt(build_ext): +@@ -634,7 +634,7 @@ class PyBuildExt(build_ext): # directories (i.e. '.' and 'Include') must be first. See issue # 10520. if not CROSS_COMPILING: @@ -220,7 +220,7 @@ add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') # only change this for cross builds for 3.3, issues on Mageia if CROSS_COMPILING: -@@ -953,11 +953,11 @@ class PyBuildExt(build_ext): +@@ -938,11 +938,11 @@ class PyBuildExt(build_ext): elif curses_library: readline_libs.append(curses_library) elif self.compiler.find_library_file(self.lib_dirs + ++++++ Python-3.8.9.tar.xz -> Python-3.8.10.tar.xz ++++++ /work/SRC/openSUSE:Factory/python38/Python-3.8.9.tar.xz /work/SRC/openSUSE:Factory/.python38.new.2988/Python-3.8.10.tar.xz differ: char 26, line 1 ++++++ SUSE-FEDORA-multilib.patch ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.855309905 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.859309887 +0200 @@ -125,7 +125,7 @@ addsitedir(sitedir, known_paths) --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py -@@ -20,10 +20,10 @@ __all__ = [ +@@ -25,10 +25,10 @@ _ALWAYS_STR = { _INSTALL_SCHEMES = { 'posix_prefix': { @@ -139,7 +139,7 @@ 'include': '{installed_base}/include/python{py_version_short}{abiflags}', 'platinclude': -@@ -62,10 +62,10 @@ _INSTALL_SCHEMES = { +@@ -67,10 +67,10 @@ _INSTALL_SCHEMES = { 'data': '{userbase}', }, 'posix_user': { @@ -198,7 +198,7 @@ os.makedirs(lib_dynload) --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py -@@ -267,8 +267,11 @@ class HelperFunctionsTests(unittest.Test +@@ -268,8 +268,11 @@ class HelperFunctionsTests(unittest.Test dirs = site.getsitepackages() if os.sep == '/': # OS X, Linux, FreeBSD, etc @@ -263,7 +263,7 @@ ABIFLAGS= @ABIFLAGS@ # Detailed destination directories -@@ -754,6 +757,7 @@ Modules/getpath.o: $(srcdir)/Modules/get +@@ -766,6 +769,7 @@ Modules/getpath.o: $(srcdir)/Modules/get -DEXEC_PREFIX='"$(exec_prefix)"' \ -DVERSION='"$(VERSION)"' \ -DVPATH='"$(VPATH)"' \ @@ -321,7 +321,7 @@ if (_PyStatus_EXCEPTION(status)) { return status; } -@@ -1067,7 +1067,7 @@ calculate_zip_path(PyCalculatePath *calc +@@ -1063,7 +1063,7 @@ calculate_zip_path(PyCalculatePath *calc return PATHLEN_ERR(); } } @@ -330,7 +330,7 @@ if (_PyStatus_EXCEPTION(status)) { return status; } -@@ -1197,7 +1197,7 @@ calculate_init(PyCalculatePath *calculat +@@ -1193,7 +1193,7 @@ calculate_init(PyCalculatePath *calculat if (!calculate->exec_prefix) { return DECODE_LOCALE_ERR("EXEC_PREFIX define", len); } @@ -341,7 +341,7 @@ } --- a/configure +++ b/configure -@@ -15222,9 +15222,9 @@ fi +@@ -15262,9 +15262,9 @@ fi if test x$PLATFORM_TRIPLET = x; then @@ -355,7 +355,7 @@ --- a/configure.ac +++ b/configure.ac -@@ -4695,12 +4695,26 @@ else +@@ -4717,12 +4717,26 @@ else LIBPYTHON='' fi @@ -386,7 +386,7 @@ --- a/setup.py +++ b/setup.py -@@ -649,7 +649,7 @@ class PyBuildExt(build_ext): +@@ -634,7 +634,7 @@ class PyBuildExt(build_ext): # directories (i.e. '.' and 'Include') must be first. See issue # 10520. if not CROSS_COMPILING: @@ -395,7 +395,7 @@ add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') # only change this for cross builds for 3.3, issues on Mageia if CROSS_COMPILING: -@@ -953,11 +953,11 @@ class PyBuildExt(build_ext): +@@ -938,11 +938,11 @@ class PyBuildExt(build_ext): elif curses_library: readline_libs.append(curses_library) elif self.compiler.find_library_file(self.lib_dirs + ++++++ bpo-31046_ensurepip_honours_prefix.patch ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.887309763 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.887309763 +0200 @@ -5,11 +5,11 @@ Co-Authored-By: Xavier de Gaye <xdeg...@gmail.com> --- - Doc/library/ensurepip.rst | 9 +++++++-- - Lib/ensurepip/__init__.py | 18 +++++++++++++----- - Lib/test/test_ensurepip.py | 11 +++++++++++ - Makefile.pre.in | 4 ++-- - .../2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst | 1 + + Doc/library/ensurepip.rst | 9 +++-- + Lib/ensurepip/__init__.py | 18 +++++++--- + Lib/test/test_ensurepip.py | 11 ++++++ + Makefile.pre.in | 4 +- + Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst | 1 5 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst @@ -55,7 +55,7 @@ .. note:: --- a/Lib/ensurepip/__init__.py +++ b/Lib/ensurepip/__init__.py -@@ -53,27 +53,27 @@ def _disable_pip_configuration_settings( +@@ -52,27 +52,27 @@ def _disable_pip_configuration_settings( os.environ['PIP_CONFIG_FILE'] = os.devnull @@ -88,7 +88,7 @@ Note that calling this function will alter both sys.path and os.environ. """ -@@ -116,6 +116,8 @@ def _bootstrap(*, root=None, upgrade=Fal +@@ -115,6 +115,8 @@ def _bootstrap(*, root=None, upgrade=Fal args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir] if root: args += ["--root", root] @@ -97,7 +97,7 @@ if upgrade: args += ["--upgrade"] if user: -@@ -188,6 +190,11 @@ def _main(argv=None): +@@ -187,6 +189,11 @@ def _main(argv=None): help="Install everything relative to this alternate root directory.", ) parser.add_argument( @@ -109,7 +109,7 @@ "--altinstall", action="store_true", default=False, -@@ -206,6 +213,7 @@ def _main(argv=None): +@@ -205,6 +212,7 @@ def _main(argv=None): return _bootstrap( root=args.root, @@ -139,7 +139,7 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1188,7 +1188,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni +@@ -1200,7 +1200,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni install|*) ensurepip="" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ @@ -148,7 +148,7 @@ fi altinstall: commoninstall -@@ -1198,7 +1198,7 @@ altinstall: commoninstall +@@ -1210,7 +1210,7 @@ altinstall: commoninstall install|*) ensurepip="--altinstall" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ ++++++ import_failed.py ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.931309567 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.931309567 +0200 @@ -8,11 +8,12 @@ else: failed_name = __name__ -for line in open(failed_map_path): - package = line.split(':')[0] - imports = line.split(':')[1] - if failed_name in imports: - raise ImportError(f"""Module '{failed_name}' is not installed. +with open(failed_map_path) as fd: + for line in fd: + package = line.split(':')[0] + imports = line.split(':')[1] + if failed_name in imports: + raise ImportError(f"""Module '{failed_name}' is not installed. Use: sudo zypper install {package} to install it.""") ++++++ python-3.3.0b1-fix_date_time_compiler.patch ++++++ --- /var/tmp/diff_new_pack.3GskAC/_old 2021-05-12 19:31:08.959309444 +0200 +++ /var/tmp/diff_new_pack.3GskAC/_new 2021-05-12 19:31:08.959309444 +0200 @@ -1,6 +1,10 @@ +--- + Makefile.pre.in | 7 +++++++ + 1 file changed, 7 insertions(+) + --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -746,11 +746,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ +@@ -758,11 +758,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ $(DTRACE_OBJS) \ $(srcdir)/Modules/getbuildinfo.c $(CC) -c $(PY_CORE_CFLAGS) \