Bug 255519
Summary: | [WPE][GTK] Autoinstall version conflicts for cryptography and cffi libraries when running the run-benchmark script | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
Component: | Tools / Tests | Assignee: | Carlos Alberto Lopez Perez <clopez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | aakash_jain, bugs-noreply, jbedard, lmoura, philn, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Carlos Alberto Lopez Perez
Since 262159@main executing the run-benchmark script on Linux fails with:
$ Tools/Scripts/run-benchmark --plan sunspider
2023-04-17 16:04:07,207 - INFO - Ensure dependencies of http server is satisfied
Traceback (most recent call last):
File "Tools/Scripts/run-benchmark", line 13, in <module>
sys.exit(main())
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 173, in main
return start(parse_args(config_argument_parser()))
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 161, in start
run_benchmark_plan(args, args.plan)
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 102, in run_benchmark_plan
args.browser_args)
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py", line 27, in __init__
self._http_server_driver = HTTPServerDriverFactory.create(platform)
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/generic_factory.py", line 13, in create
return cls.products[description]()
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py", line 27, in __init__
self._ensure_http_server_dependencies()
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py", line 118, in _ensure_http_server_dependencies
from webkitpy.autoinstalled import twisted
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/autoinstalled/twisted.py", line 33, in <module>
AutoInstall.install(Package('cryptography', Version(36, 0, 2), wheel=True))
File "/home/clopez/webkit/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 616, in install
packages = cls.register(package)
File "/home/clopez/webkit/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 570, in register
raise ValueError('Registered version of {} uses {}, but requested version uses {}'.format(package.name, cls.packages.get(package.name)[0].version, package.version))
ValueError: Registered version of cryptography uses 36.0.1, but requested version uses 36.0.2
The problem is caused because a mistmatch of versions for the autoinstall internal python tooling.
The issue only happens on Linux because only on Linux we also install this libraries at Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py since 245420@main
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
Pull request: https://github.com/WebKit/WebKit/pull/12805
Radar WebKit Bug Importer
<rdar://problem/108151704>
EWS
Committed 263081@main (2a0a1467f4d8): <https://commits.webkit.org/263081@main>
Reviewed commits have been landed. Closing PR #12805 and removing active labels.