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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user