[Webkit-unassigned] [Bug 282772] New: path configuration (pth) files not processed from autoinstall directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 7 12:19:33 PST 2024


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

            Bug ID: 282772
           Summary: path configuration (pth) files not processed from
                    autoinstall directory
           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: gsnedders at apple.com
                CC: webkit-bug-importer at group.apple.com

Path configuration files are only run for site directories, and we merely add this to sys.path directly. We should instead invoke site.addsitedir, and add it as a site directory and process all path configuration files.

Currently we have:

Tools/Scripts/libraries/autoinstalled/python-3-arm64/distutils-precedence.pth
Tools/Scripts/libraries/autoinstalled/python-3-arm64/zope.interface-7.0.1-py3.9-nspkg.pth

The first of these is used to make distutils use the setuptools provided distutils with recent setuptools versions (or with env SETUPTOOLS_USE_DISTUTILS=local).

Note this doesn't actually solve Bug 261113, because that is invoking Python directly, and thus we still wouldn't treat it as a site path, as we aren't using the AutoInstaller at all.

(Also: if it were a venv, we would consider it a site directory, but it's not.)

-- 
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/20241107/21f10022/attachment.htm>


More information about the webkit-unassigned mailing list