Skip to content
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

"stable" doesn't point to latest tag. #3729

Closed
Sraw opened this issue Mar 5, 2018 · 6 comments
Closed

"stable" doesn't point to latest tag. #3729

Sraw opened this issue Mar 5, 2018 · 6 comments
Labels
Support Support question

Comments

@Sraw
Copy link

Sraw commented Mar 5, 2018

Details

I have a tag named "0.0.4"(a new one) and a tag named "v0.0.3"(an old one).
I expect that "stable" will point to tag "0.0.4" instead of "v0.0.3".
But "stable" doesn't point to latest tag.

Expected Result

In build page:
0.0.4: 509e05f0
v0.0.3: 48dde04d
stable: 509e05f0

Actual Result

0.0.4: 509e05f0
v0.0.3: 48dde04d
stable: 48dde04d

@stsewd
Copy link
Member

stsewd commented Mar 5, 2018

Looks like you disable all versions but latest and 0.0.4.

But with the names you provide the code should be fine.

>>> from packaging.version import Version
>>> versions = [Version('v0.0.3'), Version('0.0.4')]
>>> sorted(versions)
[<Version('0.0.3')>, <Version('0.0.4')>]

@RichardLitt RichardLitt added the Support Support question label Mar 5, 2018
@Sraw
Copy link
Author

Sraw commented Mar 6, 2018

@stsewd Yes, I expect it should be fine too. But it really doesn't.
The reason why I disable other versions is because v0.0.3 has some issues which would cause failed build. And that's also why I need to push a new version 0.0.4.
For now, stable still points to 48dde04d which is v0.0.3.

That is really strange, I cannot understand what happen.

@humitos
Copy link
Member

humitos commented Mar 6, 2018

Did you try by wiping your versions?

I imported this project in my local instance and I got the proper versions selected:

captura de pantalla_2018-03-05_20-51-27

@Sraw
Copy link
Author

Sraw commented Mar 6, 2018

@humitos I have tried wiping 0.0.4, v0.0.3, stable and latest. None of them works.
Perhaps that is caused by my advanced settings?
I manually set a pip requirements file to docs/requirements.txt, use CPython 3.X Python interpreter and enable global site-packages.

@stsewd
Copy link
Member

stsewd commented Mar 6, 2018

@Sraw I also was able to import the project correctly on my local installation. Did you try activating stable momentarily and building it again (also wiping and building again latest)?

@Sraw
Copy link
Author

Sraw commented Mar 6, 2018

I manually delete whole project in readthedocs and then reimport it. Now it works fine...

Hope I wouldn't meet this issue again, thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

4 participants