So, how does one actually go about updating a rust package? How do you
find out what breaks with the update?
Do we always provide a compat package, or do we try to update the deps?
Go for it in a side tag and make a compat package if we can't update the
deps?
For example, looking at updating miniz_oxide to 0.5.3, if I try to
install on my devel machine that is loading with rust packages I get:
Error:
Problem 1: problem with installed package
rust-tiff-devel-0.6.1-5.fc37.noarch
- package rust-tiff-devel-0.6.1-5.fc37.noarch requires
(crate(miniz_oxide/default) >= 0.4.1 with crate(miniz_oxide/default) <
0.5.0~), but none of the providers can be installed
- cannot install both
rust-miniz_oxide+default-devel-0.5.3-1.fc37.noarch and
rust-miniz_oxide+default-devel-0.4.4-4.fc37.noarch
- conflicting requests
Problem 2: problem with installed package
rust-flate2+miniz_oxide-devel-1.0.22-3.fc37.noarch
- package rust-flate2+miniz_oxide-devel-1.0.22-3.fc37.noarch requires
(crate(miniz_oxide) >= 0.4.0 with crate(miniz_oxide) < 0.5.0~), but none
of the providers can be installed
- cannot install both rust-miniz_oxide-devel-0.5.3-1.fc37.noarch and
rust-miniz_oxide-devel-0.4.4-4.fc37.noarch
- conflicting requests
Problem 3: problem with installed package
rust-png-devel-0.17.2-2.fc37.noarch
- package rust-png-devel-0.17.2-2.fc37.noarch requires
(crate(miniz_oxide/no_extern_crate_alloc) >= 0.4.1 with
crate(miniz_oxide/no_extern_crate_alloc) < 0.5.0~), but none of the
providers can be installed
- cannot install both
rust-miniz_oxide+no_extern_crate_alloc-devel-0.5.3-1.fc37.noarch and
rust-miniz_oxide+no_extern_crate_alloc-devel-0.4.4-4.fc37.noarch
- conflicting requests
But I don't know how to construct a repoquery that would test for that.
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/