Bug 245342 - [Flatpak SDK] Remove webkitpy auto-installed deps when upgrading to new SDK
Summary: [Flatpak SDK] Remove webkitpy auto-installed deps when upgrading to new SDK
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-18 10:41 PDT by Philippe Normand
Modified: 2022-09-23 07:43 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2022-09-18 10:41:21 PDT
New Python runtime might be incompatible with them.
Comment 1 Philippe Normand 2022-09-18 10:44:46 PDT
Traceback (most recent call last):
  File "/app/webkit/Tools/Scripts/git-webkit", line 69, in <module>
    sys.exit(program.main(
  File "/app/webkit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 153, in main
    return parsed.main(
  File "/app/webkit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 544, in main
    return cls.create_pull_request(repository, args, branch_point)
  File "/app/webkit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 329, in create_pull_request
    if issue and issue.redacted and args.remote is None:
  File "/app/webkit/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py", line 187, in redacted
    self.title or '', self.project or '', self.component or '', self.version or '',
  File "/app/webkit/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py", line 89, in title
    self.tracker.populate(self, 'title')
  File "/app/webkit/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py", line 168, in populate
    response = requests.get('{}/rest/bug/{}{}'.format(self.url, issue.id, self._login_arguments(required=False)))
  File "/app/webkit/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py", line 146, in _login_arguments
    username, password = self.credentials(required=required)
  File "/app/webkit/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py", line 132, in credentials
    return webkitcorepy.credentials(
  File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/credentials.py", line 71, in credentials
    username = keyring.get_password(url, 'username')
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/keyring/core.py", line 55, in get_password
    return get_keyring().get_password(service_name, username)
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/keyring/backends/chainer.py", line 51, in get_password
    password = keyring.get_password(service, username)
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/keyring/backends/SecretService.py", line 83, in get_password
    return item.get_secret().decode('utf-8')
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/secretstorage/item.py", line 105, in get_secret
    decryptor = Cipher(aes, modes.CBC(aes_iv), default_backend()).decryptor()
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/cryptography/hazmat/backends/__init__.py", line 9, in default_backend
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/cryptography/hazmat/backends/openssl/__init__.py", line 6, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/cryptography/hazmat/backends/openssl/backend.py", line 64, in <module>
    from cryptography.hazmat.bindings.openssl import binding
  File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'
Comment 2 Philippe Normand 2022-09-18 10:45:26 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4467
Comment 3 EWS 2022-09-23 07:42:50 PDT
Committed 254789@main (9ae5d27b14fd): <https://commits.webkit.org/254789@main>

Reviewed commits have been landed. Closing PR #4467 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2022-09-23 07:43:18 PDT
<rdar://problem/100324333>