Skip to content

MacOS build-installer.py script failing when building docs - cannot import name 'environmentfilter' from 'jinja2' #92263

New issue

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

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

Already on GitHub? # to your account

Closed
lmbelo opened this issue May 3, 2022 · 2 comments
Labels
build The build process and cross-build docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@lmbelo
Copy link

lmbelo commented May 3, 2022

Bug report

MacOS build-installer.py script failing when building docs.

Error

cannot import name 'environmentfilter' from 'jinja2'

Details
Sphinx-3.2.1 has a dependency with Jinja (Requires-Dist: Jinja2 (>=2.3)). In the latest Jinja version the environmentfilter module isn't able to be imported, beginning with the 3.1.0 update.

More info: pallets/jinja#1630

Your environment

CPython versions tested on: 3.10.4
Operating system and architecture: MacOS M1

@lmbelo lmbelo added the type-bug An unexpected behavior, bug, or error label May 3, 2022
@erlend-aasland erlend-aasland added docs Documentation in the Doc dir build The build process and cross-build labels May 3, 2022
@lmbelo
Copy link
Author

lmbelo commented May 3, 2022

There is something already running around this issue:

#91294

@slateny
Copy link
Contributor

slateny commented Sep 9, 2022

Thanks for linking the issue - looks like it's been resolved over there so I'll close this too, but feel free to reopen if it's still an issue.

@slateny slateny closed this as completed Sep 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
build The build process and cross-build docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants