4teamwork / ftw.tika

This product integrates Apache Tika for full text indexing with Plone.
4 stars 1 forks source link

Fix tests: Pin testfixtures to last Py2.7 compatible version. #42

Closed lukasgraf closed 2 years ago

lukasgraf commented 2 years ago

Pin testfixtures to last Py2.7 compatible version. Fixes

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/ftw.tika@3/ftw/tika/tests/test_integration.py", line 5, in <module>
    from testfixtures import log_capture
  File "/var/lib/jenkins/zope/eggs/testfixtures-7.0.0-py2.7.egg/testfixtures/__init__.py", line 12
    not_there: singleton = singleton('not_there')
             ^
SyntaxError: invalid syntax

and therefore test failures like these: https://ci.4teamwork.ch/builds/517327/tasks/986795

lukasgraf commented 2 years ago

Superseeded by https://github.com/4teamwork/ftw-buildouts/pull/200, which should fix Py2.7 issues for most current nightly test failures.