Path: csiph.com!weretis.net!feeder8.news.weretis.net!srl.newsdeef.eu!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Jai kadam Newsgroups: linux.debian.maint.python Subject: Re: Playwright version bump and testing Date: Sat, 06 Dec 2025 21:10:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Dec 6 20:00:03 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Forwarded-Encrypted: i=1; AJvYcCWDhgQ+nhTTjhKy3wC0pQCU7oLN8JEttUTU1O+rT2/quq+UZQVzqdqMZbbpbllWc7oBKpA6S+0/nvcsL1KR@lists.debian.org X-Gm-Message-State: AOJu0YyXlKWpYglt23UF2rbin2j6SJinNrJ9Xineuuqk9qtS/d2BxfSi 74DskLx2Hw2PsDWv5g7w9dv9qNmwxu0JAJ/ZZUHWHN6wpb7Thf9xxCWBl5dbLoEFcHyNf0Qtmfh lOEp8LbGGvVtQLc0MXOdPrL3NuTD1W22Jlg== X-Gm-Gg: ASbGnct8k8KxwcllvUTEjJc0YEppuiB1aPVHsV0RlrB5fsqlIc89rCr/YDMjWrs3Rmq yYCJ0Z43uDH56/4wfifclR2UciJMpIpKY1rhYT5w/MtWRLm1u6B6O99rjDnDwBU4nhueJT4sbKJ wuAyA3O9o/KYLQUb+4ptW39vGHfnKEm/USv9wfO6mBHFAPCAZGQQTQ7VCdu1Tfw+/8jNIZCzgyE rWyQlo+WR5SCSPZzjzCi4AI9b7B9Lngvlwpcjtb1f69TLkGRLalJ0UBwmQLoQ0u82u0/pBhqP/u 2Vm2RuSyQtds+55JZc48TeCO0cDFbg== X-Google-SMTP-Source: AGHT+IGWhlKUcDBO4ioFowE0HyFVnvJ5FcM4BXWDRuKFd/q4/J1+MHv5k/wW43RqnVcjDzm07iUknwgdCj2Qy1+qdlM= X-Received: by 2002:a05:7022:401:b0:11b:9386:a38b with SMTP id a92af1059eb24-11e032d4546mr2769243c88.46.1765051182706; Sat, 06 Dec 2025 11:59:42 -0800 (PST) MIME-Version: 1.0 X-Gm-Features: AQt7F2oIrXnndaH0FpAZ96CqfOeAW8ojuBsyQl_XX_AOypKzftknioznzi52TK4 Content-Type: multipart/alternative; boundary="000000000000c1735d06454e0092" X-Mailing-List: archive/latest/23493 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAJcuXADG7kbLX_ZgjUnVAiguEd_mKB08dEUE0GFXL=xF8JBn2Q@mail.gmail.com Approved: robomod@news.nic.it Lines: 216 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 7 Dec 2025 01:29:31 +0530 X-Original-Message-ID: X-Original-References: <744bafde-3b8d-48d2-bf66-78c2ebea436e@debian.org> Xref: csiph.com linux.debian.maint.python:17257 --000000000000c1735d06454e0092 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 7 Dec, 2025, 12:13=E2=80=AFam Jai kadam, wrot= e: > > > On Sat, 6 Dec, 2025, 11:18=E2=80=AFpm Roland Mas, wr= ote: > >> Le 06/12/2025 =C3=A0 14:39, Jai kadam a =C3=A9crit : >> >> >> >> On Sat, 6 Dec, 2025, 6:49=E2=80=AFpm Roland Mas, wr= ote: >> >>> Le 06/12/2025 =C3=A0 05:46, Jai kadam a =C3=A9crit : >>> > Hello, >>> > I have bumped the playwright version from 1.55.0 to 1.56.0 the build >>> > was successful. >>> > https://salsa.debian.org/jvk_here/python-playwright/ >>> > >>> > How should i test the package cause there is no debian/tests/ >>> >>> Hi Jai, >>> >> Hello! >> >>> >>> >>> The first step would be to remove the "override_dh_auto_test:" line in >>> debian/rules. I inserted it so that the package would skip its testsuit= e >>> as a preliminaly packaging effort, but it needs to be fixed. So remove >>> that line, re-run the build, see what breaks and fix that until nothing >>> breaks at all (and then we'll go on to debian/tests, which is a separat= e >>> testsuite). >>> >> >> Noted , so we have to build package everytime ? >> I mean it will be very time consuming . >> There is no other option? :) >> >> pbuilder caches the downloads, so builds are not that long. On my >> 5-year-old workstation, it took some time on the initial try because of = the >> downloading of build-depends, but it now takes less than a minute on >> subsequent runs. >> > The problem is not downloading it just kind of froze for like more that > 20mins after printing the last test line > >> If it's still too long: I've been working on an abstraction layer to gbp >> called gwh (see https://salsa.debian.org/lolando/gwh). >> > Wow that sounds great (altough it also sounds like the current state of > web devlopment , the abstraction on top of abstractions :) ) > >> It automates many of the tasks for users of the gbp workflow, and adds >> some others. In this case, what I'd do is run gwh --shell-on-failure, wh= ich >> would set up the build then try it; once the build has failed you'll hav= e a >> shell open inside the chroot, and you can then iterate running commands >> without the full build. For instance, you'd run "cd >> /build/python-playwright-1.55.0+ds/.pybuild/cpython3_3.14_playwright/bui= ld; >> python3.14 -m pytest tests", see where it breaks, fix it, and iterate. >> > Actully the problem is not that it's failing, the problem is that it freezes Thats sounds like a better workflow :) i will try > >> Roland. >> >> PS: I intend to push gwh to Debian proper sometime, just haven't found >> the time for it yet. I use it daily though. >> > > > --000000000000c1735d06454e0092 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, 7 Dec, 2025, 12:13=E2=80= =AFam Jai kadam, <jaivkadam@gmail= .com> wrote:


On Sat, 6 Dec, 2025, 11:18=E2=80=AFpm Roland Mas, <lolando@debian.= org> wrote:
=20 =20 =20
Le 06/12/2025 =C3=A0 14:39, Jai kadam a =C3=A9crit=C2=A0:
=20


On Sat, 6 Dec, 2025, 6:49=E2=80=AFpm Roland Mas, <lolando= @debian.org> wrote:
Le 06/12/2025 =C3=A0 05:46, Jai kadam a =C3=A9crit=C2=A0:
> Hello,
> I have bumped the playwright version from 1.55.0 to 1.56.0 the build
> was successful.
> https://salsa.debian.org/jvk_here/python-playwright/
>
> How should i test the package cause there is no debian/tests/

Hi Jai,
Hello!


The first step would be to remove the "override_dh_auto_test:" line in
debian/rules. I inserted it so that the package would skip its testsuite
as a preliminaly packaging effort, but it needs to be fixed. So remove
that line, re-run the build, see what breaks and fix that until nothing
breaks at all (and then we'll go on to debian/tests, whic= h is a separate
testsuite).

Noted , so we have to build package everytime ?= =C2=A0
I mean it will be very time consuming .
There is no other option? :)

pbuilder caches the downloads, so builds are not that long. On my 5-year-old workstation, it took some time on the initial try because of the downloading of build-depends, but it now takes less than a minute on subsequent runs.

<= div dir=3D"auto">The problem is not downloading it just kind of froze for l= ike more that 20mins after printing the last test line

If it's still too long: I've been working on an abstraction = layer to gbp called gwh (see https://salsa.debian.org= /lolando/gwh).

Wow = that sounds great (altough it also sounds like the current state of web dev= lopment , the abstraction on top of abstractions :)=C2=A0 =C2=A0 )

It automates many of the tasks for users of the gbp workflow, and adds some others. In this case, what I'd do is run gwh --shell-on-failure, which would set up the build then try it; once the build has failed you'll have a shell open inside the chroot, and you can then iterate running commands without the full build. For instance, you'd run "cd /build/python-playwright-1.55.0+ds/.pybuild/cpython3_3.14_playwright/build; python3.14 -m pytest tests", see where it breaks, fix it, and iterate.

<= /div>
Actully the problem is not that it's failing, th= e problem is that it freezes=C2=A0

Thats sounds like a bet= ter workflow :) i will try

Roland.

PS: I intend to push gwh to Debian proper sometime, just haven't found the time for it yet. I use it daily though.



--000000000000c1735d06454e0092--