Open notatallshaw opened 4 months ago
Yeah unfortunately there's no way to yank files in pypiserver
, you can use our static index that we publish per release and commit to main instead e.g. https://astral-sh.github.io/packse/0.3.8/simple-html/
I'll probably either fork pypiserver
to add support for this or change packse index up
/ packse serve
to use a different server.
There doesn't seem to be an open feature request, or a mention of yanking in their docs. I'll at least open an issue on their side.
For example scenario "requires-package-yanked-and-unyanked-any": https://github.com/astral-sh/packse/blob/main/scenarios/yanked.json#L48
Package a 1,0,0 should be yanked in the simple api, which would present itself as having the link attribute
data-yanked
, but when I look at the HTML that packse serves for this package I don't see that:If we compare that to say https://pypi.org/simple/apache-airflow/, I can see the
data-yanked
attribute for the relevant yanked files: