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


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

Re: Build an initial Debian source package with py2dsp from a GitHub project

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!border2.nntp.ams1.giganews.com!nntp.giganews.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Build an initial Debian source package with py2dsp from a GitHub project
Date Thu, 06 May 2021 01:10:01 +0200
Message-ID <CbyOt-5aL-5@gated-at.bofh.it> (permalink)
References <C7Ez7-2eh-9@gated-at.bofh.it> <CbuBc-2w6-11@gated-at.bofh.it> <CbuUy-2Cu-11@gated-at.bofh.it> <Cbv4d-2UZ-1@gated-at.bofh.it> <CbvGV-37A-1@gated-at.bofh.it> <CbvQB-3aK-3@gated-at.bofh.it> <CbvQB-3aK-1@gated-at.bofh.it> <Cby26-4F2-7@gated-at.bofh.it> <Cbyv7-4OX-1@gated-at.bofh.it>
X-Original-To debian-python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed May 5 23:03:10 2021
Old-Return-Path <sandro.tosi@gmail.com>
X-Amavis-Spam-Status No, score=-6.501 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] 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-lj1-f182.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOAM532tGY2oPZBHHhmk3t7rWnVh7hWmZHHMtnMerd9IjaT/ReSxd2GH 64PrWonl6EjnHN+rvizxeInPusppW9GDedRDMpMSdoyY9MeNDw==
X-Google-SMTP-Source ABdhPJxTRNqHiS1pUpxDifDRznUy+FvE70rDDr52CiaiFAxBepYYiqE4neVMxtasrO2ESCENFH36hbegqOPOS7A9QzI=
X-Received by 2002:a05:651c:550:: with SMTP id q16mr903106ljp.70.1620255775178; Wed, 05 May 2021 16:02:55 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19126
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAB4XWXwPT2OWd-zU2CSc6eerqXPXfH89yQ0mGGryYzdfLfC-xw@mail.gmail.com
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 5 May 2021 19:02:29 -0400
X-Original-Message-ID <CAB4XWXwPT2OWd-zU2CSc6eerqXPXfH89yQ0mGGryYzdfLfC-xw@mail.gmail.com>
X-Original-References <CAB4XWXypAdeUBKo08faZVou8uqH8X8+71cgPhsgFzafeSNKx5Q@mail.gmail.com> <CAPP0f96KHs5PgXbvJw1UqOegYypSLHSm77RwWOn=B784FyyHKA@mail.gmail.com> <YJLqsaViM8LQpOhn@belkar.wrar.name> <CAB4XWXwLP9cWWznywVmjCM1ciq+JaKZ6XX3WEca9wUA=SP+STw@mail.gmail.com> <CAPP0f97uFAxMmirgAAzMt3hNDkNRhqcLp86YhAx0=0sv55VTcg@mail.gmail.com> <YJL295Sa5zkk2tPz@belkar.wrar.name> <CAPP0f975U+iP3=pn_1OTBkhnvr8SaiOLX_+VaVtV17LVvskiCg@mail.gmail.com> <CAB4XWXxdZn1oMbdVEct_GU9yOAfvPN58n9ff2GKbxjxwsGZSLg@mail.gmail.com> <CAKTje6E2Z6gxcCGruxv=z2fovvchBhCeYjnV1_Q5G3KxVt3aeg@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:13339

Show key headers only | View raw


> > this solution also underestimates the in-progress migration towards
> > poetry and pyproject.toml, where `python3 setup.py sdist` is not
> > available.
>
> Where does the metadata come from for projects using these things?

that'd be pyproject.toml AFAIUI

the point i wanted to make is that it would require to implement a
parser for setup.{py,cfg} and pyproject.toml, plus some way to decide
which one to use in case a project supports both (it happens) and how
to override the selection in case one system is available and outdated
(it happens).

All of this is done by PyPI already, and the fact a project exists on
GH but not on PyPI it's either because it's such a niche project or
it's still under heaving development, that working on a solution
*right now* is not a good use of our time.

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

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


Thread

Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-25 06:30 +0200
  Re: Build an initial Debian source package with py2dsp from a GitHub  project Antonio Terceiro <terceiro@debian.org> - 2021-04-25 14:40 +0200
    Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-26 00:30 +0200
      Re: Build an initial Debian source package with py2dsp from a GitHub  project Antonio Terceiro <terceiro@debian.org> - 2021-04-26 01:20 +0200
        Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-26 03:30 +0200
  Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 20:40 +0200
    Re: Build an initial Debian source package with py2dsp from a GitHub  project Andrey Rahmatullin <wrar@debian.org> - 2021-05-05 21:00 +0200
      Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-05 21:10 +0200
        Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 21:50 +0200
          Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 22:00 +0200
            Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-06 00:20 +0200
              Re: Build an initial Debian source package with py2dsp from a GitHub project Paul Wise <pabs@debian.org> - 2021-05-06 00:50 +0200
                Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-06 01:10 +0200
          Re: Build an initial Debian source package with py2dsp from a GitHub  project Andrey Rahmatullin <wrar@debian.org> - 2021-05-05 22:00 +0200
            Re: Build an initial Debian source package with py2dsp from a GitHub project Paul Wise <pabs@debian.org> - 2021-05-06 00:50 +0200
  Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-10-29 06:50 +0200

csiph-web