Tom Keffer <[email protected]> writes:

> sdist and wheels only come into play in a pip distribution, which does not
> include the test files.

Thanks for clarifying that.

IMHO it's a bug for tests to be left out of pip sdists.  It's not like
sdist authors could have tested in all environments where they might be
used.  I realize this is controversial in python, but I have found in
packaging lots of things that I have encountered test failures that the
upstream developers don't see.  These have been all of real bugs in
upstream code, test bugs, and bugs in the platform.

> We are talking about the packaged distributions (Debian, RH, Suse), which
> do contain test files. As Matthew notes, these contain "binary" files,
> which in our case is pure Python. Technically, that is not a source
> distribution.

In my case, I'm talking about downloading "source" from
https://weewx.com/downloads/released_versions/ and then using pkgsrc to
create a "binary package":

  -rw-r--r--  1 gdt  wheel  2903352 Mar  3 12:17 py313-weewx-5.3.1.tgz

I find that the source tarball has tests, and the "binary" (which is
sort of a wheel in pkgsrc format) lacks them.  That's all good.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/rmiwlzslsvv.fsf%40s1.lexort.com.

Reply via email to