mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
The issue appears when there is no boto, jinja and some other libraries are not installed because the classes which use these libraries are still being imported inside the package file. The fix removes those imports from package root, because they should not be here, in fact, content of report and upload packages must be imported only inside the trigger class and only if they are actually required This commit also adds setuptools as required dependency since it is used for some parsers (previously it was provided dependency)
11 lines
216 B
Bash
Executable File
11 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
# Install dependencies and run test in container
|
|
|
|
set -ex
|
|
|
|
# install dependencies
|
|
pacman --noconfirm -Syu base-devel python-pip python-setuptools python-tox
|
|
|
|
# run test and check targets
|
|
make check tests
|