Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GH tests fail due to obsolete packages #230

Closed
bkmartinjr opened this issue Feb 18, 2022 · 0 comments · Fixed by #232
Closed

[BUG] GH tests fail due to obsolete packages #230

bkmartinjr opened this issue Feb 18, 2022 · 0 comments · Fixed by #232
Assignees
Labels
bug Something isn't working

Comments

@bkmartinjr
Copy link
Contributor

The current GH unit tests fail due to using obsolete package versions. See: pallets/jinja#1594

Failure:

======================================================================
ERROR: server.tests.unit (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: server.tests.unit
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/unittest/loader.py", line 470, in _find_test_path
    package = self._get_module_from_name(name)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/runner/work/single-cell-explorer/single-cell-explorer/server/__init__.py", line 3, in <module>
    from server.common.utils.utils import import_plugins
  File "/home/runner/work/single-cell-explorer/single-cell-explorer/server/common/utils/utils.py", line 11, in <module>
    from flask import json
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/flask/__init__.py", line 14, in <module>
    from jinja2 import escape
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/jinja2/environment.py", line [25](https://github.com/chanzuckerberg/single-cell-explorer/runs/5249778612?check_suite_focus=true#step:7:25), in <module>
    from .defaults import BLOCK_END_STRING
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F[40](https://github.com/chanzuckerberg/single-cell-explorer/runs/5249778612?check_suite_focus=true#step:7:40)1
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/markupsafe/__init__.py)
@bkmartinjr bkmartinjr added the bug Something isn't working label Feb 18, 2022
@blrnw3 blrnw3 self-assigned this Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants