Discussion:
[Docutils-users] docutils latest version contains string
Kfir Ilani
2017-05-28 15:46:37 UTC
Permalink
docutils latest package version is 0.14rc1
while other packages try to parse the version (such as sphinx), it fails
due to parse error for int()

File
"/Users/ci/workspace/wrk_automation_utils_mac_debug/.eggs/Sphinx-1.3.1-py2.7.egg/sphinx/util/compat.py",
line 17, in
docutils_version = tuple(int(x) for x in _du_version.split('.')[:2])
ValueError: invalid literal for int() with base 10: '14rc1'

Can you please update docutils version to contains only integers (as
universal format)


Thanks
Kfir Ilani
Ben Finney
2017-05-29 02:23:44 UTC
Permalink
Post by Kfir Ilani
docutils latest package version is 0.14rc1
while other packages try to parse the version (such as sphinx), it fails
due to parse error for int()
What are the “other packages”?

Version parsing of Python distributions should accept PEP 396 values
<URL:https://www.python.org/dev/peps/pep-0396/>.
Post by Kfir Ilani
Can you please update docutils version to contains only integers (as
universal format)
Rather, the tool needs to be updated to accept the standard PEP 396
version format.
--
\ “The supreme vice is shallowness.” —Oscar Wilde, _De |
`\ Profundis_, 1897 |
_o__) |
Ben Finney
Ben Finney
2017-05-29 02:37:16 UTC
Permalink
Version parsing of Python distributions should accept […]
My apologies, I gave the wrong PEP reference. That should be:

Version parsing of Python distributions should accept PEP 386 values
<URL:https://www.python.org/dev/peps/pep-0386/>.
--
\ “When [science] permits us to see the far side of some new |
`\ horizon, we remember those who prepared the way – seeing for |
_o__) them also.” —Carl Sagan, _Cosmos_, 1980 |
Ben Finney
engelbert gruber
2017-05-29 12:56:05 UTC
Permalink
Post by Ben Finney
Version parsing of Python distributions should accept [
]
Version parsing of Python distributions should accept PEP 386 values
<URL:https://www.python.org/dev/peps/pep-0386/>.
superceeded by https://www.python.org/dev/peps/pep-0440/
Post by Ben Finney
--
\ “When [science] permits us to see the far side of some new |
`\ horizon, we remember those who prepared the way – seeing for |
_o__) them also.” —Carl Sagan, _Cosmos_, 1980 |
Ben Finney
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
Loading...