[arch-commits] Commit in python-aws-xray-sdk/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Thu Apr 29 17:02:46 UTC 2021
Date: Thursday, April 29, 2021 @ 17:02:46
Author: yan12125
Revision: 925248
upgpkg: python-aws-xray-sdk 2.8.0-1; sqlalchemy 1.4 compatibility; fixed transitive dependency
Modified:
python-aws-xray-sdk/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-29 16:41:37 UTC (rev 925247)
+++ PKGBUILD 2021-04-29 17:02:46 UTC (rev 925248)
@@ -3,7 +3,7 @@
pkgname=python-aws-xray-sdk
_pkgname=aws-xray-sdk-python
-pkgver=2.7.0
+pkgver=2.8.0
pkgrel=1
pkgdesc='AWS X-Ray SDK for Python'
arch=(any)
@@ -14,10 +14,10 @@
checkdepends=(python-flask-sqlalchemy python-pynamodb python-pytest python-aiohttp
python-pytest-aiohttp python-testing.postgresql python-psycopg2
python-pg8000 python-requests python-aiobotocore python-bottle
- python-webtest python-django-fake-model python-mock)
+ python-webtest python-django-fake-model python-mock python-sqlalchemy)
# Not using PyPI source tarball as it does not include tests
source=("https://github.com/aws/aws-xray-sdk-python/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('3c3f326143b7a9075de9791485fe3082648cc23f85a3264ff6423f3febcec862')
+sha256sums=('3f94ee35d8e34022939153dcc6d5bd8bce1428ee4811f0ee4713e40dae8b22dd')
build() {
cd $_pkgname-$pkgver
@@ -35,7 +35,10 @@
# the test suite for pymysql uses testing.mysqld, which is not
# compatible with MariaDB
# https://github.com/tk0miya/testing.mysqld/issues/3
- pytest -v tests --ignore tests/ext/pymysql
+ # Tests in test_sqlalchemy_core_2.py need sqlalchemy >= 1.4 [1]
+ # https://github.com/aws/aws-xray-sdk-python/pull/289
+ pytest -v tests --ignore tests/ext/pymysql \
+ --ignore tests/ext/sqlalchemy_core/test_sqlalchemy_core_2.py
}
package() {
More information about the arch-commits
mailing list