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


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

Re: [MBF] pybuild: Stop calling setup.py test?

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: [MBF] pybuild: Stop calling setup.py test?
Date Mon, 15 Aug 2022 21:40:02 +0200
Message-ID <EUO6m-O7o-23@gated-at.bofh.it> (permalink)
References <EUN0B-NvZ-5@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Aug 15 19:31:49 2022
Old-Return-Path <pollo@debian.org>
X-Amavis-Spam-Status No, score=-11.208 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
X-Riseup-User-ID 9FE9E451121EC41EDB184E69E726652DF6568947845B9E9646B1BBCB7BECDAA6
MIME-Version 1.0
Content-Language en-US
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------TqU0gTtSQDSmAdRJKWtS0MPY"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20183
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/98e27527-1cef-8c83-1496-0357f43a25dc@debian.org
Approved robomod@news.nic.it
Lines 123
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 15 Aug 2022 15:31:24 -0400
X-Original-Message-ID <98e27527-1cef-8c83-1496-0357f43a25dc@debian.org>
X-Original-References <20220815182722.7gahp4b63macxq6a@satie.tumbleweed.org.za>
Xref csiph.com linux.debian.maint.python:14349

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2022-08-15 14 h 27, Stefano Rivera wrote:
> Calling "setup.py test" has been deprecated since setuptools 28.5.
> That's 6 years ago.
> 
> pybuild calls currently setup.py test, when it can see that the package
> supports it, and another test runner hasn't been selected. I looked at
> dropping support for this (https://bugs.debian.org/982298) last year.
> I did some test builds and decided that breaking 50 odd packages to stop
> calling setup.py test wasn't worth it.
> 
> I just ran the tests again, and the numbers are 41 new FTBFS, and 54
> packages start emitting "Ran 0 tests", so they lost test coverage.
> dd-lists attached.
> 
> That's an improvement over last year, but still enough to give me pause
> on just changing pybuild and breaking packages.
> 
> We also now know that calling setup.py at all is deprecated. "setup.py
> test" support hasn't been removed yet, and I don't know if it will be,
> at this point...
> 
> Options:
> 1. Change pybuild, cause 41 new FTBFS, and 54 packages to lose testing.
>     File FTBFS bugs.
> 2. File "Severity: important" bugs on the packages that would FTBFS or lose
>     testing.
>     Change pybuild when most of these are closed.
> 3. File "Severity: minor" bugs on the packages that would FTBFS or lose
>     testing.
>     Leave pybuild as is, for now.
>     Change pybuild when upstream setuptools drops support for "setup.py
>     test".

I think we're currently in a good place wrt the Bookworm release. This 
gives us some leeway in what we want to do with the time we have until 
the freeze :)

I think option 2 is reasonable _IF_ (big 'if' here) we plan to stick 
with python 3.10. I don't think we need 50 extra RC bugs in addition to 
all the potential 3.11 failures. Otherwise, I'd go with 3. 1 seems 
unnecessary disruptive.

I guess fixing those bugs could be a valuable sprint goal for the 
potential remote sprint we discussed at DC22. I'll try to prod people on 
the ML in the next few days to see who'd be interested.

Cheers,

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

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


Thread

[MBF] pybuild: Stop calling setup.py test? Stefano Rivera <stefanor@debian.org> - 2022-08-15 20:30 +0200
  Re: [MBF] pybuild: Stop calling setup.py test? Louis-Philippe Véronneau <pollo@debian.org> - 2022-08-15 21:40 +0200
  Re: [MBF] pybuild: Stop calling setup.py test? Colin Watson <cjwatson@debian.org> - 2022-12-10 23:20 +0100
    Re: [MBF] pybuild: Stop calling setup.py test? Louis-Philippe Véronneau <pollo@debian.org> - 2022-12-11 02:00 +0100
      Re: [MBF] pybuild: Stop calling setup.py test? Stuart Prescott <stuart@debian.org> - 2022-12-13 00:30 +0100

csiph-web