We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SWE-bench/swebench/harness/constants.py
Line 496 in fe8cb2e
pip show jinja2 v2.11.2
pip show jinja2
.tox/py39/bin/python -m pip show jinja2 v3.1.4
.tox/py39/bin/python -m pip show jinja2
Relevant issues: sphinx-doc/sphinx#10291 (comment)
tox -e py39
No error
Error: ImportError: cannot import name 'environmentfilter' from 'jinja2'
ImportError: cannot import name 'environmentfilter' from 'jinja2'
Trajectory
No response
The text was updated successfully, but these errors were encountered:
@SmartManoj if you know what the issue is, would you mind writing a pull request that fixes this issue? Thanks.
Sorry, something went wrong.
Sure.
For sphinx-doc__sphinx-8595, .tox/py39/bin/python -m pip install "Jinja2<3.1" solved.
sphinx-doc__sphinx-8595
.tox/py39/bin/python -m pip install "Jinja2<3.1"
Pin Jinja2 to version <3.1 for Sphinx
094af5f
Fixes princeton-nlp#241 Pin Jinja2 to version <3.1 for Sphinx in `swebench/harness/constants.py`. * Add `Jinja2<3.1` to the `pip_packages` list for Sphinx in the `SPECS_SPHINX` dictionary. Reference: https://www.ingap.dev/posts/solved-cannot-import-name-environmentfilter-from-jinja2 --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/princeton-nlp/SWE-bench/issues/241?shareId=XXXX-XXXX-XXXX-XXXX).
john-b-yang
Successfully merging a pull request may close this issue.
Describe the bug
SWE-bench/swebench/harness/constants.py
Line 496 in fe8cb2e
pip show jinja2
v2.11.2.tox/py39/bin/python -m pip show jinja2
v3.1.4Relevant issues:
sphinx-doc/sphinx#10291 (comment)
Steps/Code to Reproduce
tox -e py39
Expected Results
No error
Actual Results
Error:
ImportError: cannot import name 'environmentfilter' from 'jinja2'
Trajectory
System Information
No response
The text was updated successfully, but these errors were encountered: