Skip to content

Recommonmark pinned at 0.5.0 when 0.6.0 or greater desired #7789

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

Closed
liamtoney opened this issue Dec 31, 2020 · 2 comments
Closed

Recommonmark pinned at 0.5.0 when 0.6.0 or greater desired #7789

liamtoney opened this issue Dec 31, 2020 · 2 comments
Labels
Support Support question

Comments

@liamtoney
Copy link

Details

Expected Result

Recommonmark >= 0.6.0 installed, to avoid Markdown parsing issues with alt text.

Actual Result

Recommonmark 0.5.0 installed

Description

There was an issue with Markdown image alt text that was fixed in Recommonmark 0.6.0. However, RTD seems to be pinning Recommonmark at 0.5.0 according to my build logs (see snippet below). This results in Markdown errors when alt text is used.

/home/docs/checkouts/readthedocs.org/user_builds/lsforce/envs/rtd/bin/python -m pip install --upgrade --no-cache-dir setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 six commonmark==0.8.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.2

I looked around to see if I could pin a higher Recommonmark version myself, but I couldn't find any info. Thanks in advance.

@stsewd
Copy link
Member

stsewd commented Jan 4, 2021

@liamtoney you can specify any version with a requirements file https://docs.readthedocs.io/en/stable/guides/specifying-dependencies.html

Related to #5201 and #2483

@stsewd stsewd closed this as completed Jan 4, 2021
@stsewd stsewd added the Support Support question label Jan 4, 2021
@liamtoney
Copy link
Author

Great, thank you very much @stsewd. If it helps others, the contents of my doc/requirements.txt now look like:

sphinxcontrib-apidoc
recommonmark>=0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

2 participants