Skip to main content
Huy's site

[IPWHL] August update

On Monday this week, we have released our weekly release of the cheeses.

With the increasing number of packages declared in our repository, it is harder and harder to keep track and decide which packages to package next. To address this, McSinyx has written a script to check which packages can be declared next:

from importlib.metadata import distributions
from glob import glob

from packaging.utils import canonicalize_name

def declared(project):
    name = canonicalize_name(project).replace('-', '_')
    return glob(f'ipwhl-data/pkgs/*/*/{name}-*')

for distribution in distributions():
    name = distribution.metadata['Name']
    if declared(name): continue
    for dep in distribution.metadata.get_all('Requires-Dist') or []:
        if not declared(dep.split(maxsplit=2)[0]): break
    else:
        print(name)

On the other hand, I have written a tracker page to see how far we have progressed this project. Packages that have not been declared yet are emphasized and colored red1.


  1. I’m not sure if this is accessible enough for colorblind readers and readers who use text browser or screen reader. If you’re aware of a better way to highlight please tell me. ↩︎

Articles from blogs I read

Lithium and boron mine in Serbia

Rio Tinto wants to open a large lithium and boron mine in Serbia. That would be very useful for ren…

via Richard Stallman's Political Notes November 23, 2021

Online Discourse

I have been thinking for some time about writing some social commentary posts, but not falling into …

via Posts on Ariadna Vigo November 22, 2021

My desktop - November 2021

I decided it was time for a new “my desktop” post. It’s actually been one year since my latest post…

via Hund November 21, 2021
Generated by openring