Skip to content

Commit fbf1cee

Browse files
committed
Bug 1489407 - Docs: Pin to older version of CommonMark to fix build
CommonMark has made a breaking package change in a minor version release (0.8.0), so we need to pin to the last working release. See: readthedocs/commonmark.py#134 Fixes: ``` ... File ".../recommonmark/recommonmark/parser.py", line 9, in <module> from CommonMark import Parser ImportError: No module named CommonMark ``` The Travis docs setup step has also been modified to always upgrade dependencies, which will mean we will catch cases like this on Travis next time.
1 parent 121191d commit fbf1cee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/travis-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ setup_python_env() {
5555
}
5656

5757
setup_docs() {
58-
pip install -r requirements/docs.txt
58+
pip install -U -r requirements/docs.txt
5959
}
6060

6161
setup_geckodriver() {

requirements/docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ sphinx-rtd-theme==0.4.1
1313
# installed, since Read The Docs doesn't use --upgrade and has an
1414
# older incompatible version of recommonmark pre-installed.
1515
-e git+git://github.com/rtfd/recommonmark.git#egg=recommonmark
16+
commonmark==0.7.5

0 commit comments

Comments
 (0)