Bug 2554591 - depends on obsolete "structopt" crate
Summary: depends on obsolete "structopt" crate
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: gap-pkg-vole
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jerry James
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-17 14:28 UTC by Fabio Valentini
Modified: 2026-10-19 01:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabio Valentini 2026-10-17 14:28:59 UTC
The "structopt" crate is obsolete, its functionality has been integrated into "clap" versions 3 and newer. The last "actual" release was in 2021, v0.3.26 in 2022 only added a deprecation notice to the docs.

The "structopt" crate has also been officially marked as "unmaintained" a few months ago:
https://rustsec.org/advisories/RUSTSEC-2022-0104.html

We are tracking getting rid of structopt (and clap v2) since they in turn also pull in even more very old dependencies:
https://forge.fedoraproject.org/rust/backlog/issues/22

Porting from structopt to clap v4 "derive" feature is usually straightforward, there is also a migration guide:
https://github.com/clap-rs/clap/blob/v4.6.0/CHANGELOG.md


Reproducible: Always

Comment 1 Fedora Update System 2026-10-18 03:07:13 UTC
FEDORA-2026-cd0af7a538 (gap-pkg-vole-0.6.0-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-cd0af7a538

Comment 2 Fedora Update System 2026-10-19 01:53:12 UTC
FEDORA-2026-cd0af7a538 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-cd0af7a538`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-cd0af7a538

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.