Skip to content

Conversation

@William-Brown5515
Copy link
Contributor

@William-Brown5515 William-Brown5515 commented Sep 10, 2024

Optparse is deprecated - no longer developed. Mostly a like-for-like replacement, but we use vars on the argparse object to output the values in a similar way to optparse.

The old version option on the constructor is unavailable, and so it has been replaced by adding an argument with the 'version' action.

Resolves #275
Resolves GT-540

@William-Brown5515 William-Brown5515 requested a review from a team as a code owner September 10, 2024 12:39
@tofu-rocketry tofu-rocketry self-assigned this Sep 10, 2024
@tofu-rocketry tofu-rocketry added this to the 4.0.0 milestone Sep 10, 2024
Copy link
Member

@tofu-rocketry tofu-rocketry left a comment

Choose a reason for hiding this comment

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

Almost there. Just note that it's best to just add commits, rather than amend, while code is under review as it makes it easier to see what's changed between each review.

Optparse is deprecated - no longer developed. Mostly a like-for-like
replacement, but we use vars on the argparse object to output the
values in a similar way to optparse.

The old version option on the constructor is unavailable, and so it has
been replaced by adding an argument with the 'version' action.
Removal of 'optional' on deprecated arguments, using only 'ver' for
version numbers, removal of unnecessary parentheses.
@tofu-rocketry tofu-rocketry force-pushed the 275-optparse-deprecation branch from 74ec5c7 to 6e623eb Compare September 11, 2024 13:09
@tofu-rocketry tofu-rocketry merged commit b8772d3 into apel:dev Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

optparse deprecating

2 participants