Issue #11 new

issue with removing a version from pypi

Guy Rozendorn
created an issue

When a package contains multiple versions and the last one is removed by the owner, the older versions of the package are still installable and visible from the '/simple' interface but the package itself disappears from the API and from the '/pypi' interface, returning "Not Found" in both.

Comments (5)

  1. Guy Rozendorn reporter

    The older releases are hidden. However, that doesn't mean the package should return "Not Found" in the API. (Maybe the latest release should get unhidden automatically to fix this?)

  2. Guy Rozendorn reporter

    Hi Donald,

    The XMLRPC behaves as expected; the problem is with

    Lets describe the scenario first with more details: package A has three releases, two of them (the older ones) are hidden (they were automatically hidden when a newer release was uploaded) we now delete the latest release

    Now the package has only two, hidden releases. If we to go to /simple/A, we see the hidden releases; thats not a problem If we go to /pypi/A, we get a Not Found error, and thats the problem.

    I think that the "pypi interface" (*) should show a more descriptive page instead of returning "Not Found" like a package that doesn't exist. It could even show the package description, author, etc., and state that the package contains no releases, or only hidden ones.

    Here are two examples (of packages I don't own or maintain): adminfuncs: there's one release available on, but returns not found (I'm assuming its a hidden release)

    agic: says not found, but is found and has no releases

  3. Donald Stufft

    I see.

    AFAIK this is expected behavior but I am not in charge of PyPI just trying to help solve an issue if it was just missing a flag to the XMLRPC api.

  4. Log in to comment