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

Pin Jinja2 to version <3.1 for Sphinx #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SmartManoj
Copy link

@SmartManoj SmartManoj commented Oct 28, 2024

Fixes #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.

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jinja2 is not pinned for sphinx
1 participant