Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-aws-sam-translator


Commits:
7fc2ad61 by Chih-Hsuan Yen at 2024-03-22T19:17:35+08:00
Fix test failures

Apparently pytest 8 no longer adds the current directory to sys.path

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -30,7 +30,7 @@ build() {
 check() {
   cd serverless-application-model-$pkgver
   # See 
https://github.com/aws/serverless-application-model/blob/v1.52.0/Makefile#L9
-  AWS_DEFAULT_REGION=us-east-1 pytest tests
+  AWS_DEFAULT_REGION=us-east-1 PYTHONPATH="$PWD" pytest tests
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aws-sam-translator/-/commit/7fc2ad6140ad46192f2d1bd54099adfc9e34490f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aws-sam-translator/-/commit/7fc2ad6140ad46192f2d1bd54099adfc9e34490f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to