Skip to content

Cache clean command #2397

@joerick

Description

@joerick

One follow-up that I think I could take on here is to add a utility command around this the cache directory – it would be nice to have something like cibuildwheel cache clean (similar to uv cache clean) or cibuildwheel cache purge (similar to pip cache purge) – if y'all agree to this, of course. Currently, emsdk installed through takes 1.52 GiB on my machine and the pyodide venv is another 200 MiB, and as these are buried within the platformdirs cache location, I have to go there and manually delete these files. It doesn't bother me too much: while cibuildwheel can be executed locally, the "ci" in the name does mean that not everyone will run into this locally. :) Would you be open to this idea?

P.S. It would be pretty useful if platformdirs were to have a cache-clear command of its own, too, but I won't open an issue in their tracker just yet :)

Originally posted by @agriyakhetarpal in #2002 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions