astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 63 forks source link

Incorrect developer version in RTD #10

Closed astrofrog closed 11 years ago

astrofrog commented 11 years ago

Somehow, affiliated packages get the dev revision number from astropy in the docs:

http://astroquery.readthedocs.org/en/latest/index.html

I don't have time to look into it for now, but if anyone wants to, please go ahead!

eteq commented 11 years ago

Just now I tried creating a new virtualenv on my local computer, running pip install -r docs/pip-rtd-requirements in a checkout of astroquery, and then python setup.py build_sphinx. The result was correct - that is, it gave the a revision number of 140-something, rather than the astropy value. So it appears to be something somehow unique to readthedocs...

eteq commented 11 years ago

My statement above seems to hold both in linux and OS X, so I don't think it's a platform thing, either...

eteq commented 11 years ago

To add further to the mystery, the astropy RTD build is giving that same number for latest version ("dev2070"), regardless of what the actual number of commits is (that is, it's no longer changing as commits are made).

astrofrog commented 11 years ago

This is now fixed by updating to the latest master astropy, so I am closing this.