Avoid "2.0" version of Babel because it doesn't work with Windows environment. Closes #1976.

see also:
* https://github.com/mitsuhiko/babel/issues/174
* https://github.com/mitsuhiko/babel/pull/188

Version spec syntax "babel>=1.3,!=2.0" is following PEP440: https://www.python.org/dev/peps/pep-0440/#version-exclusion and it works with pip 6.0 or later (I didn't check before pip 6.0).
This commit is contained in:
shimizukawa 2015-09-13 09:37:41 +09:00
parent f886c54263
commit 6bce0a1c10
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Features added
Bugs fixed Bugs fixed
---------- ----------
* #1976: Avoid "2.0" version of Babel because it doesn't work with Windows environment.
* Add a "default.css" stylesheet (which imports "classic.css") for compatibility. * Add a "default.css" stylesheet (which imports "classic.css") for compatibility.
* #1788: graphviz extension raises exception when caption option is present. * #1788: graphviz extension raises exception when caption option is present.
* #1789: ``:pyobject:`` option of ``literalinclude`` directive includes following * #1789: ``:pyobject:`` option of ``literalinclude`` directive includes following

View File

@ -51,7 +51,7 @@ requires = [
'Pygments>=2.0', 'Pygments>=2.0',
'docutils>=0.11', 'docutils>=0.11',
'snowballstemmer>=1.1', 'snowballstemmer>=1.1',
'babel>=1.3', 'babel>=1.3,!=2.0',
'alabaster>=0.7,<0.8', 'alabaster>=0.7,<0.8',
'sphinx_rtd_theme>=0.1,<0.2', 'sphinx_rtd_theme>=0.1,<0.2',
] ]