Package Details: python-eth-account 0.13.7-1

Git Clone URL: https://aur.archlinux.org/python-eth-account.git (read-only, click to copy)
Package Base: python-eth-account
Description: Account abstraction library for web3.py
Upstream URL: https://github.com/ethereum/eth-account
Keywords: ethereum
Licenses: MIT
Submitter: Kewl
Maintainer: Xeonacid (lilac)
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-16 13:44 (UTC)
Last Updated: 2025-04-22 04:30 (UTC)

Latest Comments

rod2ik commented on 2025-12-31 17:21 (UTC) (edited on 2025-12-31 17:58 (UTC) by rod2ik)

If you receive an error as hereafter, during the build:

lecture des sources... 
[100%] release_notes WARNING: autodoc: failed to import module 'account' from module 'eth_account'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'eth_account'\n"] [autodoc.import_object] WARNING: autodoc: failed to import module 'datastructures' from module 'eth_account'; the following exception was raised: ['Traceback (most recent call last):\n', ' File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n', ' File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'eth_account'\n"] [autodoc.import_object]

You can modify the PKGBUILD hereso (add one line, just before the make):

build() {
  cd $_name-$pkgver
  python -m build --wheel --no-isolation
  # Add the following line:
  export PYTHONPATH="$srcdir/eth-account-$pkgver:$PYTHONPATH"
  make -C docs man
}