1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-23 18:12:20 +00:00

Modify dependencies to allow for 3.7 compatibility

Some dependencies are not available for python 3.7 anymore. Instead
of trying to support different versions of the libraries, we opt to
focus on the latest python version, and allow for CORE functionality
for earlier versions.
This commit is contained in:
J. Fernando Sánchez
2023-09-26 18:52:04 +02:00
parent 3f227986f3
commit f3d4415ffb
8 changed files with 35 additions and 10 deletions

View File

@@ -27,6 +27,7 @@ from senpy.models import Results, Entry, EmotionSet, Emotion, Plugins
from senpy import plugins
from senpy.plugins.postprocessing.emotion.centroids import CentroidConversion
from senpy.gsitk_compat import GSITK_AVAILABLE
from senpy import config
import pandas as pd
@@ -386,7 +387,7 @@ class PluginsTest(TestCase):
def make_mini_test(fpath):
def mini_test(self):
for plugin in plugins.from_path(fpath, install=True):
for plugin in plugins.from_path(fpath, install=True, strict=config.strict):
plugin.test()
return mini_test