Package: pypi2deb
Version: 3.20220721
Severity: normal
Hi.
I get
$ py2dsp -v pystow
D: py2dsp py2dsp:156: version: 3.20220707
D: py2dsp py2dsp:157: ['/usr/bin/py2dsp', '-v', 'pystow']
/usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
D: py2dsp py2dsp:44: args: Namespace(verbose=True, quiet=False,
root='/home/andreas/result', clean=False, build=False, application=False,
profile=None, github=None, distribution='UNRELEASED', revision='0~py2deb',
message='converte0~py2deb', name='pystow')
E: py2dsp py2dsp:167: 'releases'
Traceback (most recent call last):
File "/usr/bin/py2dsp", line 165, in <module>
loop.run_until_complete(main(args))
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in
run_until_complete
return future.result()
File "/usr/bin/py2dsp", line 74, in main
fname = yield from download(name, version=version, destdir=args.root)
File "/usr/share/pypi2deb/pypi2deb/pypi.py", line 124, in download
release = details['releases'].get(version, {})
KeyError: 'releases'
For some possible reason see the discussion on debian-python list[1].
Kind regards
Andreas.
[1] https://lists.debian.org/debian-python/2022/07/msg00061.html
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (50, 'buildd-unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pypi2deb depends on:
ii build-essential 12.9
ii devscripts 2.22.2
ii dh-python 5.20220403
ii python3 3.10.5-3
ii python3-aiohttp 3.8.1-4
ii python3-debian 0.1.46
ii python3-github 1.55-2
ii python3-jinja2 3.0.3-1
ii python3-redis 4.3.4-3
Versions of packages pypi2deb recommends:
ii python3-msgpack 1.0.3-1
Versions of packages pypi2deb suggests:
pn cython <none>
pn cython3 <none>
pn pypy <none>
pn python-all-dev <none>
pn python-nose <none>
pn python-pytest <none>
pn python-setuptools <none>
ii python3-all-dev 3.10.5-3
pn python3-nose <none>
ii python3-pytest 7.1.2-2
ii python3-setuptools 59.6.0-1.2
ii python3-sphinx 4.5.0-4
-- no debconf information