Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
python-aiohttp
Commits:
98323b28 by Daniel M. Capella at 2025-01-31T19:03:42-05:00
upgpkg: 3.10.11-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-aiohttp
pkgdesc = HTTP client/server for asyncio
- pkgver = 3.10.5
- pkgrel = 2
+ pkgver = 3.10.11
+ pkgrel = 1
url = https://aiohttp.readthedocs.io
arch = x86_64
license = Apache-2.0
@@ -34,9 +34,9 @@ pkgbase = python-aiohttp
optdepends = gunicorn: to deploy using Gunicorn
optdepends = python-aiodns: for fast DNS resolving
optdepends = python-brotli: for Brotli transfer-encodings support
- source =
python-aiohttp::git+https://github.com/aio-libs/aiohttp#tag=v3.10.5
+ source =
python-aiohttp::git+https://github.com/aio-libs/aiohttp#tag=v3.10.11
source = git+https://github.com/nodejs/llhttp.git
- b2sums =
d6efdb40e05dbdcc7b1dd21e741ffe3e0eaf07981bf7c3b0a666d1ce607f150065104cfa237abec0ee03e8282f065b2c953d9209b458b9b64ac887261205c00d
+ b2sums =
510d512e9ac89ee28cb24ce0992986b5c0a88ad9757b9868f46aa1597bb8bd39a69bc4d9ba5d92319313d21fb398ab92bc0e11c73f407b4937310b0997ce2d70
b2sums = SKIP
pkgname = python-aiohttp
=====================================
PKGBUILD
=====================================
@@ -7,8 +7,8 @@
_pkgname=aiohttp
pkgname=python-aiohttp
-pkgver=3.10.5
-pkgrel=2
+pkgver=3.10.11
+pkgrel=1
pkgdesc='HTTP client/server for asyncio'
arch=(x86_64)
url=https://aiohttp.readthedocs.io
@@ -54,7 +54,7 @@ source=(
"$pkgname::git+https://github.com/aio-libs/aiohttp#tag=v$pkgver"
git+https://github.com/nodejs/llhttp.git
)
-b2sums=('d6efdb40e05dbdcc7b1dd21e741ffe3e0eaf07981bf7c3b0a666d1ce607f150065104cfa237abec0ee03e8282f065b2c953d9209b458b9b64ac887261205c00d'
+b2sums=('510d512e9ac89ee28cb24ce0992986b5c0a88ad9757b9868f46aa1597bb8bd39a69bc4d9ba5d92319313d21fb398ab92bc0e11c73f407b4937310b0997ce2d70'
'SKIP')
prepare() {
@@ -70,7 +70,7 @@ prepare() {
tests/test_circular_imports.py
# Remove coverage testing
- sed -i '/--cov=/d' setup.cfg
+ sed -i '/--cov=/d;/-p pytest_cov/d' setup.cfg
}
build() {
@@ -80,13 +80,19 @@ build() {
}
check() {
- cd $pkgname
+ local pytest_args=(
+ --ignore tests/autobahn/test_autobahn.py # Docker tests
+ --ignore tests/test_benchmarks_client.py
+ --ignore tests/test_benchmarks_client_request.py
+ --ignore tests/test_benchmarks_client_ws.py
+ --ignore tests/test_benchmarks_cookiejar.py
+ --ignore tests/test_benchmarks_http_websocket.py
+ --ignore tests/test_benchmarks_http_writer.py
+ )
local python_version=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
- mv tests/autobahn/test_autobahn.py{,.bak} # Docker tests
- # https://github.com/aio-libs/aiohttp/issues/8234
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" pytest \
- --deselect 'tests/test_pytest_plugin.py::test_aiohttp_plugin'
- mv tests/autobahn/test_autobahn.py{.bak,}
+
+ cd $pkgname
+ PYTHONPATH=build/lib.linux-$CARCH-cpython-$python_version pytest
"${pytest_args[@]}"
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiohttp/-/commit/98323b28735361b345f3076d3d134b7f61c27894
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiohttp/-/commit/98323b28735361b345f3076d3d134b7f61c27894
You're receiving this email because of your account on gitlab.archlinux.org.