WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
255519
[WPE][GTK] Autoinstall version conflicts for cryptography and cffi libraries when running the run-benchmark script
https://bugs.webkit.org/show_bug.cgi?id=255519
Summary
[WPE][GTK] Autoinstall version conflicts for cryptography and cffi libraries ...
Carlos Alberto Lopez Perez
Reported
2023-04-17 07:13:09 PDT
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
Comment 1
2023-04-17 08:57:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/12805
Radar WebKit Bug Importer
Comment 2
2023-04-17 11:49:49 PDT
<
rdar://problem/108151704
>
EWS
Comment 3
2023-04-18 10:52:09 PDT
Committed
263081@main
(2a0a1467f4d8): <
https://commits.webkit.org/263081@main
> Reviewed commits have been landed. Closing PR #12805 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug