Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Nov 25, 2025

Description

One task for the release manager (👋) for every pre-release (and the .0 final) is to manually edit https://www.python.org/download/pre-releases/ to point to the new one.

Instead, let's create /downloads/latest/prerelease to redirect to the latest pre-release available.

For example:

  • downloads/latest/prerelease -> /downloads/release/python-3150a2/

In the ~one week period when 3.x.0 has just been released and 3.x+1.a1 is not out yet:

  • /downloads/latest/prerelease -> /downloads/

This PR also updates the download-banner and downloads-active-releases boxes in the test data to match production, for easier testing, and then to use the new redirects in these places:

image

After merge, I'll update:

@hugovk hugovk requested a review from ewdurbin as a code owner November 25, 2025 14:18
@hugovk hugovk added the enhancement This is an improvement to existing code or configuration label Nov 25, 2025
@hugovk hugovk requested a review from JacobCoffee as a code owner November 25, 2025 14:18
@hugovk hugovk added the app/downloads Relates to the downloads app label Nov 25, 2025
@JacobCoffee
Copy link
Member

needs rebase @hugovk :)

@hugovk
Copy link
Member Author

hugovk commented Nov 25, 2025

Updated!

@JacobCoffee JacobCoffee merged commit 95f50d7 into python:main Nov 25, 2025
3 checks passed
@hugovk hugovk deleted the downloads/latest/prerelease branch November 25, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app/downloads Relates to the downloads app enhancement This is an improvement to existing code or configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants