Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8456
| From | Barry Warsaw <barry@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Test suite in github but missing from pypi tarballs |
| Date | 2016-04-21 19:40 +0200 |
| Message-ID | <rqqK8-4mT-37@gated-at.bofh.it> (permalink) |
| References | <rqo5A-2dR-33@gated-at.bofh.it> <rqoyC-2LH-11@gated-at.bofh.it> |
| Organization | The Organization of Unorganized Woozalists |
On Apr 21, 2016, at 02:54 PM, Tristan Seligmann wrote: >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. With my own upstream hat perched precariously on my head, I disagree. I generally prefer to include the test suite in the PyPI tarballs and I also submit bug reports to upstream that don't include them. Most have been very accommodating, especially when you can provide a simple patch to their MANIFEST.in. I agree with Fred that PyPI tarballs have multiple intended consumers. I also don't particularly like relying on GitHub generated tarballs. Despite popular believe, not every upstream uses GH or even git, signs their tags or even tags their releases. But almost *every* Python package releases tarballs to PyPI. There are a few very limited cases where upstreams have balked at supplying their test suites in their PyPI tarballs. One that I agree with is pip[*] because it's downloaded like a jillion times a day so in that case, have a more svelte tarball makes sense. I think Donald and I talked about them spinning a pip-dev tarball for distro consumers, but for now I just override dh_auto_test in d/rules. Cheers, -Barry [*] https://github.com/pypa/pip/issues/3370
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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