Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Sandro Tosi Newsgroups: linux.debian.maint.python Subject: Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Date: Thu, 21 Jul 2022 21:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Jul 21 18:53:22 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.509 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-pf1-f170.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AJIora8lM4xBfZ7JpHKLAz+L6pcyYX1WiTQ1oEoc0AG990B3QOpUCqql FR4dUg09zoH+qUz3V6rBZ0wNzDyvioHdFUP/qh0AIkcWqz0= X-Google-SMTP-Source: AGRyM1szmmghnv5Oawoc4TcN8b4IcC3MvFR+gJACxtg91oblnE3vHFR5wWoNXM0rZ7AH0FsPJqKY279rn9HQ9aqDItk= X-Received: by 2002:a63:81c1:0:b0:415:bbd5:794f with SMTP id t184-20020a6381c1000000b00415bbd5794fmr38329010pgd.546.1658429584715; Thu, 21 Jul 2022 11:53:04 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/20094 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAB4XWXwMpnrafur14Wz_bVRhARyYS8LKVnr+wCzgKZ=kjjSgrw@mail.gmail.com Approved: robomod@news.nic.it Lines: 32 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 21 Jul 2022 14:52:38 -0400 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:14260 > $ 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 =3D asyncio.get_event_loop() > D: py2dsp py2dsp:44: args: Namespace(verbose=3DTrue, quiet=3DFalse, root= =3D'/home/andreas/debian-maintain/salsa/python-team/packages/0_prospective/= result', clean=3DFalse, build=3DFalse, application=3DFalse, profile=3DNone,= github=3DNone, distribution=3D'UNRELEASED', revision=3D'0~py2deb', message= =3D'converte0~py2deb', name=3D'pystow') > E: py2dsp py2dsp:167: 'releases' > Traceback (most recent call last): > File "/usr/bin/py2dsp", line 165, in > loop.run_until_complete(main(args)) > File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_unt= il_complete > return future.result() > File "/usr/bin/py2dsp", line 74, in main > fname =3D yield from download(name, version=3Dversion, destdir=3Dargs= .root) > File "/usr/share/pypi2deb/pypi2deb/pypi.py", line 124, in download > release =3D 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. --=20 Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi