Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade devpi-server to support pip search #11

Open
jackiect opened this issue Apr 26, 2016 · 1 comment
Open

upgrade devpi-server to support pip search #11

jackiect opened this issue Apr 26, 2016 · 1 comment

Comments

@jackiect
Copy link

After running a docker-devpi container, I follow devpi latest guide, use command pip search --index http://localhost:3141/root/pypi/ devpi-client to search, than I get an HTTP error

HTTP error 404 while getting http://localhost:3141/root/pypi/
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.5/site-packages/pip/commands/search.py", line 43, in run
    pypi_hits = self.search(query, options)
  File "/usr/local/lib/python3.5/site-packages/pip/commands/search.py", line 60, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/usr/local/lib/python3.5/xmlrpc/client.py", line 1091, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.5/xmlrpc/client.py", line 1431, in __request
    verbose=self.__verbose
  File "/usr/local/lib/python3.5/site-packages/pip/download.py", line 786, in request
    response.raise_for_status()
  File "/usr/local/lib/python3.5/site-packages/pip/_vendor/requests/models.py", line 851, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
pip._vendor.requests.exceptions.HTTPError: 404 Client Error: cannot submit to pypi mirror

and then I check the devpi version

root@e82553c6a336:~# devpi-server --version
2.5.3
root@e82553c6a336:~# devpi --version       
2.3.2
@lieryan
Copy link

lieryan commented Jul 1, 2016

The current devpi-server installed by docker-devpi also cannot install packages with dots in its name due to pypa/pip#3666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants