[Webkit-unassigned] [Bug 221842] New: [Python-3] base64.encodestring is deprecated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 12 13:37:27 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221842

            Bug ID: 221842
           Summary: [Python-3] base64.encodestring is deprecated
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: don.olmstead at sony.com

base64.encodestring has been deprecated since 3.1. In 3.8 it is an alias of encodebytes. It is completely removed in 3.9.

Found when running tests on Windows

[1480/1658] webkitpy.w3c.wpt_github_unittest.WPTGitHubTest.test_auth_token erred:

  Traceback (most recent call last):
    File "C:\webkit\Tools\Scripts\webkitpy\w3c\wpt_github_unittest.py", line 50, in test_auth_token
      string_utils.decode(base64.encodestring(string_utils.encode('rutabaga:decafbad')), target_type=str).strip())
  AttributeError: module 'base64' has no attribute 'encodestring'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210212/e15a1aa3/attachment-0001.htm>


More information about the webkit-unassigned mailing list