-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DOC: fix the dev version label in the version dropdown #55163
Conversation
Fixing the version in dev distributions
@jorisvandenbossche done at in-person sprint session :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm.
I'm not sure this is the right fix, but I don't know if it's wrong either.
Our doc preview bot is also down, so in the meantime, can you send a screenshot, showing how the change reflects in the docs?
IIUC, we have some existing code that is supposed to do the conversion here. Lines 234 to 238 in c253708
(the .dev part is the relevant line) Do you know if that broke somehow? |
Seems the |
So, the issue here is that now (with the change to the new build system), the output of Notice how there is a . missing before the dev, so the Can you try updating the if statement there? |
Definitely ;) Now you have both changes and the version fixed on both the dropdown menu and the HTML info |
This reverts commit 68297ac.
Actually, I think we need to fix the version instead. According to https://peps.python.org/pep-0440/ there needs to be a I also assume this is not related to the switch of the build system, but just a tiny mistake in the tagging. Looking at are past tags:
You can see how the last tag deviates from the previous ones. I think we can still fix that by pushing a new tag on the same commit? |
Thanks for checking it out :) @lithomas1 feel free to put the tag and revert my last commit. Let me know in case of any help |
Thanks for the catch !!! I was wondering where the missing dot was coming from. This is totally on me - it looks like I botched the tag name when I repushed the 2.2.0 tag. Interestingly, enough, the packaging package seems to recognize this as a proper version.
gives I guess that's why the nightly builds version seem fine. I'll push the new tag on Friday, sorry for the hassle all! |
The tag has been updated, so this should be fixed now. I will close this PR, but thanks for helping me debug this! |
Fixing the version in dev distributions