aiida-core icon indicating copy to clipboard operation
aiida-core copied to clipboard

Implement optional version argument into VerdiCommand that specifies when a deprecated command is removed

Open agoscinski opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe

In PR https://github.com/aiidateam/aiida-core/pull/6426 we implemented into the deprecation command decorator the version argument that allows to specify with which version a command is removed from the code base. But since the deprecation command decorator became deprecated (see replacement PR https://github.com/aiidateam/aiida-core/pull/6433, see deprecation PR https://github.com/aiidateam/aiida-core/pull/6461) we did not need it. I kept the feature in a backup PR https://github.com/aiidateam/aiida-core/pull/6462 to implement it properly in aiida.cmdline.groups.VerdiCommand.

Describe the solution you'd like

Most likely we need a new input argument in aiida.cmdline.groups.VerdiCommand that specifies the version of removal, but I keep the design as open to discuss.

agoscinski avatar Jun 06 '24 15:06 agoscinski