Mailinglist Archive: opensuse-bugs (6095 mails)

< Previous Next >
[Bug 1089613] py2pack fails with deprecated API fault
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 17 Apr 2018 08:52:19 +0000
  • Message-id: <bug-1089613-21960-4ctnCbUwlq@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1089613
http://bugzilla.suse.com/show_bug.cgi?id=1089613#c1

Karol Babioch <kbabioch@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kbabioch@xxxxxxxx

--- Comment #1 from Karol Babioch <kbabioch@xxxxxxxx> ---
Same issue for me, even with the latest version of py2pack:

kbabioch@aquarius /home/kbabioch/home:kbabioch/python-fido2
⚡ py2pack generate fido2 -f python-fido2.spec

generating spec file for fido2...
Traceback (most recent call last):
File "/usr/bin/py2pack", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/py2pack/__init__.py", line 341, in
main
args.func(args)
File "/usr/lib/python2.7/site-packages/py2pack/__init__.py", line 223, in
generate
url = newest_download_url(args)
File "/usr/lib/python2.7/site-packages/py2pack/__init__.py", line 271, in
newest_download_url
for url in pypi.package_urls(args.name, args.version):
# Fetch all download URLs
File "/usr/lib64/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1316, in single_request
return self.parse_response(response)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1493, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 800, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -32500: 'RuntimeError: This API has been
deprecated. Use https://pypi.org/fido2/0.3.0/json instead. The XMLRPC method
release_urls can be used in the interim, but will be deprecated in the
future.'>

kbabioch@aquarius /home/kbabioch/home:kbabioch/python-fido2
⚡ py2pack --version
py2pack 0.8.2

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >