

























@salfter that dependency is already tracked - it is python-openapi3. However, if you have not yet rebuilt python-openapi3 against the latest Python version, then you will get the error you reported below when trying to build linode-cli.
@etorres4 you seem to have deleted your post, so I'll add it back in here along with my reply:
Hi, please add python-openapi3 to the makedepends array, this package fails to build in a chroot without it.
As python-openapi3 is an AUR package, it is not automatically resolved as a dependency when building in a standard devtools chroot. I recommend using a wrapper such as clean-chroot-manager to manage AUR dependencies for clean chroot building.
linode-cli has added another dependency...found it while upgrading one of my computers this morning:
==> Starting build()...
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/home/salfter/.cache/yay/linode-cli/src/linode-cli-5.55.0/linodecli/__init__.py", line 15, in <module>
from linodecli import plugins
File "/home/salfter/.cache/yay/linode-cli/src/linode-cli-5.55.0/linodecli/plugins/__init__.py", line 5, in <module>
from .plugins import *
File "/home/salfter/.cache/yay/linode-cli/src/linode-cli-5.55.0/linodecli/plugins/plugins.py", line 11, in <module>
from linodecli.cli import CLI
File "/home/salfter/.cache/yay/linode-cli/src/linode-cli-5.55.0/linodecli/cli.py", line 16, in <module>
from openapi3 import OpenAPI
ModuleNotFoundError: No module named 'openapi3'
I believe the sha512 hash for linode-cli-4.157.0-openapi.yaml should be:
2796378b1d4f70e64ff69b88dc836713caad5e3026dd367f5d6e4ba2279db9aef1ddcf8d3d7c7b6955076537b41226c0aa79a60f6c9e4bae6ec4a267209c9434
Please note python-terminaltables was recently migrated from the community repository to the AUR, making it the only dependency for linode-cli not available in the official repositories.
No updates to the PKGBUILD for linode-cli are necessary, but the python-terminaltables dependency now must be manually resolved.
Checksums fail again on mine. So I pulled the package locally and did:
makepkg --geninteg >> PKGBUILD
# then remove the existing sha512 sums from the PKGBUILD
makepkg --printsrcinfo > .SRCINFO
makepkg -fc
Which seems to work fine now.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Updated @FrederickZh, thanks.