Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37e50b0dd84f7e560f08cee7f3f4349e6e16bd3e
      
https://github.com/WebKit/WebKit/commit/37e50b0dd84f7e560f08cee7f3f4349e6e16bd3e
  Author: Yury Semikhatsky <[email protected]>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/setup.py
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py
    M 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/autoinstall_unittest.py

  Log Message:
  -----------
  AutoInstall drops path prefix from pip index-url
https://bugs.webkit.org/show_bug.cgi?id=321747

Reviewed by Devin Rousso.

Preserve the port and path prefix when extracting the PyPI index from
pip.conf, stripping only the trailing /simple component that AutoInstall
appends itself. Bare-host index URLs are unaffected. Credentials in the
index URL are still dropped, as they were before.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py:
(_pypi_indices_from_file):
* Tools/Scripts/libraries/webkitcorepy/setup.py:
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py:
* 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/autoinstall_unittest.py:
(DefaultPyPIIndexTest.test_index_with_simple_suffix):
(DefaultPyPIIndexTest):
(DefaultPyPIIndexTest.test_index_with_path_prefix):
(DefaultPyPIIndexTest.test_index_with_path_prefix_without_simple_suffix):
(DefaultPyPIIndexTest.test_index_with_port):
(DefaultPyPIIndexTest.test_index_with_credentials):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to