Fedora Account System
Red Hat Associate
Red Hat Customer
Could you reenable the colored feature? aw-server-rust, that I would like to package soon, depends on it as seen at https://github.com/ActivityWatch/aw-server-rust/blob/master/aw-server/Cargo.toml#L25 Reproducible: Always
I'd really like to avoid doing that. It was dropped on purpose, because colored v2.1 pulls in some outdated dependencies: https://src.fedoraproject.org/rpms/rust-fern/c/7a9b80f34af1d255f1ad2a7a6a5a73bcb787b337?branch=rawhide
(In reply to Fabio Valentini from comment #1) > I'd really like to avoid doing that. It was dropped on purpose, because > colored v2.1 pulls in some outdated dependencies: > https://src.fedoraproject.org/rpms/rust-fern/c/ > 7a9b80f34af1d255f1ad2a7a6a5a73bcb787b337?branch=rawhide You mean this would pull rust-colored1 (outdated) and not rust-colored (current), right? fern 0.6 is already outdated itself. Could you update fern to 0.7 then? I would try to update the fern depenency in the the upstream aw-server-rust then. Not preferable though (I don't know rust language, so I might fail), but do you have any better ideas?
> You mean this would pull rust-colored1 (outdated) and not rust-colored (current), right? Yes. > fern 0.6 is already outdated itself. Could you update fern to 0.7 then? That might be a good idea regardless - I just noticed that they have a security warning for <0.7 in their readme: https://github.com/daboross/fern/blob/main/README.md Might be easy to port things from fern 0.6 to 0.7, might not be. I'll put it on my TODO list.
I opened an upstream issue in aw-server: https://github.com/ActivityWatch/aw-server-rust/issues/496
(In reply to Fabio Valentini from comment #4) > I opened an upstream issue in aw-server: > https://github.com/ActivityWatch/aw-server-rust/issues/496 Thanks for the extra mile :) I already tested the switch 0.6->0.7 and found no issues (I even might provide a PR against the issue you opened), so the blocking part now is bumping the version in Fedora.
FEDORA-2024-fe8ea9b77d (rust-fern0.6-0.6.2-1.fc42, rust-fern-0.7.0-1.fc42, and 13 more) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-fe8ea9b77d
FEDORA-2024-fe8ea9b77d (rust-fern0.6-0.6.2-1.fc42, rust-fern-0.7.0-1.fc42, and 13 more) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
A surprising error when trying to build a real package that depends on fern/colored as seen at https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2327650-aw-server-rust/fedora-rawhide-x86_64/08287138-aw-server-rust/builder-live.log.gz The exact error is: "Problem: nothing provides requested (crate(fern/colored) >= 0.6.0 with crate(fern/colored) < 0.7.0~)" I see that the package was built at https://kojipkgs.fedoraproject.org//packages/rust-fern/0.7.0/1.fc42/noarch/rust-fern+colored-devel-0.7.0-1.fc42.noarch.rpm f40 and f39 work. Any clue what's going on?
Yes, the "colored" feature is only available for fern v0.7, not in fern v0.6.
Yes, and rawhide uses v0.7, so why doesn't it work there?
The repository setup in COPR doesn't match the one in koji. I assume it works in stable branches in COPR because they have the old fern v0.6 package that still has the "colored" feature available in the "fedora" repo, whereas in rawhide that version is no longer available.