Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14259

Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
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 17:30:01 +0200
Message-ID <ELGhH-cRjA-5@gated-at.bofh.it> (permalink)
References <EGMH7-9T1d-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jul 21 15:22:06 2022
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-7.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20093
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/YtlvDtDmeLOym2g/@an3as.eu
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 21 Jul 2022 17:21:50 +0200
X-Original-Message-ID <YtlvDtDmeLOym2g/@an3as.eu>
X-Original-References <CAB4XWXyAZy32vcDCN0MmB59w6Riex3OMS16rEzLJQdjYZoZv2g@mail.gmail.com>
X-Received-Bytes 3104
Xref csiph.com linux.debian.maint.python:14259

Show key headers only | View raw


Hi Sandro,

Am Thu, Jul 07, 2022 at 11:10:01PM -0400 schrieb Sandro Tosi:
> My goal is to make py2dsp (contained in pypi2deb) the default tool
> used to create Python packages in Debian (like many other
> language-specific tools already do f.e. for go, rust, npm, etc). The
> new release contains several enhancements that should cover many of
> the packaging needs, in particular:

Sounds really great!
 
I just gave it a try:

$ 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'
 

Am I missing something?

Kind regards

      Andreas.

-- 
http://fam-tille.de

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-08 05:20 +0200
  Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Emmanuel Arias <emmanuelarias30@gmail.com> - 2022-07-08 13:20 +0200
  Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 17:30 +0200
    Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-21 21:00 +0200
      Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 23:00 +0200
        Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-22 00:00 +0200
          Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-22 09:40 +0200
            Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 05:50 +0200
              Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 08:40 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 16:30 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 18:00 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 10:10 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 11:20 +0200

csiph-web