tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-cachy and tests



Taylor R Campbell <campbell+netbsd-tech-pkg%mumble.net@localhost> writes:

>> Date: Sat, 25 Feb 2023 08:57:30 -0500
>> From: Greg Troxel <gdt%lexort.com@localhost>
>> 
>> Taylor R Campbell <campbell+netbsd-tech-pkg%mumble.net@localhost> writes:
>> 
>> >> In the meantime, should we just patch test out of setup.py so it isn't
>> >> installed?  I'll head down that path and commit it unless someone
>> >> explains a better approach.
>> >
>> > Patch it out or move it?  Is the test useful?
>> 
>> Doesn't run without the package installed.  So not useful.
>
> Can you run the test with the package installed and without the build
> tree?  There's value in packages installing self-tests that you can
> run at run-time, if it's not too heavyweight.

Perhaps, but 'make test' won't do that :-)  Agreed that installed tests
are useful, but I have punted to upstream to fix, especially as this is
something that likely almost no one actually wants except poetry drags
it in.  Upstream bug URL included in patch.


Home | Main Index | Thread Index | Old Index