Fix updating the supernav downloads #2842
Open
+48
−7
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