python-web3

MEDIUM
maintainer Xeonacid 2 votes scanned 2026-09-01 09:47:42.175833
View on AUR
Why flagged

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

Triggered rules

Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:18 https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-$_geth_ver-$_geth_commit.tar.gz)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Xeonacid <h.dwwwwww@gmail.com>
2
3_name=web3.py
4pkgname=python-web3
5pkgver=8.0.0
6pkgrel=2
7pkgdesc="A python interface for interacting with the Ethereum blockchain and ecosystem."
8arch=(any)
9url="https://github.com/ethereum/${_name}"
10license=(MIT)
11depends=(python python-eth-abi python-eth-account python-eth-hash python-eth-keys python-eth-typing python-eth-utils python-hexbytes python-aiohttp python-pydantic python-requests python-typing_extensions python-websockets python-pyunormalize python-toolz python-rlp python-idna)
12makedepends=(git python-build python-installer python-setuptools python-setuptools-scm python-wheel python-sphinx python-sphinx_rtd_theme)
13checkdepends=(python-pytest python-pytest-asyncio python-pytest-mock python-flaky python-eth-tester python-hypothesis python-py-geth python-cached-property)
14# Pin the geth binary to the version of tests/integration/geth-*-fixture.zip (CI GETH_VERSION).
15_geth_ver=1.16.7
16_geth_commit=b9f3a3d9
17source=(git+$url.git#tag=v$pkgver
18 https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-$_geth_ver-$_geth_commit.tar.gz)
19sha512sums=('8a875884a7c63655b7509d526680103a0b61a0bcdc55e210b78c56a34f57faf0c5b26c855f491dad7a06826aa23f10e12f556c56830777cb7a2621e606ba7d75'
20 'e8e016044ce8cf73ba9a91377cb11703a5ba9c6cb89f67bdc31c1c063e1552d4bc0f80dcc84f8fbc6780be8d79287f0c22e3db01f4ee02faff399339257e050c')
21
22build() {
23 cd $_name
24 python -m build --wheel --no-isolation
25 python -m installer --destdir=tmp_install dist/*.whl
26 local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
27 PYTHONPATH="$PWD/tmp_install$site_packages" make -C docs man
28}
29
30# Very slow
31check() {
32 cd $_name
33 python -m venv --system-site-packages test-env
34 test-env/bin/python -m installer dist/*.whl
35 # Beacon tests need a live consensus client; upstream CI does not run them.
36 local pytest_args=(tests/core tests/ens tests/integration/test_ethereum_tester.py)
37 # go-ethereum tests pin a geth fixture zip; use the matching official binary.
38 local geth_bin="$srcdir/geth-linux-amd64-$_geth_ver-$_geth_commit/geth"
39 if [[ -x $geth_bin ]]; then
40 export GETH_BINARY=$geth_bin
41 pytest_args+=(tests/integration/go_ethereum)
42 fi
43 test-env/bin/python -m pytest -vv --showlocals "${pytest_args[@]}"
44}
45
46package() {
47 cd $_name
48 python -m installer --destdir="$pkgdir" dist/*.whl
49 local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
50 rm -rf "$pkgdir$site_packages"/docs
51 install -Dm644 docs/_build/man/web3.1 -t "$pkgdir/usr/share/man/man1"
52 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
53 install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
54}
55

Changes since previous scan

--- PKGBUILD @ 2026-06-18 16:11
+++ PKGBUILD @ 2026-09-01 09:47
@@ -2,35 +2,52 @@
_name=web3.py
pkgname=python-web3
-pkgver=7.16.0
-pkgrel=1
+pkgver=8.0.0
+pkgrel=2
pkgdesc="A python interface for interacting with the Ethereum blockchain and ecosystem."
arch=(any)
url="https://github.com/ethereum/${_name}"
license=(MIT)
-depends=(python python-eth-abi python-eth-account python-eth-keys python-eth-typing python-eth-utils python-hexbytes python-aiohttp python-pydantic python-requests python-typing_extensions python-websockets python-pyunormalize python-toolz python-rlp python-idna)
-makedepends=(python-build python-installer python-setuptools python-wheel python-sphinx python-sphinx_rtd_theme)
-#checkdepends=(python-pytest python-pytest-asyncio python-flaky python-eth-tester python-hypothesis python-py-geth)
-source=(${_name}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
-sha512sums=('190350ef491052f058577954ad4b595bbf095232569e9d080af98848e9a60e19f6ffa7b6e3c9981336eecf3884e1a4af32a80457465d6ebd724ea433be1bb97b')
+depends=(python python-eth-abi python-eth-account python-eth-hash python-eth-keys python-eth-typing python-eth-utils python-hexbytes python-aiohttp python-pydantic python-requests python-typing_extensions python-websockets python-pyunormalize python-toolz python-rlp python-idna)
+makedepends=(git python-build python-installer python-setuptools python-setuptools-scm python-wheel python-sphinx python-sphinx_rtd_theme)
+checkdepends=(python-pytest python-pytest-asyncio python-pytest-mock python-flaky python-eth-tester python-hypothesis python-py-geth python-cached-property)
+# Pin the geth binary to the version of tests/integration/geth-*-fixture.zip (CI GETH_VERSION).
+_geth_ver=1.16.7
+_geth_commit=b9f3a3d9
+source=(git+$url.git#tag=v$pkgver
+ https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-$_geth_ver-$_geth_commit.tar.gz)
+sha512sums=('8a875884a7c63655b7509d526680103a0b61a0bcdc55e210b78c56a34f57faf0c5b26c855f491dad7a06826aa23f10e12f556c56830777cb7a2621e606ba7d75'
+ 'e8e016044ce8cf73ba9a91377cb11703a5ba9c6cb89f67bdc31c1c063e1552d4bc0f80dcc84f8fbc6780be8d79287f0c22e3db01f4ee02faff399339257e050c')
build() {
- cd $_name-$pkgver
+ cd $_name
python -m build --wheel --no-isolation
- make -C docs man
+ python -m installer --destdir=tmp_install dist/*.whl
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ PYTHONPATH="$PWD/tmp_install$site_packages" make -C docs man
}
# Very slow
-# check()
-# cd $_name-$pkgver
-# python -m venv --system-site-packages test-env
-# test-env/bin/python -m installer dist/*.whl
-# test-env/bin/python -m pytest -vv --showlocals tests/
-# }
+check() {
+ cd $_name
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ # Beacon tests need a live consensus client; upstream CI does not run them.
+ local pytest_args=(tests/core tests/ens tests/integration/test_ethereum_tester.py)
+ # go-ethereum tests pin a geth fixture zip; use the matching official binary.
+ local geth_bin="$srcdir/geth-linux-amd64-$_geth_ver-$_geth_commit/geth"
+ if [[ -x $geth_bin ]]; then
+ export GETH_BINARY=$geth_bin
+ pytest_args+=(tests/integration/go_ethereum)
+ fi
+ test-env/bin/python -m pytest -vv --showlocals "${pytest_args[@]}"
+}
package() {
- cd $_name-$pkgver
+ cd $_name
python -m installer --destdir="$pkgdir" dist/*.whl
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ rm -rf "$pkgdir$site_packages"/docs
install -Dm644 docs/_build/man/web3.1 -t "$pkgdir/usr/share/man/man1"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"

Scan history

Scanned at (UTC)SeverityRules
2026-09-01 09:47:42 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion