Commit b91c2624 authored by Alexander Lercher's avatar Alexander Lercher

Fixed failing builds

context aware community prediction with linux requirements settings
parent 32ebd07f
...@@ -38,6 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT): ...@@ -38,6 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT):
print(f"Executing tests in {dirname}") print(f"Executing tests in {dirname}")
os.chdir(os.path.normpath(dirname)) os.chdir(os.path.normpath(dirname))
# TODO do this during docker image setup # TODO do this during docker image setup
os.system(f"{PY} -m pip install -U pip") # update pip
exit_val = os.system(f"{PY} -m pip install -r ../requirements.txt") # install pip dependencies exit_val = os.system(f"{PY} -m pip install -r ../requirements.txt") # install pip dependencies
#resultCodeList.append(exit_val) #resultCodeList.append(exit_val)
#exit_val = os.system(f"{PY} -m unittest discover") # execute the tests #exit_val = os.system(f"{PY} -m unittest discover") # execute the tests
......
...@@ -2,6 +2,7 @@ FROM python:3 ...@@ -2,6 +2,7 @@ FROM python:3
LABEL maintainer="Alexander Lercher" LABEL maintainer="Alexander Lercher"
RUN apt-get update RUN apt-get update
RUN pip install -U pip
EXPOSE 5000 EXPOSE 5000
......
...@@ -9,6 +9,7 @@ clickclick==20.10.2 ...@@ -9,6 +9,7 @@ clickclick==20.10.2
colorama==0.4.4 colorama==0.4.4
connexion==2.9.0 connexion==2.9.0
cycler==0.10.0 cycler==0.10.0
cython==0.28.5
debugpy==1.4.0 debugpy==1.4.0
decorator==5.0.9 decorator==5.0.9
Flask==1.1.4 Flask==1.1.4
...@@ -18,9 +19,6 @@ imbalanced-learn==0.8.0 ...@@ -18,9 +19,6 @@ imbalanced-learn==0.8.0
imblearn==0.0 imblearn==0.0
importlib-metadata==3.10.1 importlib-metadata==3.10.1
inflection==0.5.1 inflection==0.5.1
ipykernel==6.0.3
ipython==7.25.0
ipython-genutils==0.2.0
isodate==0.6.0 isodate==0.6.0
itsdangerous==1.1.0 itsdangerous==1.1.0
jedi==0.18.0 jedi==0.18.0
...@@ -51,11 +49,11 @@ pyparsing==2.4.7 ...@@ -51,11 +49,11 @@ pyparsing==2.4.7
pyrsistent==0.18.0 pyrsistent==0.18.0
python-dateutil==2.8.2 python-dateutil==2.8.2
pytz==2021.1 pytz==2021.1
pywin32==301
PyYAML==5.4.1 PyYAML==5.4.1
pyzmq==22.1.0 pyzmq==22.1.0
requests==2.26.0 requests==2.26.0
scikit-learn==0.24.2 scikit-learn==0.24.2
scikit-build==0.11.1
scipy==1.7.0 scipy==1.7.0
semver==2.13.0 semver==2.13.0
six==1.16.0 six==1.16.0
...@@ -63,7 +61,6 @@ soupsieve==2.2.1 ...@@ -63,7 +61,6 @@ soupsieve==2.2.1
swagger-ui-bundle==0.0.8 swagger-ui-bundle==0.0.8
threadpoolctl==2.2.0 threadpoolctl==2.2.0
tornado==6.1 tornado==6.1
traitlets==5.0.5
typing-extensions==3.10.0.0 typing-extensions==3.10.0.0
urllib3==1.26.6 urllib3==1.26.6
wcwidth==0.2.5 wcwidth==0.2.5
......
import unittest
import sys
for path in ['../', './']:
sys.path.insert(1, path)
from lib.database.entities.trust_trace import TrustTrace from lib.database.entities.trust_trace import TrustTrace
from lib.database.entities.user_trust import UserTrust from lib.database.entities.user_trust import UserTrust
from lib.database.entities.user import User from lib.database.entities.user import User
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment