Re: Upstream dependency version requirements [Was: Re: review for beets/2.9.0-1]

Peter Pentchev <[email protected]> Tue, 5 May 2026 12:43:51 +0300
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
--3ADb4GyBRP2EPDnn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 04, 2026 at 03:07:22PM +0300, Peter Pentchev wrote:
> On Sun, May 03, 2026 at 03:49:21PM -0000, Jeroen Ploemen wrote:
> > hi Pieter,
> >=20
> > my review for the beets package:
> >=20
> > * control: very specific version requirement for the dependency on
> >   python3-acoustid (=3D 1.3.1), while the upstream pyproject.toml
> >   specifies ^1.3.1 (note the caret) which if IIRC translates to
> >   >=3D1.3.1,<2;
> > * control: the build-dep on sphinx <9 has been overtaken by reality,
> >   with sphinx/9.1.0-1 already in unstable. Build seems to be fine
> >   with 9.1.0 too though.
> >=20
> >   For both of the above, it's often an open question whether version
> >   restrictions declared by upstream are actually hard requirements or
> >   just a matter of "we prefer to have everyone use the version we
> >   tested with".
>=20
> From my experience with various upstream projects, both individual
> authors with varying levels of experience and workflows, and
> more complex organizations (e.g. OpenStack), IMHO it is most useful to,
> at least initially, "assume good faith" and approach upstream requirements
> as follows...

So, uh, I just realized (a couple of days later, yeah) that what I wrote
may be misinterpreted. I did not in any way mean to criticize Jeroen's
words: I did not imply that he advocated not treating upstream requirements
in good faith. In my message I did outline a couple of cases in which
it is very much advisable to override them.

Apologies for any confusion.

G'luck,
Peter

--=20
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

--3ADb4GyBRP2EPDnn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmn5u9IACgkQZR7vsCUn
3xNUOhAAsMAlLFqwgk7YuB0PQk5q02d6xhid1vb3XKufl6bj/IwIBMadE8GdFeHD
TWAlgrEPpwehr4iU4N0eiTajnl5e81/QM9WcuP69dK1WgauqpNhVIBBTy9rJCnJ/
M6M0P/8MkiDRMxMuyBSwEVAto8VfRUV3R++QmrypP5ewItxhM9gI0rxfPa+Q09a8
OawsDl2h2rQC0a17HFy3vOP+wUciyL0the0e7FVthqGgUkT/qRnu4FeTRsbBiFRJ
q4IsshBJqSi2pW7TPLkdB56Dy+b6z4nYKxM0D1uvwPcGE6VmkuMMt1jGPlkNvb8a
eTsxvbwsVxGyo0BUr/VUf4UN6bxnbm/uD2d/qJWRXU4wehmki2Hcj0BpNpE/VvQL
9CH+rClPZh/m5ySKaoTbDHDyb832dORp2jB35JUw/2eRzyL7zBZjsME0cGm7o02n
W4xOw4pq7YpTXP6Cz28R6nMkmiBa3g4P0vlHWLYT01b4IrLEpJY/RXUEso7MebhD
lD6FC6w65UNP761T9TJqpSQ//hNGVcnvkMCzFtLwnHXcKVKUgG3kTBibxpBu4Zcc
1CC0XYqBZohwNPaPXm3ycblllwOUDgLtaf97j1B7SNNxSrNmarFNm8/haY98tzTa
zTErl3TwzIYUyDwUYjPlM7n5Bv04ejo/6VaZ0Mpm1IfLxxrk9sg=
=IV8a
-----END PGP SIGNATURE-----

--3ADb4GyBRP2EPDnn--