Date: Sunday, October 23, 2022 @ 16:41:47
  Author: yan12125
Revision: 1334342

upgpkg: python-moto 4.0.8-1; re-enable server-related tests after upstream 
fixes werkzeug compatibility

See: https://github.com/spulec/moto/pull/5569

Modified:
  python-moto/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-23 16:31:52 UTC (rev 1334341)
+++ PKGBUILD    2022-10-23 16:41:47 UTC (rev 1334342)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=4.0.7
+pkgver=4.0.8
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -44,7 +44,7 @@
                python-graphql-core python-jsondiff python-aws-xray-sdk
                python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz";)
-sha256sums=('869cac77cfc2e03be955453a224f6c3e887878f4b43f2d68477f236e615bd462')
+sha256sums=('3bd8a72dc385819c84ed3f9d18c386985634041c6ae544d957bd8ab88c6c15f1')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -75,11 +75,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  # Ignore server tests as the server is partially broken with werkzeug 2.2.x
-  # https://github.com/spulec/moto/issues/5341
-  PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' \
-    --ignore=tests/test_appsync/test_server.py \
-    --ignore=tests/test_s3/test_server.py
+  PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker'
 }
 
 package() {

Reply via email to