Skip to content

Commit

Permalink
[webkitpy] Convert 3.6 import error to message
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259281
rdar://112415698

Reviewed by Aakash Jain.

* Tools/Scripts/webkitpy/__init__.py:

Canonical link: https://commits.webkit.org/266104@main
  • Loading branch information
JonWBedard committed Jul 17, 2023
1 parent 0c2e3d5 commit 7e218f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/Scripts/webkitpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
AutoInstall.register(Package('logilab.astng', Version(0, 24, 1), pypi_name='logilab-astng', aliases=['logilab']))
AutoInstall.register(Package('pathlib2', Version(2, 3, 5)))
else:
raise ImportError("Unsupported Python version! (%s)" % sys.version)
sys.stderr.write("pytest, pylint and websockets do not support Python version! (%s)\n" % sys.version)

if sys.version_info >= (3, 6):
AutoInstall.register(Package('importlib_metadata', Version(4, 8, 1)))
Expand Down

0 comments on commit 7e218f4

Please sign in to comment.