Skip to content

Commit

Permalink
Ensure lunr.py version matches lunr.js
Browse files Browse the repository at this point in the history
Each version of lunr.py only works with a specific version of lunr.js.
Therefore we must hardcode the specific version of lunr.py in our
requirements. As we recently updated to lunr.js version 2.3.8 (#1995),
that coincides with lunr.py version 0.5.6. See the lunr.py CHANGELOG for
coinciding versions: https://github.com/yeraydiazdiaz/lunr.py/blob/master/CHANGELOG.md
  • Loading branch information
waylan committed Feb 22, 2020
1 parent b144b50 commit 6756814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_packages(package):
'click>=3.3',
'Jinja2>=2.10.1',
'livereload>=2.5.1',
'lunr[languages]>=0.5.2',
'lunr[languages]==0.5.6', # must match lunr.js version included in search
'Markdown>=3.2.1',
'PyYAML>=3.10',
'tornado>=5.0'
Expand Down

0 comments on commit 6756814

Please sign in to comment.