diff options
author | Eric Langlois | 2020-10-15 16:54:22 -0400 |
---|---|---|
committer | Eric Langlois | 2020-10-15 16:54:22 -0400 |
commit | f9facda434ad510db2aef8a3b4ea04afdc38daf5 (patch) | |
tree | 83ba0ee97aaa5b95bfad3b2f7492afc9ffa84d1b | |
parent | a548946bcb65d412336192fab7e337805d092039 (diff) | |
download | aur-f9facda434ad510db2aef8a3b4ea04afdc38daf5.tar.gz |
upgpkg: python-akro 0.0.8-1
Fix package check(); cd into directory and use python -m pytest
so that `arko` is added to PYTHONPATH
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,13 +28,14 @@ build() { } check() { + cd "$_name-$pkgver/build/lib" # Test excludes: # _tf: Requires tensorflow < 2, a large dependency # _theano: Requires theano, a large dependency # test_hash: Python hashes are not reproducible... # TestBox::test_invalid_env: Tests gym.Box.__init__, and gym's error # seems to have changed from what they expected. - pytest "$_name-$pkgver/tests" \ + python -m pytest "$srcdir/$_name-$pkgver/tests" \ -k 'not _tf and not _theano and not test_hash and not test_invalid_env' } |