review for audio-visualizer-python/2.2.4-1

Jeroen Ploemen <[email protected]> Fri, 6 Mar 2026 12:10:25 -0000
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
hi Aeliton,

I reviewed the audio-visualizer-python package, up for sponsorship in
the Python team:

* patches: 0003 seems to serve no other purpose than deleting a file.
  You don't want to use patches for that. To prevent that license
  file from getting installed, please use some other method with a
  much smaller footprint, such as overriding dh_install to exclude
  the file from install, or removing it after the install step in an
  override_after_ stanza.

* rules: why is test_comp_spectrum_previewRender getting deselected?
  I can see it failed on i386 on the CI, but there could be a number
  of reasons for that. Was the cause for the failure investigated? Is
  the test itself buggy or does it correctly identify a bug in
  upstream code? Was the issue reported upstream?

  Adding an explanatory comment alongside the relevant setting in
  d/rules can be very helpful to provide a bit of context.

  For reference, the relevant part of the CI log:
  =================================== FAILURES ===================================
  _______________________ test_comp_spectrum_previewRender _______________________
  coreWithSpectrumComp = Component(module 5, pos 0) (<avp.components.spectrum.Component object at 0xed341260>)
  Name: Spectrum v1
  Preset: {'ampl...irror': False,
   'mode': 0,
   'mono': False,
   'scale': 100,
   'tc': 0.017,
   'window': 0,
   'x': 0.0,
   'y': 0.0,
   'zoom': 1}
      def test_comp_spectrum_previewRender(coreWithSpectrumComp):
         comp = coreWithSpectrumComp.selectedComponents[0]
         image = comp.previewRender()
  >       assert imageDataSum(image) == 71992628
  E       assert np.int32(71993239) == 71992628
  E        +  where np.int32(71993239) = imageDataSum(<PIL.Image.Image image mode=RGBA size=1920x1080 at 0xED34CD20>)
  tests/test_comp_spectrum.py:24: AssertionError


Once the above comments have been addressed, simply re-add the
package to the IRC channel topic and/or ping me by e-mail.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmmqxDEACgkQQoMEoXSN
zHoLPRAAvjJNwGqFcoiJS1NNYEBNm0EeN+aO1GWemypWwuf5xrSlGL5yFR/IEyyB
02xzTbvP/Gk0RJd1mDmS/Hujjz/YFywWtO7qb7PCn7MPQFbFlv6Z4SgK94IUqsyd
c2bRRdrx81caiXkc5qZQvILNyXaFTp2tIYILzNtHpQOtxzu2GBKfxPBQIckU9clw
nzosB2zxwG3dyZ3+zblkHxfagr1oPqNlbS2Bg2RSEVO0MxFr2nlATwGshrJCQWL9
vCofMEon/9Yt0insCc2r8dulu5YO9BghCDZbLRDFsd1w9vVRy/Q9Y+xuhKmdjj0q
5wuVBnll07izIo8dbPG/SiQ+Dyh7e91gYfW0JL0tdoOBXYku80s9AJGsJPfRGjh2
d1B9uWcx/DkH3IT0Ag/it5+d1mLH9H++sVIBP4RbFcISgK1ACK331m7iTETeZknP
vsejOkGBCXlZwQaKiGnI7BU4eyUz+ijQWiew1DnDI2cR4//DY6zjpShx+ME6LzSJ
FHGFCGGfBchIwq3lVeKSRNmDS2coFYzefc5+EU0s7WFBUf4KlMXUxElGn9Kbuy02
GiI7JwakanNF8+OFCyWX+pI307sJ5Djm3nKvaEQNd2/i+EBCvo4qxFNQl/C7Ith2
3SMZ9mBqUgdlcNjfQ0IcmYiC6zOBp89PaWaeATHtkpgprokAFp8=
=vA4k
-----END PGP SIGNATURE-----