Gentoo Archives: gentoo-user

From: bobwxc <bobwxc@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] pip search disabled?
Date: Fri, 18 Dec 2020 04:55:57
Message-Id: 2aef3385-25b7-dcfa-92ca-4bba2d445953@88.com
In Reply to: [gentoo-user] pip search disabled? by "Valmor F. de Almeida"
1 在 2020/12/18 上午2:32, Valmor F. de Almeida 写道:
2 >
3 > Hello,
4 > Has anyone seen this search problem with pip for any package?
5 >
6 > ->  pip search twine
7 >
8 > ERROR: Exception:
9 > Traceback (most recent call last):
10 >   File
11 > "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py",
12 > line 228, in _main
13 >     status = self.run(options, args)
14 >   File
15 > "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py",
16 > line 60, in run
17 >     pypi_hits = self.search(query, options)
18 >   File
19 > "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py",
20 > line 80, in search
21 >     hits = pypi.search({'name': query, 'summary': query}, 'or')
22 >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
23 >     return self.__send(self.__name, args)
24 >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request
25 >     response = self.__transport.request(
26 >   File
27 > "/usr/lib/python3.8/site-packages/pip/_internal/network/xmlrpc.py",
28 > line 45, in request
29 >     return self.parse_response(response.raw)
30 >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1341, in
31 > parse_response
32 >     return u.close()
33 >   File "/usr/lib/python3.8/xmlrpc/client.py", line 655, in close
34 >     raise Fault(**self._stack[0])
35 > xmlrpc.client.Fault: <Fault -32500: 'RuntimeError: This API has been
36 > temporarily disabled due to unmanageable load and will be deprecated
37 > in the near future. Please use the Simple or JSON API instead.'>
38 >
39 > Thanks,
40 > --
41 > Valmor
42
43 Just try it, and meet the same problem with python3.7 pip-20.2.4.
44 Then update to 20.3.3, still the same problem.
45
46 There are issues on github,
47
48 https://github.com/pypa/pip/issues/9292
49 https://github.com/pypa/pip/issues/9312
50
51 someone said,
52 *"*
53
54 Seehttps://status.python.org/incidents/grk0k7sz6zkp
55 <https://status.python.org/incidents/grk0k7sz6zkp>for context.
56
57 PyPI has had significant uptick in automated hits to the XMLRPC API,
58 which has resulted in needing to take that offline, as it hampers the
59 rest of the application's ability to function.
60
61 "
62
63 --
64 bobwxc

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] pip search disabled? "Valmor F. de Almeida" <val.gentoo@×××××.com>