astropy/astropy — pull request #423 by astrofrog (2012-11-15 23:31:27+00:00)
Title: dev version number stuck on rtd documentation build

There's also an issue open for this at astropy/package-template#10, but this problem is happening with the astropy documentation itself so if it's fixed for astropy it can be fixed for the package template.

For each build of the docs at http://astropy.readthedocs.org/en/latest/, although the contents of the docs update correctly the displayed version string is stuck at "astropy-0.2.dev2070" which doesn't even make sense. Locally I get the current revision count on master as 1849. Although this number is not always expected to be accurate, it shouldn't be 2070.

I suspect this could be an issue with how the `_update_git_dev_str()` function is working on RTD.