Title: [271649] trunk/Tools
Revision
271649
Author
jbed...@apple.com
Date
2021-01-20 08:02:59 -0800 (Wed, 20 Jan 2021)

Log Message

[webkitcorepy] Support alternative default pypi url on macOS (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=220744
<rdar://problem/73369338>

Unreviewed follow-up fix.

* Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py:
(_default_pypi_index): Ensure that "simple" is excluded from the pypi url.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (271648 => 271649)


--- trunk/Tools/ChangeLog	2021-01-20 16:02:01 UTC (rev 271648)
+++ trunk/Tools/ChangeLog	2021-01-20 16:02:59 UTC (rev 271649)
@@ -1,3 +1,14 @@
+2021-01-20  Jonathan Bedard  <jbed...@apple.com>
+
+        [webkitcorepy] Support alternative default pypi url on macOS (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=220744
+        <rdar://problem/73369338>
+
+        Unreviewed follow-up fix.
+
+        * Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py:
+        (_default_pypi_index): Ensure that "simple" is excluded from the pypi url.
+
 2021-01-20  Youenn Fablet  <you...@apple.com>
 
         A DOMWindow should not be reused if its JSDOMWindow has been created

Modified: trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py (271648 => 271649)


--- trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py	2021-01-20 16:02:01 UTC (rev 271648)
+++ trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py	2021-01-20 16:02:59 UTC (rev 271649)
@@ -313,7 +313,7 @@
 
 
 def _default_pypi_index():
-    pypi_url = re.compile(r'\Aindex\S* = https?://(?P<host>\S+)/?.*')
+    pypi_url = re.compile(r'\Aindex\S* = https?://(?P<host>\S+)/.*')
     pip_config = '/Library/Application Support/pip/pip.conf'
     if os.path.isfile(pip_config):
         with open(pip_config, 'r') as config:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to