[Pkg-rust-maintainers] Bug#1074114: librust-async-global-executor-dev: please accept rust-async-lock both v2 and v3 as dependency

Jonas Smedegaard dr at jones.dk
Sun Jun 23 11:47:55 BST 2024


Package: librust-async-global-executor-dev
Version: 2.4.1-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Thanks for solving bug#1074067. The way that was solved is helpful when
all the constellations involved in the smol and async-* crate migration
are aligned.

Now, please consider accepting *both* v2 and v3 of rust-async-lock as
dependency of rust-async-global-executor. That should be helpful for
more granular testing, breaking that relatively large migration into
smaller parts.

I recommend patching the upstream part to declare a dependency like
this: ">= 2.8.0, <= 3".  That way you relax downwards only as low as is
concretely tested using the actual version now in unstable, and form a
single range upwards for the whole of the branch within which upstream
declares a dependency on more narrowly.

I recommend declaring a Debian dependency like this:
"librust-async-lock-dev (<< 4)".  That similarly declares a single range
which in Debian requires being fully loose either downwards or upwards,
which I find safer to do downwards, since the past is know (it will fail
due to other unsatisfiable dependencies as well) whereas being sloppy
about the future may cause future problems discovered too late.

Thanks for considering.

 - Jonas

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

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmZ3/VgACgkQLHwxRsGg
ASE9kg//U6dng6+xIQGeDT/Zn0vTnv9PA+gHjotXExq08vA9d4iI++7nI5DVPcs+
/TZaYLbeNmut9HfkkabkWCHwo+z1pxYQOmhICw9oq0bnYHxZY0axONIsUjSPm+A/
FSl2O4SnYbjbgK0q80dUZ1bK00wA26o91FU2ypfIaOfZTy1NHUEHKCeMF3JAjsga
/t4nwhCuKF56xpto9kvYtEJkTAH9Vd9OT0iE7sr/OFoPIHPIC87As1arWp2XXluC
qGmHSCf6FTIlPhwLhxAhcauPBI9EoX5vOBKJPXv0gkioQ9wQAwwYwvzMR0h/HRqX
wZd6oEGRguMUTVVXZozq4YhqmZc1rj9pnbZtfgFOlNfoqv+xCmBCgHCRfW5pP6Km
vPFYCfPoMkusCsNW/w4ifu+VFZ5cvwE8aVbEg0d0uve87UoQO3Z524bwaHh/kQb9
VI1CmFLQgAsf2SOM9D1Elar06k3EERhwlCMojRzxvOhR9oH++8NUwHgxTvENEIFk
M3B1yQzq9hZgdSoy80QydwxHMCYH5tGuNzID25pGLQ2f5CV0dX9Gtatr6wrHotBY
VW+xROWniDzfSg4y61xcyWu3YrrU+MP0Fnv/xrh3Me+00DS38xx2M2eIpnO8G0Vj
1IlRi1YVrhdLZB+58SQt9t+rkUXIz7T8eGQtsn3JS3hEc6v8aDE=
=rKfs
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list