Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

structopt: Migrate to clap #753

Conversation

tgonzalezorlandoarm
Copy link
Member

According to https://github.com/TeXitoi/structopt/issues/525,
structopt has entered maintenance mode, and clap should be used
for new development.

 * Migrate to clap so that nightly builds succeed as well.

Following the unused_qualifications lint when building with Rust
Nightly, remove the errors caused by the lint.

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
According to TeXitoi/structopt#525,
structopt has entered maintenance mode, and clap should be used
for new development.

Migrate to clap so that nightly builds succeed as well.

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
4.3.24 is the highest clap version that is compatible with the
current MSRV (1.66.0)

 * Fix clap_lex to 0.5.0 to be compatible with MSRV as well.
 * Fix anstyle to 1.0.2 to be compatible with MSRV as well.
 * Fix anstyle-query to 1.0.0 to be compatible with MSRV as well.
 * Fix anstyle-parse to 0.2.1 to be compatible with MSRV as well.

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
@tgonzalezorlandoarm
Copy link
Member Author

Please note this changes the exception list for dependency mismatch for parsec to include heck, which seems unavoidable

@tgonzalezorlandoarm
Copy link
Member Author

This is supposed to solve the issues in https://github.com/parallaxsecond/parsec/actions/runs/8319327971/job/22762462593

@tgonzalezorlandoarm
Copy link
Member Author

I triggered a nightly run in here: https://github.com/tgonzalezorlandoarm/parsec/actions/runs/8328515939

@tgonzalezorlandoarm
Copy link
Member Author

The failure in the CI mismatch check is in teh parsec-tool and is expected, as the same change is coming with this pr: parallaxsecond/parsec-tool#125

@tgonzalezorlandoarm
Copy link
Member Author

Please refer to TeXitoi/structopt#525 for more information

Copy link
Contributor

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@tgonzalezorlandoarm tgonzalezorlandoarm merged commit aa89ce9 into parallaxsecond:main Mar 18, 2024
15 of 16 checks passed
@tgonzalezorlandoarm tgonzalezorlandoarm deleted the tg/strucopt-clap-migration branch March 18, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants