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


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

Re: Policy Change Proposal: Running the upstream test suite

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Policy Change Proposal: Running the upstream test suite
Date Tue, 30 Jul 2024 06:30:01 +0200
Message-ID <J5MEN-1q7y-5@gated-at.bofh.it> (permalink)
References <J5uoy-1dol-5@gated-at.bofh.it> <J5xmp-1foc-7@gated-at.bofh.it> <J5Jnz-1nj2-5@gated-at.bofh.it> <J5KCZ-1oqB-1@gated-at.bofh.it> <J5L61-1oAT-1@gated-at.bofh.it> <J5MbL-1pc7-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jul 30 04:28:07 2024
Old-Return-Path <pollo@debian.org>
X-Amavis-Spam-Status No, score=-104.81 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, CR_SYSTEM8=3, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_SCAM1=0.1, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Autocrypt addr=pollo@debian.org; keydata= xjMEYEPdjBYJKwYBBAHaRw8BAQdA5yh8SOHhcvKeX/A4rv0/JTCL8Kgnnwy4/okKh1Htbs3N LExvdWlzLVBoaWxpcHBlIFbDqXJvbm5lYXUgPHBvbGxvQGRlYmlhbi5vcmc+wpYEExYKAD4C GwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AWIQT2TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/f iAUJDuIDfAAKCRDh5UV8i61BEzdaAP0cGJp8CpkywzefhdaJjfK5/uAQLRg5Bk6yCWnyR8B4 wQEAxA4C39PJPsosgOVBMdfkzCPhGVynYBnujOyEcksX1w/OOARgQ+DlEgorBgEEAZdVAQUB AQdAgRLbDfS/6GLXd15qI9zHso9UwJQgDbme7pvL1Z9rkG4DAQgHwn4EGBYKACYCGwwWIQT2 TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/fsAUJDuIASgAKCRDh5UV8i61BEwYaAQDhvbQQqmTD F/fdodzfiY45IWYckb9rCvKaVnfP6DOY9QEA/eeaEWmOq2NpOYpBesVjBZCLe8jKv1WPMfLL YOfDIAc=
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Debian-User pollo
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22169
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/9947b215-e93f-4fc4-970e-5b9652e80882@debian.org
Approved robomod@news.nic.it
Lines 71
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 30 Jul 2024 13:27:48 +0900
X-Original-Message-ID <9947b215-e93f-4fc4-970e-5b9652e80882@debian.org>
X-Original-References <d90d7ad5-eba5-4436-ab9b-e5370f598faf@debian.org> <02D3B06F-D4BC-48BE-A0D4-191C6FFBBFD8@kitterman.com> <653ea6ec-ccd1-4f68-9f77-125983b1326e@debian.org> <63425DF6-E03F-4F58-9983-96ACAE3B7FE8@kitterman.com> <5318a8ac-1665-49b0-a02f-797aa262d6f6@debian.org> <7F9A2174-F35A-4075-BB81-E5983BC3FC01@kitterman.com>
Xref csiph.com linux.debian.maint.python:16131

Show key headers only | View raw


On 2024-07-30 12:58, Scott Kitterman wrote:
> 
> 
> On July 30, 2024 2:47:08 AM UTC, "Louis-Philippe Véronneau" <pollo@debian.org> wrote:
>> On 2024-07-30 11:09, Scott Kitterman wrote:
>>>
>>>
>>> On July 30, 2024 12:49:50 AM UTC, "Louis-Philippe Véronneau" <pollo@debian.org> wrote:
>>>> On 2024-07-29 21:07, Scott Kitterman wrote:
>>>>>
>>>>>
>>>>> On July 29, 2024 8:53:11 AM UTC, "Louis-Philippe Véronneau" <pollo@debian.org> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> As discussed during the DebConf24 Python BoF, I'm submitting this change to the policy to require the use of the upstream test suite, both during the build process and as an autopkgtest.
>>>>>>
>>>>>> You can find the MR here:
>>>>>>
>>>>>> https://salsa.debian.org/python-team/tools/python-modules/-/merge_requests/24
>>>>>>
>>>>>> People present at the BoF seemed to think this was a good idea. If you don't please reply to this message and make yourself heard :)
>>>>>
>>>>> I understand the theory and why it's a good idea to run the test suite.  I don't think it ought to be a hard requirement.  I have several packages where there's a test suite, but I don't run it:
>>>>>
>>>>> 1.  The largest set is packages that need test only dependencies which are not packaged.  When I am packaging something new which has a test suite, then I generally package any needed test depends. If those test depends also need test depends packaged, I generally stop and don't enable tests for things that are only in the archives to support tests.  Noseofyeti is an example of this.
>>>>
>>>> That sounds like a valid technical reason not to run the tests to me :)
>>>>
>>>>> 2.  There's at least one case where Debian has customizations that cause the test suite to fail, but the failures don't seem to cause any real problems.  If anyone wants to make it so the weasyprint test suite works on Debian, please knock yourself out.
>>>>
>>>> Again, as long as you document that, I don't think it would go against the proposed policy change.
>>>>
>>>>> 3.  I also maintain multiple packages which require network access to run their test suite, so they can't run tests during build, only autopkgtests.
>>>>
>>>> Same.
>>>>
>>>
>>> Except for #3, I don't get that from the wording in the MR.  I don't think not worth the trouble is a technical reason.  I think the real rule that's being proposed is that packages must run the test suit or document why not.  I don't have a problem with that, but I don't think that's what it actually says now.  I think if you were to change must to should and strike the word technical before reason, it would accomplish the same thing and be clearer.  I could support that.
>>
>> Language is hard and I'm not a native English speaker :)
>>
>> What I want to prevent is people not running tests because they don't feel like it, even though it would not take them a large amount of efforts to do so.
>>
>> I'll strike "technical", as it seems others also interpreted this word they way you have.
>>
>> As for "MUST" vs "SHOULD", I believe the exception clause provides enough leeway to justify a reasonable way out in case of $VALID_REASON.
>>
>> "SHOULD" is not particularly strong and again, I fear it would let people get away with not running tests although it wouldn't be much work to do so...
>>
> 
> I guess it depends on how you look at the word.  In the context of technical specifications, I tend to think of terms as defined in RFC 2119 [1].  I think that's pretty close to what you are suggesting:
> 
> 3. SHOULD   This word, or the adjective "RECOMMENDED", mean that there
>     may exist valid reasons in particular circumstances to ignore a
>     particular item, but the full implications must be understood and
>     carefully weighed before choosing a different course.
> 
> The way RFC 2119 defines MUST doesn't leave much room for exceptions.  If you want to be clear, I suggest SHOULD with a reference to RFC 2119.  While not universal, it is a widely used reference for definitions of these terms in technical specifications.
> 
> Scott K
> 
> [1] https://datatracker.ietf.org/doc/html/rfc2119#section-3
> 

Fair enough. I also made that change.

-- 
   ⢀⣴⠾⠻⢶⣦⠀
   ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
   ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
   ⠈⠳⣄

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


Thread

Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-07-29 11:00 +0200
  Re: Policy Change Proposal: Running the upstream test suite PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-07-29 11:30 +0200
    Re: Policy Change Proposal: Running the upstream test suite Martin <debacle@debian.org> - 2024-07-29 14:00 +0200
      Re: Policy Change Proposal: Running the upstream test suite PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-07-29 15:50 +0200
        Re: Policy Change Proposal: Running the upstream test suite Andrey Rakhmatullin <wrar@debian.org> - 2024-07-29 16:00 +0200
          Re: Policy Change Proposal: Running the upstream test suite PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-07-29 17:40 +0200
            Re: Policy Change Proposal: Running the upstream test suite Scott Kitterman <debian@kitterman.com> - 2024-07-29 18:10 +0200
            Re: Policy Change Proposal: Running the upstream test suite Andrey Rakhmatullin <wrar@debian.org> - 2024-07-30 10:40 +0200
              Re: Policy Change Proposal: Running the upstream test suite PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-07-30 11:10 +0200
                Re: Policy Change Proposal: Running the upstream test suite Andrey Rakhmatullin <wrar@debian.org> - 2024-07-31 16:20 +0200
              Re: Policy Change Proposal: Running the upstream test suite Julian Gilbey <julian@d-and-j.net> - 2024-07-30 17:00 +0200
                Re: Policy Change Proposal: Running the upstream test suite Andrey Rakhmatullin <wrar@debian.org> - 2024-07-31 16:10 +0200
          Re: Policy Change Proposal: Running the upstream test suite Simon McVittie <smcv@debian.org> - 2024-07-31 10:50 +0200
            Re: Policy Change Proposal: Running the upstream test suite Andrey Rakhmatullin <wrar@debian.org> - 2024-07-31 16:10 +0200
              Re: Policy Change Proposal: Running the upstream test suite Simon McVittie <smcv@debian.org> - 2024-07-31 16:20 +0200
  Re: Policy Change Proposal: Running the upstream test suite Scott Kitterman <debian@kitterman.com> - 2024-07-29 14:10 +0200
    Re: Policy Change Proposal: Running the upstream test suite Simon McVittie <smcv@debian.org> - 2024-07-29 16:40 +0200
    Re: Policy Change Proposal: Running the upstream test suite Julian Gilbey <julian@d-and-j.net> - 2024-07-29 23:50 +0200
    Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-07-30 03:00 +0200
      Re: Policy Change Proposal: Running the upstream test suite Scott Kitterman <debian@kitterman.com> - 2024-07-30 04:20 +0200
        Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-07-30 04:50 +0200
          Re: Policy Change Proposal: Running the upstream test suite Scott Kitterman <debian@kitterman.com> - 2024-07-30 06:00 +0200
            Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-07-30 06:30 +0200
              Re: Policy Change Proposal: Running the upstream test suite Scott Kitterman <debian@kitterman.com> - 2024-07-30 06:50 +0200
                Re: Policy Change Proposal: Running the upstream test suite thomas@goirand.fr - 2024-07-30 09:20 +0200
  Re: Policy Change Proposal: Running the upstream test suite Pierre-Elliott Bécue <peb@debian.org> - 2024-07-29 16:10 +0200
    Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-07-30 03:00 +0200
  Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-08-15 00:10 +0200
    Re: Policy Change Proposal: Running the upstream test suite Andreas Tille <andreas@an3as.eu> - 2024-08-16 17:00 +0200
    Re: Policy Change Proposal: Running the upstream test suite Pierre-Elliott Bécue <peb@debian.org> - 2024-08-17 00:50 +0200
      Re: Policy Change Proposal: Running the upstream test suite Louis-Philippe Véronneau <pollo@debian.org> - 2024-08-18 23:20 +0200
        Re: Policy Change Proposal: Running the upstream test suite Graham Inggs <ginggs@debian.org> - 2024-08-19 15:40 +0200

csiph-web