-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
MarkupSafe and Jinja pins are preventing building documentation for new versions of MarkupSafe, Jinja, and Flask #9216
Copy link
Copy link
Closed
Labels
type:proposala feature suggestiona feature suggestion
Milestone
Description
I am currently releasing MarkupSafe 2.0 and Jinja2 3.0. Sphinx depends on MarkupSafe<2.0 and Jinja2<3.0. We require Sphinx to build our docs, so we can't build the docs for MarkupSafe or Jinja2 until Sphinx stops pinning its dependency.
- https://markupsafe.palletsprojects.com/en/master/changes/#version-2-0-0
- https://jinja.palletsprojects.com/en/master/changes/#version-3-0-0
Running Sphinx v4.0.1
loading translations [en]... done
making output directory... done
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/cmd/build.py", line 279, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/application.py", line 276, in __init__
self._init_builder()
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/application.py", line 334, in _init_builder
self.builder.init()
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/builders/html/__init__.py", line 220, in init
self.init_highlighter()
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/builders/html/__init__.py", line 280, in init_highlighter
self.highlighter = PygmentsBridge('html', style)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/highlighting.py", line 82, in __init__
style = self.get_style(stylename)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/sphinx/highlighting.py", line 99, in get_style
return get_style_by_name(stylename)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pygments/styles/__init__.py", line 65, in get_style_by_name
for found_name, style in find_plugin_styles():
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pygments/plugin.py", line 64, in find_plugin_styles
yield entrypoint.name, entrypoint.load()
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in load
self.require(*args, **kwargs)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2472, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (MarkupSafe 2.0.0 (/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages), Requirement.parse('MarkupSafe<2.0'), {'Sphinx'})
Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (MarkupSafe 2.0.0 (/home/docs/checkouts/readthedocs.org/user_builds/jinja/envs/1417/lib/python3.7/site-packages), Requirement.parse('MarkupSafe<2.0'), {'Sphinx'})
The full traceback has been saved in /tmp/sphinx-err-r8t2byv_.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:proposala feature suggestiona feature suggestion