Re: RFS: python-papermill/2.7.0-1 [RC] [Team] -- Parameterize, execute, and analyze notebooks

Jeroen Ploemen <[email protected]> Tue, 21 Apr 2026 15:38:13 -0000
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
On Tue, 21 Apr 2026 09:01:17 +0200
"Pieter Lenaerts" <[email protected]> wrote:

> On Mon Apr 20, 2026 at 2:29 PM CEST, Jeroen Ploemen wrote:
> > did a review of python-papermill, up for sponsorship in the Python
> > Team:  
> 
> Hi Jeroen,
> 
> Thanks for this detailed review. You may have seen that Bastian has
> uploaded python-papermill in parallel.
> 
> I will implement your comments and make them part of a next version.
> 
> Some specifics:
> 
> > * control: the restriction on pyarrow only deals with i386,
> >   presumably because the salsa CI doesn't try any archs other than
> >   amd64 and i386. The Debian CI on the other hand runs on more
> > archs; does the current setup survive that, or is this package
> > going to run into trouble elsewhere as well? If so, you might
> > want to switch the current [!i386] to a list of all archs where
> > pyarrow is available.  
> 
> I should have looked at the apache-arrow debian/control file. [1]
> 
> apache-arrow restricts to 64-bit LE and that means I should exclude
> not only i386.

Yeah I noticed bage's upload; apparently my review was overlooked. For
now, the package doesn't build at all because something way down the
dependency chain of pyarrow is missing, but once it does I strongly
suspect it will fail the CI on s390x (which is big endian and thus
doesn't have python3-pyarrow) and not migrate as a result.

In the meantime, please go ahead with the necessary improvements as
this package is likely going to need another upload anyway.

For the pyarrow test patch, you can use something along the lines of:

HAVE_PYARROW = True
try:
    import pyarrow
except ImportError:
    HAVE_PYARROW = False
    pass

...to check for the presence of pyarrow, then use that boolean in
place of the current check for a specific architecture. That way,
the only place you need to maintain a list of architectures is on
the build-dependency in d/control.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmnnmeUACgkQQoMEoXSN
zHqt7RAAoDIfC8ZUKVCVbNweI62Rr48iUwnY/1mXRw1feD0c3iuQI1hDWnDKXwq9
Sl4AJ+w0kxUnKUkj50E0QMjH8VBd52EhrXjP3EHf2EyzDOglcX1IOqkUAxF/f9gu
mMtBgu0HO86WVybETdFCzqpFV2GuJZ/cVbksyH0VHu9kxHiLuK3U4+7vLU2JnkNu
M7Nzxv+L6LrwXxR2X8cfLU8fKnsHOVoI3NkXRCHLewJ8DtE2szaYpteL/OXrARRz
Ti7bbTTndzcKLrTx3FNrgIZZnXvEfPOenFDO0ZmTHt4c/ZSDKNrU0fDvE+foBe6x
ndsjEp9/HEP1Zlz+Rvbpdw3o9pam49Rs5cUtwE93xNi9ue/Jr5HiV3yQGPO++Bon
QitFoIAws8LwVn4BCjEAz7RwzSh3Mw+B6bGOHUTAl/hFobehYp+PKVM1H3IX2sES
j9dp+Fo2JeiYOgRAqFTBZ3mnI3m5Jgv1Udo6ThGGpsLm+si/EiSJd48jJIb+ARKY
5G4+wfCw79c7SddjCEwUscHTQuQabg0DTWgIWe3UechyJw3Qvsbk+lTSivjOfWKU
OfyXauVX4Zo0HNRsV77xGBH5cs+ycvO+nMe+kByWYHTQg6BJDHz4vw//eZOQx6VY
F/+2UpxkFJt+eICoeqf33sZxNjkifBdQf14tzwf2UL1p7vBP1Vw=
=4LfM
-----END PGP SIGNATURE-----