Date: Wednesday, July 20, 2022 @ 19:43:16 Author: yan12125 Revision: 1254928
upgpkg: python-aiobotocore 2.3.4-1 Fix tests with newer version with help from https://github.com/aio-libs/aiobotocore/issues/948#issuecomment-1190494216 Modified: python-aiobotocore/trunk/PKGBUILD ----------+ PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-20 19:42:29 UTC (rev 1254927) +++ PKGBUILD 2022-07-20 19:43:16 UTC (rev 1254928) @@ -3,7 +3,7 @@ pkgname=python-aiobotocore _pkgname=aiobotocore # https://github.com/aio-libs/aiobotocore/releases -pkgver=2.2.0 +pkgver=2.3.4 pkgrel=1 pkgdesc='asyncio support for botocore library using aiohttp' arch=(any) @@ -15,7 +15,7 @@ # moto optdepends python-docker python-openapi-spec-validator python-yaml python-flask python-flask-cors) source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('adc47fa24839b75a6e9351183bb9a0160735a5f08878c87db1cbc0d3f027d0ec') +sha256sums=('d513843f0ee33aad72c429a979c6d1330228202529ee0ae3a070d76119375415') prepare() { cd $_pkgname-$pkgver @@ -38,6 +38,9 @@ cd $_pkgname-$pkgver export PYTHONPATH="$PWD" + # Needed since 2.3.0 https://github.com/aio-libs/aiobotocore/issues/948 + export AWS_SECRET_ACCESS_KEY=test + export AWS_ACCESS_KEY_ID=test # test_lambda uses moto.awslambda, which requires a running Docker service # See: https://github.com/spulec/moto/issues/3276 # test_version checks lower and upper bounds for dependencies in setup.py,