-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readthedocs: git repo does not contain latest tag information #549
Comments
i think this might also happen if the fetch depth of the git repo is not sufficient (if you don't fetch tags you cannot determine the latest (and next) version) look at the changes in the GH actions here I made for this reason |
Yes, this is the cause. So we need to unshallow the git working copy on RTD. |
we could take a look into how other projects deal with this, should be pretty common I guess |
The upstream issue has been fixed and is being deployed right now. But I think I should be more patient. |
As we derive the version number via setuptools_scm it is crucial to have all the git tags during the build. The version number of the latest build is something "0.1.dev50..." not "0.4.1+devX". I have not found any git related options in the RTD admin tab so far. I think the working copy and the doc build directory are kept to speed up building.
Eventually we need to report this upstream.
The text was updated successfully, but these errors were encountered: