Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian
> $ 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/debian-maintain/salsa/python-team/packages/0_prospective/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'
a fix for this was available in the git repo but not released, i took
care of that with version 3.20220721 that has just been ACCEPTED.
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi
Reply to: