How to remove pkg from registry with "old" version

I have a very old version of a library in the registry, called “2.0a1”, i.e. before the new semantic versioning naming scheme was adopted. When I try to remove that version, I get an error:

$ pio pkg unpublish jcw/jeeh@2.0a1
SemanticVersionError: Invalid simple block '2.0a1'
$

Is there a way to get rid of this old / obsolete version?

CC @ivankravets for removal

Invalid (non-SemVer) versions were removed.

@ivankravets I’ve managed to do something similar with debuggery@1.1.7 where the library.json file contains a completely bogus version number (3.7.0).

(debuggery@1.1.8 corrects this problem but I think Platformio installs the older 1.17 lib when the version number is not specified).

Can you please delete davidlmorris/debuggery@1.1.7 ?

Done!

Wow! That was quick. Thank you. And nice to see the link to the lib in the Platformio Registry too, which I didn’t know existed.

Hi @ivankravets,

Sorry if this is becoming a megathread for packages to remove, is there a better way to message to make these requests?

Can I ask you to completely remove:
hard-stuff/OTA-Hub-diy-device_client

This has been replaced with:
hard-stuff/OTA-Hub-device_client which serves the DIY purpose and also future plans

The library has been deleted. You can unpublish packages manually using

@ivankravets I am trying to unpublish an accidental release, and after the publish, I ran the unpublish command, which shows

pio pkg unpublish ssd1306xled@1.0.1
Package version has been successfully removed from the registry

But I can still see v1.0.1 in PlatformIO Registry

Update: Now I can see it removed, thank you