Skip to content

Missing fallback of https://pypi.org/search #18931

@Baerbeisser

Description

@Baerbeisser

Describe the bug
Comming back to python after years, i run pip search on a Rasperry Pi 1 and get

RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search

Well, fine. So i run dillo https://pypi.org/search

Image

Great. I just don't have the ressources (meaning memory) to run a full blown browser here.

Same result with links.

   JavaScript is disabled in your browser.

   Please enable JavaScript to proceed.

   A required part of this site couldn’t load. This may be due to a browser
   extension, network issues, or browser settings. Please check your
   connection, disable any ad blockers, or try using a different browser.

Expected behavior
Although web standards deteriorate more every year, graceful degradation is still kinda expected, especially for tech infrastructure (yes yes, Tiktok & co. don't care). Which is why this is a bug report and not a feature request.
What i expected was a fallback to a basic html input+button type search, if not the main search working without JS. You know, some basic PHP, hook it to your API if you will.
But only a we do have a <noscript> here but nope is kinda on the nose.

To Reproduce
Run https://pypi.org/search in any minimal/console browser without Javascript-capability.

My Platform
dillo/3.2.0, links 2.3.0

Btw, i can't run your survey on my full-blown Firefox, because of some blocked cross-origin requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛requires triagingmaintainers need to do initial inspection of issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions