WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250068
[Flatpak SDK] local build is broken on Python 3.11 runtimes
https://bugs.webkit.org/show_bug.cgi?id=250068
Summary
[Flatpak SDK] local build is broken on Python 3.11 runtimes
ChangSeok Oh
Reported
2023-01-04 00:42:46 PST
The local build of Flatpak SDK is broken on Fedora 37 with Python 3.11.1. $ ./Tools/Scripts/webkit-flatpak-sdk --build all That command ends with the following logs. Creating a virtualenv for this project... Pipfile: /home/changseok/Projects/WebKit/Tools/buildstream/Pipfile Using /usr/bin/python (3.11.1) to create virtualenv... ⠼ Creating virtual environment...created virtual environment CPython3.11.1.final.0-64 in 269ms creator CPython3Posix(dest=/home/changseok/Projects/WebKit/Tools/buildstream/.venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/changseok/.local/share/virtualenv) added seed packages: pip==22.2.2, setuptools==62.6.0, wheel==0.37.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator ✔ Successfully created virtual environment! Virtualenv location: /home/changseok/Projects/WebKit/Tools/buildstream/.venv Installing dependencies from Pipfile.lock (1c7e18)... An error occurred while installing grpcio==1.44.0 --hash=sha256:ccd388b8f37b19d06e4152189726ce309e36dc03b53f2216a4ea49f09a7438e6 --hash=sha256:be857b7ec2ac43455156e6ba89262f7d7ae60227049427d01a3fecd218a3f88d --hash=sha256:5f3c54ebb5d9633a557335c01d88d3d4928e9b1b131692283b6184da1edbec0b --hash=sha256:8fa6584046a7cf281649975a363673fa5d9c6faf9dc923f261cc0e56713b5892 --hash=sha256:f6a9cf0e77f72f2ac30c9c6e086bc7446c984c51bebc6c7f50fbcd718037edba --hash=sha256:cf220199b7b4992729ad4d55d5d3f652f4ccfe1a35b5eacdbecf189c245e1859 --hash=sha256:bfd36b959c3c4e945119387baed1414ea46f7116886aa23de0172302b49d7ff1 --hash=sha256:e50ddea6de76c09b656df4b5a55ae222e2a56e625c44250e501ff3c904113ec1 --hash=sha256:e2de61005118ae59d48d5d749283ebfd1ba4ca68cc1000f8a395cd2bdcff7ceb --hash=sha256:cd61b52d9cf8fcf8d9628c0b640b9e44fdc5e93d989cc268086a858540ed370c --hash=sha256:5c30a9a7d3a05920368a60b080cbbeaf06335303be23ac244034c71c03a0fd24 --hash=sha256:c5c2f8417d13386e18ccc8c61467cb6a6f9667a1ff7000a2d7d378e5d7df693f --hash=sha256:41036a574cab3468f24d41d6ed2b52588fb85ed60f8feaa925d7e424a250740b --hash=sha256:d1e22d3a510438b7f3365c0071b810672d09febac6e8ca8a47eab657ae5f347b --hash=sha256:05467acd391e3fffb05991c76cb2ed2fa1309d0e3815ac379764bc5670b4b5d4 --hash=sha256:14eefcf623890f3f7dd7831decd2a2116652b5ce1e0f1d4b464b8f52110743b0 --hash=sha256:0ac72d4b953b76924f8fa21436af060d7e6d8581e279863f30ee14f20751ac27 --hash=sha256:4201c597e5057a9bfef9ea5777a6d83f6252cb78044db7d57d941ec2300734a5 --hash=sha256:3d47553b8e86ab1e59b0185ba6491a187f94a0239f414c8fc867a22b0405b798 --hash=sha256:b8d852329336c584c636caa9c2db990f3a332b19bc86a80f4646b58d27c142db --hash=sha256:4ee51964edfd0a1293a95bb0d72d134ecf889379d90d2612cbf663623ce832b4 --hash=sha256:46d4843192e7d36278884282e100b8f305cf37d1b3d8c6b4f736d4454640a069 --hash=sha256:89b390b1c0de909965280d175c53128ce2f0f4f5c0f011382243dd7f2f894060 --hash=sha256:898c159148f27e23c08a337fb80d31ece6b76bb24f359d83929460d813665b74 --hash=sha256:c122dac5cb299b8ad7308d61bd9fe0413de13b0347cce465398436b3fdf1f609 --hash=sha256:11f811c0fffd84fca747fbc742464575e5eb130fd4fb4d6012ccc34febd001db --hash=sha256:9a86a91201f8345502ea81dee0a55ae13add5fafadf109b17acd858fe8239651 --hash=sha256:6641a28cc826a92ef717201cca9a035c34a0185e38b0c93f3ce5f01a01a1570a --hash=sha256:9075c0c003c1ff14ebce8f0ba55cc692158cb55c68da09cf8b0f9fc5b749e343 --hash=sha256:dc3290d0411ddd2bd49adba5793223de8de8b01588d45e9376f1a9f7d25414f4 --hash=sha256:e2149077d71e060678130644670389ddf1491200bcea16c5560d4ccdc65e3f2e --hash=sha256:e898194f76212facbaeb6d7545debff29351afa23b53ff8f0834d66611af5139 --hash=sha256:b81dc7894062ed2d25b74a2725aaa0a6895ce97ce854f432fe4e87cad5a07316 --hash=sha256:bebe90b8020b4248e5a2076b56154cc6ff45691bbbe980579fc9db26717ac968 --hash=sha256:a8d610b7b557a7609fecee80b6dd793ecb7a9a3c3497fbdce63ce7d151cdd705 --hash=sha256:790d7493337558ae168477d1be3178f4c9b8f91d8cd9b8b719d06fd9b2d48836 --hash=sha256:36a7bdd6ef9bca050c7ade8cba5f0e743343ea0756d5d3d520e915098a9dc503 --hash=sha256:4fcb53e4eb8c271032c91b8981df5fc1bb974bc73e306ec2c27da41bd95c44b5 --hash=sha256:d2ec124a986093e26420a5fb10fa3f02b2c232f924cdd7b844ddf7e846c020cd --hash=sha256:871078218fa9117e2a378678f327e32fda04e363ed6bc0477275444273255d4d --hash=sha256:13343e7b840c20f43b44f0e6d3bbdc037c964f0aec9735d7cb685c407731c9ff --hash=sha256:4bae1c99896045d3062ab95478411c8d5a52cb84b91a1517312629fa6cfeb50e --hash=sha256:fdb0a3e0e64843441793923d9532a3a23907b07b2a1e0a7a31f186dc185bb772 --hash=sha256:19e54f0c7083c8332b5a75a9081fc5127f1dbb67b6c1a32bd7fe896ef0934918! Will try again. 🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 21/21 — 00:06:08 Ignoring ruamel.yaml.clib: markers 'python_version < "3.11" and platform_python_implementation == "CPython"' don't match your environment Installing initially failed dependencies... [pipenv.exceptions.InstallError]: Collecting grpcio==1.44.0 ... long logs omitted ... [pipenv.exceptions.InstallError]: Traceback (most recent call last): [pipenv.exceptions.InstallError]: File "/tmp/pip-install-9uxjzl3v/grpcio_0af4e5f7c2e24b0992313266312e5544/src/python/grpcio/commands.py", line 280, in build_extensions [pipenv.exceptions.InstallError]: build_ext.build_ext.build_extensions(self) [pipenv.exceptions.InstallError]: File "/home/changseok/Projects/WebKit/Tools/buildstream/.venv/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 459, in build_extensions [pipenv.exceptions.InstallError]: self._build_extensions_serial() [pipenv.exceptions.InstallError]: File "/home/changseok/Projects/WebKit/Tools/buildstream/.venv/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 485, in _build_extensions_serial [pipenv.exceptions.InstallError]: self.build_extension(ext) [pipenv.exceptions.InstallError]: File "/home/changseok/Projects/WebKit/Tools/buildstream/.venv/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 203, in build_extension [pipenv.exceptions.InstallError]: if ext._needs_stub: [pipenv.exceptions.InstallError]: ^^^^^^^^^^^^^^^ [pipenv.exceptions.InstallError]: AttributeError: 'Extension' object has no attribute '_needs_stub' I found [1] and [2] from google. @philn, do we need to bump up grpcio? [1]
https://github.com/grpc/grpc/issues/30445
[2]
https://github.com/grpc/grpc/issues/30192
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2023-01-04 01:31:26 PST
> The local build of Flatpak SDK is broken on Fedora 37 with Python 3.11.1.
Yeah I know :( The problem is that even if we update grpcio, bst won't work, it doesn't support Python 3.11 yet. There is a PR but it's not merged yet:
https://github.com/apache/buildstream/pull/1785
That's why since I upgraded to F37 I had to build the SDK from a F36 toolbx: toolbox run -r 36 ./Tools/Scripts/webkit-flatpak-sdk --build ...
Michael Catanzaro
Comment 2
2023-01-04 12:31:12 PST
I've poked a bit there. Should be a new buildstream release soon.
Philippe Normand
Comment 3
2023-02-25 04:00:28 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10682
EWS
Comment 4
2023-02-25 10:19:18 PST
Committed
260839@main
(4a9923315354): <
https://commits.webkit.org/260839@main
> Reviewed commits have been landed. Closing PR #10682 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