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

CI failing due to Sphinx/Jinja mismatch #168

Open
jayvdb opened this issue Aug 23, 2022 · 0 comments · May be fixed by #169
Open

CI failing due to Sphinx/Jinja mismatch #168

jayvdb opened this issue Aug 23, 2022 · 0 comments · May be fixed by #169
Labels

Comments

@jayvdb
Copy link

jayvdb commented Aug 23, 2022

Package version (if known): master

Describe the bug

Sphinx 3 is being installed, which is incompatible with Jinja 3.

Steps to Reproduce

  1. Go to https://github.com/inveniosoftware/dictdiffer/runs/7955284018

Expected behavior

Screenshots (if applicable)

Run ./run-tests.sh
  ./run-tests.sh
lists of files in version control and sdist match
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/sphinx/application.py", line 42, in <module>
    from sphinx.registry import SphinxComponentRegistry
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/sphinx/registry.py", line 24, in <module>
    from sphinx.builders import Builder
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 26, in <module>
    from sphinx.util import import_object, logging, rst, progress_message, status_iterator
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/sphinx/util/rst.py", line 22, in <module>
    from jinja2 import environmentfilter
ImportError: cannot import name 'environmentfilter' from 'jinja2' (/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/jinja2/__init__.py)

Additional context

@jayvdb jayvdb added the bug label Aug 23, 2022
jayvdb added a commit to jayvdb/dictdiffer that referenced this issue Aug 23, 2022
@jayvdb jayvdb linked a pull request Aug 23, 2022 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant