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


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

Re: Test suite in github but missing from pypi tarballs

From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Test suite in github but missing from pypi tarballs
Date 2016-04-21 17:30 +0200
Message-ID <rqoIi-2PN-7@gated-at.bofh.it> (permalink)
References <rqo5A-2dR-33@gated-at.bofh.it> <rqofh-2i1-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 21.04.2016 16:52, Thomas Goirand wrote:
> On 04/21/2016 04:10 PM, Edward Betts wrote:
>> Recently I've come across some Python libraries that have a test suite in
>> their github repo but don't include it in the tarball they upload to pypi.
>>
>> Debian binary packages don't normally include the test suite.
>
> Why? It's my view that it's a good idea to include it, if it is located
> within the lib itself.

there is no benefit to include the testsuite if it cannot be run in the install 
location.  So why include that for these cases?  Write an autopkg test and see 
if it runs *and* succeeds in the installed location.  Usually testsuites tend to 
need a lot of patches for doing that.

Also for large testsuites a separate binary package would be preferred, see e.g. 
the size of python-cryptography and python-cryptography-vectors.

Matthias

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