Fix updating the supernav downloads#2842
Merged
JacobCoffee merged 1 commit intopython:mainfrom Dec 15, 2025
Merged
Conversation
Member
Author
|
This is the priority of my recent PRs. Now we have had #2845 for two days, we can see there are about 100x more clicks for 3.14.0 (presumably via the Downloads menu/supernav on every page) than 3.14.2 (presumably via the button at https://www.python.org/downloads/):
|
JacobCoffee
approved these changes
Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
The Downloads supernav menu shows Python 3.14.0 instead of 3.14.2.
The supernav box was last updated on 9th October 2025 (when 3.14.0 was released) and hasn't updated since.
This was caused by #2793 (merged 10th October) which changed
update_supernav()to support the Python install manager, but introduced a regression.The code iterates over each operating system, looking for download files with
download_button=True(let's call them "featured files") to put in the supernav.Before, operating systems without featured files were skipped:
After, all operating systems are added to the list, even without featured files:
But then a later new check requires every OS to have a featured file:
However, Android has no featured files, so for Python 3.14.1 and 3.14.2, the function silently returns without updating the supernav box.
The fix is to restore the skip: only add an OS to
python_filesif it has a featured file.Closes