[webkit-changes] [WebKit/WebKit] 0472cd: [autoinstall] Recognize wheels which are purely pr...

Elliott Williams noreply at github.com
Mon Nov 13 13:29:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0472cd19455a291073e340c15dcd7d344a1f57ee
      https://github.com/WebKit/WebKit/commit/0472cd19455a291073e340c15dcd7d344a1f57ee
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py

  Log Message:
  -----------
  [autoinstall] Recognize wheels which are purely precompiled shared libraries
https://bugs.webkit.org/show_bug.cgi?id=264755
rdar://118344315

Reviewed by Jonathan Bedard.

Some projects, like https://pypi.org/project/jq/, distribute wheels that
are currently unrecognized because they don't contain a file whose name
exactly matches the project name. (In jq's case, it has a
"jq.cpython-39-darwin.so" but not a "jq" in the wheel.)

Per PEP-491, wheels don't have to have files whose names match the
package name, so our check is overzealous. Remove it.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py:
(Package.install):

Canonical link: https://commits.webkit.org/270666@main




More information about the webkit-changes mailing list