Skip to content
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

Display the packages with wheels compatible with the newest Python #163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

befeleme
Copy link

@befeleme befeleme commented Sep 5, 2024

Motivation:
Every year, the Fedora Python contributors open a bunch of issues to upstream projects to ask them to publish the new Python wheels early. This update will increase the visibility of the projects that need our attention and may serve as a gentle nudge for the project authors to not stay behind the rest of the ecosystem.

Note: If this is not a desired improvement of pythonwheels.com, no hard feelings! In such case, I'd host the page on my own GH pages.

The rendered page:
image

@@ -70,12 +70,16 @@ <h3 id="advantages">Advantages of wheels</h3>
<h2 id="about-list">What is this list?</h2>
<p>This site shows the top 360 most-downloaded packages on <a href="https://pypi.org/">PyPI</a> showing which have been uploaded as wheel archives.</p>
<ul>
<li><span class="text-success">Green</span> packages offer wheels,</li>
<li><span class="text-success">Green</span> packages offer wheels compatible with the newest Python version (updated shortly before its final release),</li>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Let's mention the actual version from NEWEST_PYTHON_VER somewhere, please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's displayed when you hover over the green packages on the list. However I agree, it could be made more visible.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I amended this on the line 77 of the diff

Motivation:
Every year, the Fedora Python contributors open a bunch of issues to
upstream projects to ask them to publish the new Python wheels early.
This update will increase the visibility of the projects that need
our attention and may serve as a gentle nudge for the project authors
to not stay behind the rest of the ecosystem.
<li><span class="text-muted">White</span> packages have no wheel archives uploaded (yet!).</li>
</ul>
<p>Currently, Python 3.13 is considered the newest Python version.</p>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Is it possible to use the NEWEST_PYTHON_VER value here? Otherwise I am afraid the version might get out of sync later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK, we'd have to generate index.html from a template rather than use the file verbatim as it is now. So I guess that would require pulling jinja2 and adding the generating machinery? Maybe there is an easier way?

@befeleme
Copy link
Author

befeleme commented Oct 1, 2024

FYI: I've deployed the same functionality on https://status.fedoralovespython.org/wheels/ using the frontend bits from pyreadiness.org, so I don't rely on this being added to pythonwheels.com - feel free to close this if not interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants