Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add featured downloads#2805

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
hugovk wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromhugovk:featured-downloads
Draft

Conversation

@hugovk
Copy link
Member

Description

Closes#2419

Before

image

After

image

Notes

Each "Release" object in the CMS has a number of release files. Some of these have a "Download button" boolean set, max one per OS, which is used for displaying it athttps://www.python.org/downloads/:

image

Let's also use this flag to decide what to feature here.

(Aside: the flag is set during the release process bydownload=True inhttps://github.com/python/release-tools/blob/d8077eae1dcea2653775e4b3ba9f51700b354f5e/add_to_pydotorg.py#L105-L190.)

Windows

However, for Windows, let's use the Python install manager and link tohttps://www.python.org/downloads/latest/pymanager/ using similar logic for the button athttps://www.python.org/downloads/

That page says:

The install manager can install versions of Python as far back as 3.5, but only supports Windows 10 operating systems (or Windows Server 2022) and later.

Re: "The install manager can install versions of Python as far back as 3.5"

So let's only show the install manager for downloads of 3.5 and later. Older ones can use the file set by the CMS. For example, for 3.4.0:

image

Re: "but only supports Windows 10 operating systems (or Windows Server 2022) and later"

For the purpose of this featured release for 3.5+, it's fine to cater for the common case of new Windows (especially as Win10 is EOL). The full list is right there if you need a file.

@zooba How does this sound?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ewdurbinewdurbinAwaiting requested review from ewdurbinewdurbin will be requested when the pull request is marked ready for reviewewdurbin is a code owner

@JacobCoffeeJacobCoffeeAwaiting requested review from JacobCoffeeJacobCoffee will be requested when the pull request is marked ready for reviewJacobCoffee is a code owner

At least 0 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Enhancement: Add afeatured downloads section

1 participant

@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp