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


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

Re: Test suite in github but missing from pypi tarballs

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Test suite in github but missing from pypi tarballs
Date Fri, 22 Apr 2016 12:10:02 +0200
Message-ID <rqGca-hy-11@gated-at.bofh.it> (permalink)
References <rqo5A-2dR-33@gated-at.bofh.it> <rqoyC-2LH-11@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Apr 22 10:04:27 2016
Old-Return-Path <brian@microcomaustralia.com.au>
X-Amavis-Spam-Status No, score=-7.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .microcomaustralia. - helo: .mail-pa0-x242.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microcomaustralia.com.au; s=google; h=sender:from:to:subject:in-reply-to:organization:references :user-agent:date:message-id:mime-version; bh=QlPK/WEtdQsCRBktG0imO7XFyjSX8FqdekKaguXbCNM=; b=TQVEvtKzmioJowrZz1hUTddFkE3whOMTx38wx3ufd0Gi51VamfcQlMESTV+hupvVc2 8HD9Xn1R3Tr7whjejxzajxjZ4beQTYwSgFYvdOcQ4Z1qQEM29CzQK6Go6mUMlQJjzDDM 8Noel2b52tMCGWCyBTdyAjyzO0hMAMUuA8rFw=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:in-reply-to:organization :references:user-agent:date:message-id:mime-version; bh=QlPK/WEtdQsCRBktG0imO7XFyjSX8FqdekKaguXbCNM=; b=IFgFvzqUct6VL/084w53p3Xo8DYI95b13n2pV7S1gtohaIyeLndy0fdKsuY0QkE94K 4INIhsdIrkqqkNjCIRryTD8hcBM7dFd53GGJxGZ6FxXnMwGpftZGXtuqhubKPh/2130Z VnJl1PWjY3UdeIDLuouFC6vO0wUUH1k6CVcucVWRGI/EwznsWYfyJU9Cs+ZOF1o0RqLW 9zHYk8z6ZLqHqU09qryG/L3THSlDUSE924yyV/Lv2fcYJmdxOVu3bzPddC5sxwcaif/U lf3+uumyCwq0INxXvt6Jzbje5Cc4J1PZ4hOiKUGPXZR2Rsq3WgM0I/B5ctbtJ0Bizq36 WJyQ==
X-Gm-Message-State AOPr4FUDCemGGEqyjEABZdJ8uuymlbH0xYBxPif5P765yuyeWSXVDUk449XgJyOAnR+DGA==
X-Received by 10.66.231.73 with SMTP id te9mr27632332pac.62.1461319447051; Fri, 22 Apr 2016 03:04:07 -0700 (PDT)
Sender robomod@news.nic.it
Organization Debian
User-Agent Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13789
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87eg9y0xkf.fsf@prune.linuxpenguins.xyz
Approved robomod@news.nic.it
Lines 24
X-Original-Date Fri, 22 Apr 2016 20:04:00 +1000
X-Original-Message-ID <87eg9y0xkf.fsf@prune.linuxpenguins.xyz>
X-Original-References <20160421141002.GA4590@4angle.com> <CAMcKhMSNpL_UWvSJtJKXLG4o-rY-C1firg3Zsjj54koDuzEm-A@mail.gmail.com>
X-Original-Sender Brian May <brian@microcomaustralia.com.au>
Xref csiph.com linux.debian.maint.python:8461

Show key headers only | View raw


Tristan Seligmann <mithrandi@mithrandi.net> writes:

> With my upstream developer hat on: source packages on PyPI are meant for
> end users to install via pip. They often include generated artifacts, and
> don't include things that aren't intended for installation via pip (tests
> being just one of these).
>
> For distribution packaging purposes, the GitHub tags are generally
> preferrable. GitHub makes archives of tagged releases available as
> tarballs, so this is generally a simple tweak to debian/watch.

I use to have this attitude too. However now I have reconsidered.

Far better to to retrieve source packages from PyPI.

For example, it is possible to have signed uploads to PyPI and have
uuscan automatically check the signature. This is not the case for
github.

packages that use setuptools-scm is another example - as a (over?)
simplification this requires files in the PyPI distribution, although
perhaps that is a topic best left for another discussion.
-- 
Brian May <bam@debian.org>

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


Thread

Test suite in github but missing from pypi tarballs Edward Betts <edward@4angle.com> - 2016-04-21 16:50 +0200
  Re: Test suite in github but missing from pypi tarballs Thomas Goirand <zigo@debian.org> - 2016-04-21 17:00 +0200
    Re: Test suite in github but missing from pypi tarballs Matthias Klose <doko@debian.org> - 2016-04-21 17:30 +0200
      Re: Test suite in github but missing from pypi tarballs Thomas Goirand <zigo@debian.org> - 2016-04-21 19:10 +0200
    Re: Test suite in github but missing from pypi tarballs Barry Warsaw <barry@debian.org> - 2016-04-21 19:40 +0200
  Re: Test suite in github but missing from pypi tarballs Tristan Seligmann <mithrandi@mithrandi.net> - 2016-04-21 17:20 +0200
    Re: Test suite in github but missing from pypi tarballs Fred Drake <fred@fdrake.net> - 2016-04-21 17:30 +0200
      Re: Test suite in github but missing from pypi tarballs Ian Cordasco <graffatcolmingov@gmail.com> - 2016-04-21 18:10 +0200
        Re: Test suite in github but missing from pypi tarballs Fred Drake <fred@fdrake.net> - 2016-04-21 18:20 +0200
          Source distribution is for building from source (was: Test suite in github but missing from pypi tarballs) Ben Finney <ben+debian@benfinney.id.au> - 2016-04-22 01:10 +0200
      Re: Test suite in github but missing from pypi tarballs Jeremy Stanley <fungi@yuggoth.org> - 2016-04-21 19:20 +0200
        Re: Test suite in github but missing from pypi tarballs Fred Drake <fdrake@gmail.com> - 2016-04-21 20:10 +0200
    Re: Test suite in github but missing from pypi tarballs Barry Warsaw <barry@debian.org> - 2016-04-21 19:40 +0200
      Re: Test suite in github but missing from pypi tarballs Tristan Seligmann <mithrandi@mithrandi.net> - 2016-04-22 07:20 +0200
    Re: Test suite in github but missing from pypi tarballs Brian May <bam@debian.org> - 2016-04-22 12:10 +0200
    Re: Test suite in github but missing from pypi tarballs Brian May <bam@debian.org> - 2016-04-22 12:10 +0200
  Re: Test suite in github but missing from pypi tarballs Edward Betts <edward@4angle.com> - 2016-04-22 12:50 +0200
    Re: Test suite in github but missing from pypi tarballs Edward Betts <edward@4angle.com> - 2016-04-23 12:40 +0200

csiph-web