Files
nodejs13/python3.patch
Adam Majer 25ae34fa2e - Update to 13.5.0:
* cli: add --trace-exit cli option
  * http, https: increase server headers timeout
  * readline:
    + update ansi-regex
    + promote _getCursorPos to public api
  * repl: add completion preview
  * util: add Set and map size to inspect output
  * wasi: require CLI flag to require() wasi module
- Changes in 13.4.0:
  * deps:
    + update npm to 6.13.4 fixing an arbitrary path overwrite
    and access via "bin" field (bsc#1159352, CVE-2019-16777,
    CVE-2019-16776, CVE-2019-16775)
    + update uvwasi
    + upgrade to libuv 1.34.0
  * doc: docs deprecate http finished
  * events: add captureRejection option
  * http:
    + add captureRejection support
    + llhttp opt-in insecure HTTP header parsing
  * http2: implement capture rection for 'request' and 'stream' events
  * net: implement capture rejections for 'connection' event
  * repl: support previews by eager evaluating input
  * stream: add support for captureRejection option
  * tls:
    + implement capture rejections for 'secureConnection' event
    + expose IETF name for current cipher suite
  * worker: add argv constructor option
- skip_no_console.patch, versioned.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs13?expand=0&rev=11
2019-12-19 14:19:43 +00:00

35 lines
1.3 KiB
Diff

Message: 'ok 2834 sequential/test-worker-prof'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib64/python3.7/logging/__init__.py", line 1037, in emit
stream.write(msg + self.terminator)
TypeError: a bytes-like object is required, not 'str'
Call stack:
File "tools/test.py", line 1734, in <module>
sys.exit(Main())
File "tools/test.py", line 1710, in Main
if RunTestCases(cases_to_run, options.progress, options.j, options.flaky_tests):
File "tools/test.py", line 933, in RunTestCases
return progress.Run(tasks)
File "tools/test.py", line 141, in Run
self.RunSingle(False, 0)
File "tools/test.py", line 202, in RunSingle
self.HasRun(output)
File "tools/test.py", line 365, in HasRun
logger.info(' ---')
Index: node-git.d8fc0ae50f/tools/test.py
===================================================================
--- node-git.d8fc0ae50f.orig/tools/test.py
+++ node-git.d8fc0ae50f/tools/test.py
@@ -1544,7 +1544,7 @@ def Main():
logger.addHandler(ch)
logger.setLevel(logging.INFO)
if options.logfile:
- fh = logging.FileHandler(options.logfile, mode='wb')
+ fh = logging.FileHandler(options.logfile, encoding='utf-8', mode='wt')
logger.addHandler(fh)
workspace = abspath(join(dirname(sys.argv[0]), '..'))